memcache for keystone authtoken should be a single server

Bug #1634646 reported by Alex Schultz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Wishlist
Unassigned

Bug Description

Any service that wants to use memcache for the keystone authtoken caching should be configured with a single server for optimal performance when server might be unavailable. This is due to the way most python memcache libraries operate. The python-memcached hashes the key to a specific server but if that server is down it impacts every request from then on.
https://github.com/linsomniac/python-memcached/blob/b13d6fcb7164a0c25c1798fcd409bf775a9005b3/memcache.py#L435-L453

Based on previous experience it was determined that the best all around solution was to configure a single memcached server (preferably localhost) for the authtoken caching to prevent SLA issues when memcache (or physical) servers fail.

description: updated
description: updated
Revision history for this message
Alex Schultz (alex-schultz) wrote :

An alternative would be to put something like twemproxy (https://github.com/twitter/twemproxy) in place to work around the backend failure issues

Revision history for this message
Alex Schultz (alex-schultz) wrote :

For some additional context and testing, see https://bugs.launchpad.net/mos/+bug/1621541

Steven Hardy (shardy)
Changed in tripleo:
milestone: ocata-1 → ocata-2
Changed in tripleo:
milestone: ocata-2 → ocata-3
Changed in tripleo:
importance: Medium → Wishlist
status: Confirmed → Triaged
Changed in tripleo:
milestone: ocata-3 → pike-1
Changed in tripleo:
milestone: pike-1 → pike-2
Changed in tripleo:
milestone: pike-2 → pike-3
Changed in tripleo:
milestone: pike-3 → pike-rc1
Changed in tripleo:
milestone: pike-rc1 → queens-1
Changed in tripleo:
milestone: queens-1 → queens-2
Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
description: updated
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.