Skip to content
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

Add support/config for ioredis Parse "Cache Adapter" #1

Open
BobDickinson opened this issue Jan 28, 2017 · 0 comments
Open

Add support/config for ioredis Parse "Cache Adapter" #1

BobDickinson opened this issue Jan 28, 2017 · 0 comments

Comments

@BobDickinson
Copy link
Member

https://github.com/ParsePlatform/parse-server/wiki/Configuring-Cache-Adapters

In our implementation we need a Parse Cache Adapter that supports sentinal configuration (for Redis failover). This means we need to use the "ioredis" module with sentinel support/config (not the standard "redis" module). We also need to support dynamic reconfig when Redis service availability (Sentinel set) changes. Ideally we would do this by querying Consul to configure the ioredis connection, and use a SIGHUP handler to reconfigure, as we do in Synchro.

The alternate (ugly) way to do this is the just have the Parse API server connect to the Redis master, and then when ContainerPilot detects a master change, restart the Parse API service/container.

@BobDickinson BobDickinson changed the title Add support/config for ioredis Parse Cache Adapter Add support/config for ioredis Parse "Cache Adapter" Jan 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant