Hi Shashank, The product is designed to scale. Using the same database and memcached server is fine. You should not encounter corruption.
You don't want unique cache prefixes. If all instances are intended solely for load balancing, they should share the same database and cache data. We do this for RBCommons.com without issues. Having unique cache prefixes means storing double the state, taking double the memory, and performing double the work for no gain. Sticky sessions are fine, but not required. If you make use of SSH keys (for Subversion, Git, etc.), you'll need Power Pack to handle scaling those out. It includes a special SSH backend designed for this kind of setup. Christian On Tuesday, September 20, 2016, Shashank Yadav <[email protected]> wrote: > Hi, > > I am currently trying to setup multiple instances of reviewboard with the > same configuration on each instance ( for load balancing purposes ). Some > relevant points for the setup are : > > 1. All instances connect to same memcached server and MySQL backend > (and hence they share the same config) > 2. Unique django cache prefixes for each instance are used to prevent > collisions in memcache > 3. Load balancer has been configured to allow sticky sessions to > ensure all traffic for an active connection is served by the same instance > throughout the session. > > Is the above setup enough to avoid any concurrency issues/ possible data > corruption? > > Thanks > > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <javascript:_e(%7B%7D,'cvml','reviewboard%[email protected]');> > . > For more options, visit https://groups.google.com/d/optout. > -- -- Christian Hammond President/CEO of Beanbag <https://www.beanbaginc.com/> Makers of Review Board <https://www.reviewboard.org/> -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
