You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Fabrizio Loia <fa...@yahoo.it> on 2006/04/28 15:23:56 UTC

need some advice for server design

Hi to all,

First of all my compliments, this is a very nice framework...

I began to look at mina in last few days and is very promising.
Right now I am making my first steps with examples and tinkering with
them I hope to understand how framework breathe...

I need to build high performance http/https proxy server... The proxy is
something like 'clickstream' analysis engine. During the traffic I need
to log all request/response pairs with their respective headers, params,
cookies.

I need some advice from people which have more experience than me with
http and async socket io...

1) Does Mina shields me from nio, or I have to study this before
continuing ?
2) What would be the correct way to implement this ?
3) Is there some work already done which can be helpful ?
4) Do I need to implement ProtocolHandler or IO Handler is more
appropriate ?
5) What thread model would be appropriate for around 1000 concurrent
sessions on high-speed intranet ?
6) Is there some kind of async logging framework around ?

Thanks,
Fabrizio



Re: need some advice for server design

Posted by peter royal <pr...@apache.org>.
On Apr 28, 2006, at 9:23 AM, Fabrizio Loia wrote:
> I need to build high performance http/https proxy server... The  
> proxy is
> something like 'clickstream' analysis engine. During the traffic I  
> need
> to log all request/response pairs with their respective headers,  
> params,
> cookies.

Look at http://asyncweb.safehaus.org/ for an HTTP server built on MINA.

> 1) Does Mina shields me from nio, or I have to study this before
> continuing ?

You should be familiar with the concepts of NIO, but you will be  
shielded from much of the nitty gritty.

-pete

-- 
proyal@apache.org - http://fotap.org/~osi