Home > Software > evdispatch 0.2.4 Fast and stablizing

evdispatch 0.2.4 Fast and stablizing

April 16th, 2008

I’ve been busy working on evdispatch the past few days. There have a been a few issues that have come up, mostly these issues have shown themselves while testing on Mac. The major difference between the Mac and Linux implementations is in how the timer API’s differ. On linux we have clock_gettime, which is great because it sets a struct timespec all ready for pthread_cond_timedwait. On mac we have to convert the stuct timeval after calling gettimeofday to a timespec. Otherwise, evdispatch is looking to be very stable. I’ve successfully been able to run 3 million requests, running 10,000 iterations of 300 concurrent requests. I ran these tests against the ebb server with responses of 1000 bytes. This test took about 30 minutes to run on my linux duel P4 system. The test included a lot of ObjectSpace checks to ensure I’m not leaking objects. I observed a fluxuation of about 2,000 to 12,000 objects and a process memory size of about 14megs to 19megs. I hope to have some more formal testing done next.

Software , ,

  1. No comments yet.
  1. No trackbacks yet.
CommentLuv Enabled

Comments links could be nofollow free.