title: Efficiency of while(true) ServerSocket Listen
body: <p>I am wondering if a typical <code>while(true)</code> ServerSocket listen loop takes an entire core to wait and accept a client connection (Even when implementing runnable and using <code>Thread .start()</code>)</p>
  
  <p>I am implementing a type of distributed computing cluster and each computer needs every core it has for computation. A Master node needs to communicate with these computers (invoking static methods that modify the algorithm's functioning).</p>
  
  <p>The reason I need to use sockets is due to the cross platform / cross language capabilities. In some cases, PHP will be invoking these java static methods.</p>
  
  <p>I used a java profiler (YourKit) and I can see my running ServerSocket listen thread and it never sleeps and it's always running. Is there a better approach to do what I want? Or, will the performance hit be negligible?</p>
  
  <p>Please, feel free to offer any suggestion if you can think of a better way (I've tried RMI, but it isn't supported cross-language.</p>
  
  <p>Thanks everyone</p>