News for hackers. Stuff that matters.
Re:Groupcache: an alternative to memcached, written in Go by lmm on Monday July 29, 2013 @12:27PM (#6122084)
I understand google solves that problem by not enabling swap on their servers.
Re:Groupcache: an alternative to memcached, written in Go by gohrt on Monday July 29, 2013 @01:56PM (#6122717)
That's rather common. If swapping can harm your application, than don't swap. On a machine where slowdown is tolerable (temporarily, on a desktop), swap is fine. On a machine whose entire purpose is to serve as a fast cache in front of slow storage, swapoff and fall back to shedding or queuing requests at the frontend.
Re:Groupcache: an alternative to memcached, written in Go by mh- on Monday July 29, 2013 @03:02PM (#6123133)
Without any specific knowledge of Google's practices, I can say this is certainly true - this is standard nowadays.