DEV Community

Discussion on: Choosing the right frontend database for a single page application

Collapse
 
johannesjo profile image
Johannes Millan

Thank you very much! I setup the very basic stuff and it seems to do the job. Using it in a reactive way (auto stream data updates via an Observable) unfortunately seems to be slow for larger datasets (starting at 100 entries):
github.com/johannesjo/super-produc...

So if I were to use Dexie I probably still would have to go with an in memory store for speed (I probably would keep using the redux stuff already implemented). Or do you maybe know if there is a smarter way do this?

Atm. I am checking out gun which offers a lot of possibilities.

Collapse
 
michielnuyts profile image
Michiel Nuyts

Yes I'm using Overmind for managing my state. I'll have a look at the repo this evening.

Thread Thread
 
johannesjo profile image
Johannes Millan

That would be really nice! Let me know, if you have any questions! The code is not too pretty atm. just quickly hacked in and the redux stuff isn't probably set up in the most helpful manner as well... The basic idea is to move from the current model structure of loading everything related to a project into the store, to having the possibility to access all the tasks all the time to allow for mixed lists.

Keep in mind that I haven't yet decided which road to go, but nevertheless it would be super cool to be able to discuss these things with someone! I've to admit that even though it might not be the best fit I'm currently intrigued to learn more about gunjs and graph databases. Totally new area to me :)

Thread Thread
 
michielnuyts profile image
Michiel Nuyts

Are you on twitter or something to chat about it? I'll show you how I'm using Dexie and my in-memory store.

Thread Thread
 
johannesjo profile image
Johannes Millan

I am: @hugoderhungrige

Though there is also a chat function here. Maybe we can use that?

Thread Thread
 
michielnuyts profile image
Michiel Nuyts

Sure we just need to follow each other in order to be able to chat :)