Closed imhazige closed 4 years ago
Thank you @imhazige!
Yes, it doesn't use localStorage
or something like this. If you use local sorting it will be quite fast as simpleddp
updates (and re-sort) only changes that arrives from server, not full local copy of the collection.
You can use minimongo
(but you need to spend some time binding it with simpledpp
) if you like it but I personally prefer js-like functional approach :)
In case of performance simpleddp
can easily handle few million documents (during the test I generated 10k documents each 10 seconds and put them inside the local collection) but I did not estimate the time in ms.
@Gregivy
I got it, it seems to be good enough.
Amazing work, thanks.
@Gregivy This is the best DDP client I have see so far!
I just noticed that it support client collection. I think you should emphasize this feature in the git topic. :)
I have had a glance of the source code, I think it just store data in memory, right? so What's the performance if the data became large?
why not use minimongo like meteor does?
Regards