[openstack-dev] [MagnetoDB] PKI tokens size performance impact

Aleksandr Chudnovets achudnovets at mirantis.com
Mon Sep 29 10:21:39 UTC 2014

Hello team,

As it was discussed on IRC meeting yesterday I’m glad to share the results
of my testing of performance impact of PKI token validation.

My research is connected with bp [1] about adding lightweight session to
mdb for improvement overall performance.

For my tests I used PKI tokens with and without service catalog.

(Actually, PKI tokens is only option for MagnetoDB, because MagnetoDB

was designed to handle huge amount of requests per second.)

Here is my results:

- for lightweight requests, like list_tables, we can get 5% - 8%
performance boost using tokens without service catalog;

- for big and slow requests, like batch_write, performance boost is smaller.

- disabling keystone support in api-paste gives us 20% performance boost
for PKI tokens :)

So it can be good practice for MagnetoDB clients to use PKI tokens without

service catalog.

Another conclusion I can made, the PKI token validation works fast enough
and adding additional session mechanism won’t give big performance boost.

Please share your views.

[1] https://blueprints.launchpad.net/magnetodb/+spec/light-weight-session


Aleksandr Chudnovets
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140929/d93722dc/attachment.html>

More information about the OpenStack-dev mailing list