Skip to content
Discussion options

You must be logged in to vote

QueryCache should be good as it's a Map under the hood.

QueryPersister might start being a bottleneck after some threshold (depending on single query size and number of queries). This is due to a fact that after any change whole cache state needs to be serialized and stored as a single entry. So the more cache grows, the more blocking time you will see.
Same thing goes for initial loading as we need to read and deserialize whole cache at once.

experimental_createQueryPersister was designed to overcome that limitation, make things more performant and scale with your app, no matter how many queries you will have.
Persistence layer will be checked whenever query mounts for the first time an…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@DamianOsipiuk
Comment options

Answer selected by sgcullen
@sgcullen
Comment options

@DamianOsipiuk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants