users@grizzly.java.net

Re: gateway nio migration guide to grizzly part2

From: John ROM <snake-john_at_gmx.de>
Date: Mon, 16 Jun 2008 15:06:22 +0200

Hi,
If I understand you right you are preparing an tutorial in the following way:

1) You first want to show code which does NIO without Grizzly

2) You then want to migrate the code to Grizzly and show where Grizzly helps.


>>> another question.. I did'n use ThreadPool in my application.. is it a bad thing ?

I guess it could be a bad thing because you parsing and processing your query on the main selector thread.
Depends on how long this parsing and processing takes....

Of course a ThreadPool like used in Grizzly out of the box would help improve Concurrency

many greetings

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx