-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
[Question] is Parse Server using any memcache, global variable? #1833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm not sure what you are asking here. Parse does not use memcache, but does have some global variables. If you are accessing your Parse Config from inside your Cloud Code, that is safe. If you have some other question, please clarify. |
Hi, Thank for your information, Clarification for my questions:
Hopefully i make this clear, sorry for my poor english. Thank you. |
Parse Server stays running between queries. If you have a global variable in your cloud code, it will be accessed by all queries. |
That means Parse Server doesn't keep anything in between queries except we put it on global variables? |
There is some caching built in, with a default TTL of 5 seconds. You can change that or disable caching entirely if you want. |
@drew-gross how can it be changed? Thanks. |
@sambarboza you can try setting |
as titled. Just curious as if I store some configuration on server, is that means everytime when i want to call cloudcode and I want to access the config, Parse Server will need to re-create the variable or fetch it from database in order to process the logic? This is important since we are planning to do some logic calculation online soon.
The text was updated successfully, but these errors were encountered: