Hi Manoj, The default memcached library for Python will try to choose a server based on the hash of a key. If you add a server, and a key corresponds to the new one, it will come back as having no value initially, which will cause data to be recomputed and then stored again. There really isn’t a huge penalty for this. Even if you clear out the whole memcached server, it won’t generally impact things too bad on most servers.
When memcached is full, it will get rid of items. It has its own logic for this. You don’t need to worry about micromanaging it. In general, it’s better to add more memory than to add more servers (unless you’re going for a high-availability design). Memcached can make smarter decisions with more memory. Christian On Fri, Jun 15, 2018 at 16:29 manoj m <[email protected]> wrote: > For others in similar situation: > > I used this <https://github.com/quipo/memcache-mover> tool to copy over > all the keys to new bigger memcache instance and pointed Reviewboard to > that. > > > On Thursday, 14 June 2018 07:29:24 UTC-7, manoj m wrote: >> >> Hello, >> >> Context: Our RB is using one memcache and eviction rate seems to be high. >> I was thinking of adding one more. Is this recommended or I should go with >> one bigger memcache? >> >> Goal: Increase memcache size with minimum disruption >> >> Question: >> >> 1. What happens If the key is present in only one memcached instance? >> 2. What happens If one of the memcached is full? >> 3. Is there a way to replicate the data to new bigger memcached and >> retire the old smaller one? >> >> I couldn't find anything related to this in docs, sorry If I missed it. >> >> >> 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 > "Review Board Community" 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. > -- -- Christian Hammond President/CEO of Beanbag Makers of Review Board -- 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 "Review Board Community" 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.
