← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1489061] Re: fernet token validation is slow

 

[Expired for OpenStack Identity (keystone) because there has been no
activity for 60 days.]

** Changed in: keystone
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1489061

Title:
  fernet token validation is slow

Status in OpenStack Identity (keystone):
  Expired

Bug description:
  keystone token validation operations are much slower than uuid
  operations.  The performance is up to 4x slower which makes other
  openstack API calls slower too.

  Numbers from Dolph:

  Token validation performance

  Response time	Requests per second
  UUID	18.8 ms (baseline)	256.7 (baseline)
  Fernet	93.8 ms (400% slower)	48.3 (81% slower)

  
  My numbers running on a basic setup running keystone in a VM without a load balancer:

  Tokens per second (serial): 
  UUID:  14.97
  Fernet: 3.66

  Tokens per second (concurrent 20 threads):
  UUID:   46.18
  Fernet: 12.92

  Our numbers are similarly bad in production and its impacting
  OpenStack performance when we're under load.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1489061/+subscriptions


References