]> git.mjollnir.org Git - moodle.git/commit
mod/chat - Normal method now support HTTP Keep-Alive
authormartinlanghoff <martinlanghoff>
Mon, 17 Apr 2006 21:04:19 +0000 (21:04 +0000)
committermartinlanghoff <martinlanghoff>
Mon, 17 Apr 2006 21:04:19 +0000 (21:04 +0000)
commitdfd1d9e27291753a603986671c5ebaa5149e0930
tree581810e19a169e596a8204ece68c076c405e4879
parent4d5525c650598b369d3beb7a44d41b7052100c1c
mod/chat - Normal method now support HTTP Keep-Alive

By using output buffering, we now support HTTP Keep-Alive, which means
that each client gets tightly bound to a single apache child - this means
that we get

 + lower resource usage on the webserver
 + _much_ lower resource usage on webserver and dbserver if pconnects are used
 + a good case for further caching (memcache/mmcache)

Using ab via localhost or fast LAN using keepalives is actually slower from the
client perspective -- still lighter on the server. Via slower links (DSL/modem)
the responses are faster.
mod/chat/gui_header_js/jsupdate.php