Non-blocking IO :)
authorBrian Aker <brian@tangent.org>
Wed, 3 Oct 2007 17:03:48 +0000 (10:03 -0700)
committerBrian Aker <brian@tangent.org>
Wed, 3 Oct 2007 17:03:48 +0000 (10:03 -0700)
commit85a66fec1e07e874e5410ce56a2976d68fbe14fd
treed355b2f197b8bdbe888f16e55734109fdefd19e3
parent8c34786ea9d4b879bf5c5cf7ad811836f0d1f37f
Non-blocking IO :)

Quit has also been modified to do an actual quit in cases where we need to
flush out any remaining write buffers.

Test system was refactored to make it a bit friendlier...

[brian@zim src]$ ./memslap --concurrency=5 --execute-number=5000 --initial-load=1 --non-blocking --servers=localhost --test=set
  Threads connecting to servers 5
  Took 10.252 seconds to load data

[brian@zim src]$ ./memslap --concurrency=5 --execute-number=5000 --initial-load=1 --servers=localhost --test=set

  Threads connecting to servers 5
  Took 200.373 seconds to load data
20 files changed:
include/memcached.h
lib/common.h
lib/memcached.c
lib/memcached_auto.c
lib/memcached_behavior.c
lib/memcached_delete.c
lib/memcached_flush.c
lib/memcached_get.c
lib/memcached_hosts.c
lib/memcached_io.c
lib/memcached_io.h
lib/memcached_quit.c
lib/memcached_response.c
lib/memcached_stats.c
lib/memcached_storage.c
lib/memcached_verbosity.c
src/client_options.h
src/memslap.c
tests/output.res
tests/test.c