Ticket #10 (closed defect: fixed)
Optimize web server
| Reported by: | scottmc | Owned by: | scottmc |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | SpamZilla | Version: | |
| Keywords: | Cc: |
Description
The web server currently fetches data from the file system using blocking I/O, this stops the entire process for the length of the read or write. Typically, file system I/O is damn fast, but not fast enough. The speed of the webserver and the over all reliabile speed of the application could be increased by placing file system reads in a ReadWrite? wheel, using a Stream filter, to allow the largest read and write chunks possible.
This would allow the operating system to buffer the majority, or all in most cases, of the read, not blocking the webserver from accepting new I/O while this operation is being processed. It's relatively trivial to do, do it sooner than later