[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xmlblaster-devel] JDK1.4 and noblocking socket IO
Salute,
i have to make a design decision for the callback framework.
It is
threaded with blocking socket (JDK 1.2 - 1.4)
versus
event driven with none blocking sockets (since JDK 1.4).
I personally prefer the event driven way, it performs better
and does not consume thread resources.
On multi processor machine (say over 4 CPU) the threaded approach
gains a bit again.
The best solution is probably a mix.
Now my question:
Going the none blocking way binds us to JDK 1.4!
Is this a problem for anybody?
thanks
Marcel
--
Marcel Ruff
mailto:ruff at swand.lake.de
http://www.lake.de/home/lake/swand/
http://www.xmlBlaster.org