Does State.Vars store values in the backend or frontend ? #3002
yellowbean
announced in
Q&A
Replies: 2 comments 4 replies
-
And will it be placed inside redis? The default limit on value in Redis is 500MB btw.. |
Beta Was this translation helpful? Give feedback.
0 replies
-
See this blog post for how Reflex works under the hood. The state vars will be stored on the backend and will take up memory. If you're using Redis then it will be stored there. What's your use case where you need such a large state var? Is this var independent for each user of your app, or would it be possible to use a database to store this information? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Great framework ! Thank you guys !
I would like to store a field of State with large values ( probably a dict of map ( dict[str,str] ) with 100 MB.
Is the var is being store in backend ( thus being hold in memory ?) or the var is being stored at frontend ,like the browser ?
Beta Was this translation helpful? Give feedback.
All reactions