Archived

This forum has been archived. Please start a new discussion on GitHub.

Optimization for WIN32

can ice support completion ports

Comments

  • Ice does not use completion ports internally. Instead, Ice uses select() on all platforms. This makes for more portable code and, as far as I know, is just as efficient as using completion ports.

    There is nothing in Ice that would stop you from using completion ports for application-specific purposes in your own code.

    Cheers,

    Michi.
  • marc
    marc Florida
    Please have a look at this thread for a discussion about this subject.
  • efficient

    There are statistic in <<network programming for microsoft windows,2>>

    I/O completion port:

    try connect/connect success memory used(kb) cc cpu threads

    7,000/7,000 36160 40%~50% 2
    12,000/12,000 59256 40%~50% 2
    50,000/49,997 242272 55%~65% 2


    server p4 1.7gHz Xeon ,memory 768MB os Xp,
    test server application like echoserver,

    This statistic is very surprised to meBSo,if ICE should make such statistic,
    It is will reassure me to use ICE,or ice could easy switch network to completion portB

    ICE is elegancy middleware without question,
    ICE performance data is not sufficient.

    thanks