Hi

Lev Shock dein at hackerdom.ru
Wed Sep 21 11:38:13 EDT 2011


Database pool must be created once during the startup of your client. I
think it's better to create it somwhere after reading configs, etc and just
pass it to your handler afterwards.

On Wed, Sep 21, 2011 at 9:10 PM, men10 <menimmailim at yahoo.com> wrote:

> Thank you for reply
>
> So I guess I should execute querys in Execution
> Handler(OrderedMemoryAwareThreadPoolExecutor) and if create pool in
> executionhandler (is it a good idea?) I dont need any other handler right?
>
>
>
> Norman Maurer-2 wrote:
> >
> > You should add an ExecutionHandler in front of your handler otherwise
> > you will block the worker thread.
> >
> > Bye,
> > Norman
> >
> >
>
>
> --
> View this message in context:
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Netty-with-DB-tp6815567p6816444.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20110921/5d4d1f3f/attachment.html 


More information about the netty-users mailing list