[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xmlblaster-devel] JDK1.4 and noblocking socket IO
i have to make a design decision for the callback framework.
threaded with blocking socket (JDK 1.2 - 1.4)
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?
mailto:ruff at swand.lake.de