← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1489061] [NEW] fernet token validation is slow

 

Public bug reported:

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.

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: fernet performance

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

Title:
  fernet token validation is slow

Status in Keystone:
  New

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


Follow ups