Memcached UDP

| | Comments (0)
This patch fixes memcached support of udp protocol. Now UDP packets with wrong header can break  memcached server down. Also I've made some fixes in cleaning UDP sessions after closing.
Results of testing (UDP vs TCP):

UDP:
Results of memcached stress test:
Total number of connections: 10000
Number of seconds for test: 2.23
Number of successfull connections: 10000
Connections per second: 4494.25
TCP:
Results of memcached stress test:
Total number of connections: 10000
Number of seconds for test: 4.38
Number of successfull connections: 10000
Connections per second: 2280.87

patch-memcached-udp

Leave a comment

Static pages

About this Entry

This page contains a single entry by Vsevolod Stakhov published on December 13, 2007 5:37 PM.

XCLIENT in Exim was the previous entry in this blog.

Migration from jabberd2 to openfire is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01 Powered by FreeBSD