1 Reply Latest reply on Aug 5, 2010 8:14 PM by 843790

    What's the most "expensive" for a NIO server ?


      What is the most expensive for a server ?

      - keeping many connections opened from different clients
      - receiving/sending many messages from/to clients (read/write IO operations)
      - many client connections/disconnections

      (I'm not trying to figure out if I need to keep a connection opened, or if I should connect/disconnect the client. I just want to know what will be the most demanding for the server).

      I'm using Java NIO (Selector, SocketChannels, ...)