Hi,
This is an important topic and has been discussed multiple times before in this forum. The general answer is that Joplin can handle a large amount of notes. Large number of tags may cause delays in loading. Please have a look at the below discussions.
As far as data is considered, it is all markdown so you are never locked in.