vasern / vasern

Vasern is a fast, lightweight and open source data storage for React Native

Home Page:https://vasern.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it stable enough for production

ScreamZ opened this issue · comments

Hello,

I will need to use whether Realm or Vasern for a production app.

Currently Realm isn't supporting Hermes engine, seems like Vasern do.

But I see it's pretty new, is is stable for production ?

Regards

Hi @ScreamZ, thanks for checking out Vasern. There are apps that use Vasern in production, for example (Litely, internal apps for @kailashvele clients).

Vasern is definitely great for small apps, it's easy to get started. Though, the performance will decrease when dealing with the huge dataset (+100k records).

There is also a SQL database option for React Native that you might want to check out WatermelonDB

Ohhh thanks @hieunc229 , thats look great.

Briefly, I'm making a Command App that will received Bluetooth data from an IOT device.

On connect to that IOT, the device will send me history of from measure that it took over time.

I started with async storage, but there is a limit of 6Mb on android by default, so I looked some sor LRU/FIFO things to handle cache.

I landed on realm, which looks great and performant and would allows me to run queries and handle saving for me, then I found Vasern.

If you're telling me it work, i'll probably try Vasern.
But that watermelon thing looks also so great… Damn too much choices

Yes, I'm glad that there are many options for database for React Native. In case relational database is ok for you, I'd recommend using WatermelonDB. It uses SQLite, which has been around for 2 decades :)