Hi,
just my thoughts....
> > >> Some caveats:
> > >> 1) The code tries hard to be thread-safe, but I'm not experienced
> > >> enough with multithreaded programming to prove that it is. Just
> > >> something to be aware of and/or test for.
I think this is great because grizzly should always try
to take advantage of multicore.
DynamicPool.start() pool uses
Runtime.getRuntime().availableProcessors()
to init Pool.
Maybe one should use code like this in furture more often in grizzly?
> > > Ken/Alexey/John, any chance you can take a look? I would think
> > > adding the class under http-util (we need to rename the module one
> > > day) could be a great addition.
For me the main feature of the DynamicPool is the
intelligently automatic judging when to increase and decrease the pool.
Would anybody know of other usages beside "scripting runtimes" for using the
dynamic pool?
I am asking because then it might make sense to put it in framework module?
Many Greetings
John
> > >
> > > Maybe we should discuss it during our next phone meeting?
> > >
> > > A+
> > >
> > > -- Jeanfrancois
> > >
> > >
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> > >> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> > > For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> > For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>
> --
> GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
> Jetzt dabei sein:
> http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx