Hi All,
I’m a bit confused on Redis and its configuration.
General Questions
Based on documentation, there is:
- a field for ‘cacheAdapter’ in the parse server configuration
- a field ‘redisURL’ under the liveQuery configuration
- a ‘redisURL’ within the createLiveQueryServer configuration.
Do you use the same Redis URL for all three of these, or is the livequery redis supposed to be different the the cache Adapter?
My Setup Question
- I’m using AWS
- I’m using elasticCache redis
If the two redis urls are different, do you need 2 instances of elastic cache redis or use the same instance?
If it’s the same instance, i know the documentation specifies a different DB but how do I set that within the configuration to work with AWS Elastic Cache.
Finally
I have the redis cache adapter setup and working, but its just very unclear how to add in the redis for live query and verify that it is caching correctly.