Home > Software > More mongrel-esi improvements

More mongrel-esi improvements

After a little time to relax this weekend, I decided it was time to improve the parser, by being smarter about how it buffers output. This means less code executing in ruby. Here’s the same benchmarks I ran before, this time against the new parser and the current stable 0.4 release. I think the reason the standard deviation increased is due to more time being spent by the parser in C. I plan to work on this by having it call rb_thread_schedule, at specific times to give other ruby threads a chance to run – this should help smooth out the standard deviation.

Raw request times

Average request times

Standard Deviation

Software , ,

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

Comments links could be nofollow free.