james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roy.ja...@xemaps.com
Subject Re: suggestions on how to limit concurrent connections based on user?
Date Sun, 01 Apr 2012 04:54:40 GMT
Hi Eric,

Thanks for the reply, I'll definitely look into it.  Agreed about the memory cache, looking
forward to beta 4 because then I can take advantage of Spring's method based cacheing instead
of trying to custom role my own.

Roy

On Sat, Mar 31, 2012 at 5:08 AM, Eric Charles <eric@apache.org> wrote:
> Hi,
>
> The connectionLimit and connectionLimitPerIP parameters are used in the
> generic protocols-netty library which doesn't have access to any user
> notion.
>
> If you want to deal with users, you will have to implement your own
> AbstractConfigurableAsyncServer and inject there the userrepository.
>
> Memory will be much faster but will take memory resources..., database will
> be slower but will consume less memory. The best of both world would be a
> memory cache.
>
> Hope this helps, Eric


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message