Skip to content

How does load work?  #247

@wtoalabi

Description

@wtoalabi

I just met forerunnerdb and boy was I blown away!
Thanks for this project!
It's really a time saver!
OK, I have a very simple and perhaps dumb question here, please bear with me.

I am persisting my data into a JSON file. Cool.
And using a state manager (vuex on Vue) I felt maybe it would be wise to load my data incrementaly and only access the chunk that I need per time.
I even went ahead to use pagination.
All these went cool until I realise something obvious... When I called collection.load() all the data are actually loaded into memory... And that's why data manipulation runs so fast.
Which means, there really is no need to paginate the loads. I can just start consuming it directly.

Am I correct in this assumption?
If I am correct, would this not be too much for a large sized data store?
Like 50mb?
If all of that is loaded all at once, would that not be a bad thing?

Or could it be that I am just being naive?
That this is really the only obvious way of achieving this?

Thanks for your feedback...I earnestly await it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions