ramezrafla / redis-oplog

Using Redis for pub / subs in Meteor for infinite scalability
MIT License
29 stars 5 forks source link

Any hints about how to integrate Redis oplog with Elastic Beanstalk? #26

Open derwaldgeist opened 1 year ago

derwaldgeist commented 1 year ago

Hey, I have successfully implemented redis-oplog using mup and mup-redis. Works just fine, so thanks for the great work.

I now also want to scale things horizontally, so I am looking into implementing Elastic Beanstalk using mup-aws-beanstalk. However, it seems as if this combination is not supported by mup.

I understand that running multiple Redis servers across the cluster won't work, so I attempted to set-up a single EC2 instance just for Redis, in addition to the beanstalk configuration. However, mup-redis tells me that only one server is supported. It seems as if it also looked at the beanstalk config and saw multiple instances there. This is although I configured the Redis part separatly, with onle one server.

So, if mup won't support it, I would have to find a tutorial on how to set things up manually, which I haven't done before. So far, I always relied on mup and was pretty happy with it. Any hints about how to setup such a scenario (redis-oplog plus beanstalk) would be appreciated.

pmogollons commented 1 year ago

A littlebit late, but you can use https://aws.amazon.com/elasticache/redis/ for it if you dont want to setup your own redis server.