Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Conventional & Interruptable IO [ARCHIVE]
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Aug 5, 2010 3:14 PM by
What's the most "expensive" for a NIO server ?
Aug 5, 2010 6:27 AM
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, ...)
This content has been marked as final.
Show 1 reply
Re: What's the most "expensive" for a NIO server ?
Aug 5, 2010 3:14 PM
in response to
If your application is written well, none of these should be expensive.
However, if your application is not written well, any of these could be expensive.
I suggest you write your application and profile it/load test it to see where your application spends most of its time.