Closed nathantypanski closed 10 years ago
For the 404 errors, check to see if you have index.htm in your www directory.
Ah, didn't have it. That makes sense.
By the way, you got to this quickly - before I could include count the response tasks properly based on cli arg. The bug is pretty minor, but it's probably worth fixing so the debug messages make sense.
I could send a new pull request if you prefer or whatever, but it's a pretty simple fix.
I'll fix that as soon as I get home and just commit it then. Haven't had a chance to run it yet, but it looks good.
I resolved it in #17, since the fixups were a tad less trivial than I thought.
This implements streaming and multiple response tasks. Caching is not yet implemented. Solution for #4, #6.
The number of tasks is customizable at the CLI, e.g.:
The debug messages aren't perfect when the server is idle, but it doesn't consume CPU resources during idle time. The following is shown at debug, even during idle:
Here is the benchmark, mentioned in #6 as reason for reverting the old caching/streaming code:
There are some 404s, which I guess we'll need to look into, but it is otherwise very fast.
Debug messages during benchmark show the threaded execution:
Hopefully this makes up for my deadlocking cache code from earlier ;)