Memcached TLS performance

140 views
Skip to first unread message

avinash pandian

unread,
Dec 17, 2020, 10:14:54 AM12/17/20
to memcached
Dear Team,

I would like to know how to check the performance of Memcached without TLS and also after enabling TLS.
Requesting you support in achieving the same so that it would be really help for me to proceed further.

Awaiting for your reply. Thanks in advance

Regards,
Avinash Chellapandian

avinash pandian

unread,
Dec 17, 2020, 11:06:02 AM12/17/20
to memcached
t would be good if I get some clear steps to run the performance analysis of Memcached with TLS and also without TLS.

Tharanga Gamaethige

unread,
Dec 18, 2020, 1:53:52 PM12/18/20
to memcached
A good starting point is mccrusher : https://github.com/memcached/mc-crusher. "make" vs "make tls" will give you the corresponding client (mc-crusher vs mc-crusher-tls). Running mc-crusher and related tools to benchmark latency and throughput is explained in the README file.
Note that you can run memcached with and without TLS at the same time. e.g "./memcached -l notls:*:11211,*:22122". So you don't have to stop/start memcached for different tests. Also note that you need to run like this when capturing TLS numbers as tools provided with mc-crusher such as latency-sampler need a non-TLS socket to connect. 

Keep in in mind that this is very basic test suit.

Tharanga Gamaethige

unread,
Dec 18, 2020, 1:55:48 PM12/18/20
to memcached
Correction ""./memcached -l notls:*:11211,*:22122 -Z -o ssl...". Memcached will start with TLS on port 22122 and no TLS at port 11211.
Reply all
Reply to author
Forward
0 new messages