Re: Replacing IPC NIO with Simple Sockets

2010-08-25 Thread Jay Booth
I'd recommend some sort of ExecutorService rather than new threads for each client connection. You'd get the advantages of thread re-use and bounding the threadpool in run-away situations. On Wed, Aug 25, 2010 at 5:45 AM, Ahmad Shahzad wrote: > Hi All, >         I want to replace the code in Ser

Replacing IPC NIO with Simple Sockets

2010-08-25 Thread Ahmad Shahzad
Hi All, I want to replace the code in Server.java class of hadoop/ipc with my own socket factory code. The point is that right now what i see in server.java is that it uses NIO package and serversocketchannels to do work. I wanted to ask that is it possible that i can convert this code int