Comment #6 on issue 62 by overflow5: Patch: connection queue simplification
http://code.google.com/p/memcached/issues/detail?id=62
I agree with removing the connection queue and the locking.
I was a little concerned about sending 20 bytes through a pipe that can
lead to odd
things like reading half of the struct from the pipe (if you read without
locking).
Also, with 20 bytes per connection, only 204 can be sent over the pipe
without
locking. With 8 bytes (64 bit pointer), 512 new connections can be on the
pipe
waiting to be created.
If all the data can fit in 8 bytes, it's even better than sending a pointer
as I
suggested.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings