[ http://issues.apache.org/jira/browse/DIRMINA-234?page=all ]

Oleg Kalnichevski updated DIRMINA-234:
--------------------------------------

    Attachment: mina-httpcore-httpserver.tar.gz

I am attaching the second revision of the HTTP server based on MINA and 
HttpComponents Core. 

The most notable enchancement is that the server now utilizes MINA native 
buffers for its I/O operations. HTTP protocol handler is no longer based on the 
StreamIoHandler class.

Another optimization I can think of is an option to release worker threads more 
aggressively (for instance if no new incoming request is detected within a 
short period of time) while keeping the session alive. The worker thread can be 
restarted as soon as there is new I/O activity on the channel. The worker 
thread does not have to stay blocked waiting for I/O until the session times 
out.

Please let me know what you think.

Oleg

> Simple HTTP server based on Jakarta HttpComponents Core and MINA
> ----------------------------------------------------------------
>
>                 Key: DIRMINA-234
>                 URL: http://issues.apache.org/jira/browse/DIRMINA-234
>             Project: Directory MINA
>          Issue Type: New Feature
>    Affects Versions: 0.9.5
>            Reporter: Oleg Kalnichevski
>         Attachments: mina-httpcore-httpserver.tar.gz, 
> mina-httpcore-httpserver.tar.gz
>
>
> I am submitting my first cut at a HTTP server based on Jakarta HttpComponents 
> Core and MINA for your review and feedback. This is a very simple but 
> nonetheless a full-featured and HTTP/1.1 compliant HTTP file server that 
> supports connection persistence, chunk coding, correctly handles older 
> (HTTP/1.0) clients among many things. I believe this sample code makes 
> evident that it takes fairly little code and effort to put the HttpCore 
> protocol stack on top of MINA I/O model. 
> This version is still far from being perfect and am working on a more 
> advanced version that integrates better with MINA's asynchronous I/O layer.
> Feedback, suggestions, critique will be hugely appreciated
> Oleg

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to