nio multi thread client performance

Discussion in 'Java' started by A.R., Oct 18, 2004.

  1. A.R.

    A.R. Guest

    I've a java program to manage servers (in fact gauges) by tcp/ip.
    There is a thread per connection. I used nio and non-blocking mode
    There is requirements that requests (about 50 bytes) should be send to
    server i.e. every 20ms - 1s.
    I tested performance with one connection and found response time
    sometimes fluctuate from from 10ms to 500ms.

    Any help welcome (i.e. tcp/ip send and receive buffer size or other
    parameters)

    I found java realtime source packages signed by ibm
    - can it be useful for me (seems it replaces gc and scheduler)
    - what about license in commercial project (there is no licence)
     
    A.R., Oct 18, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. iksrazal

    NIO with timeouts != NIO?

    iksrazal, Jun 17, 2004, in forum: Java
    Replies:
    1
    Views:
    7,175
    iksrazal
    Jun 18, 2004
  2. iksrazal

    Bad NIO socket performance

    iksrazal, Jun 25, 2004, in forum: Java
    Replies:
    0
    Views:
    622
    iksrazal
    Jun 25, 2004
  3. JLM
    Replies:
    2
    Views:
    1,678
  4. -
    Replies:
    1
    Views:
    458
    Esmond Pitt
    Jul 5, 2005
  5. brieuc
    Replies:
    5
    Views:
    2,671
    Esmond Pitt
    Mar 20, 2007
  6. John  Hartnup
    Replies:
    10
    Views:
    792
    Esmond Pitt
    Apr 25, 2007
  7. liu yang
    Replies:
    4
    Views:
    2,129
    Antoninus Twink
    Jul 28, 2008
  8. Giovanni Azua

    NIO multiplexing + thread pooling

    Giovanni Azua, Sep 24, 2011, in forum: Java
    Replies:
    16
    Views:
    2,288
    Robert Klemme
    Sep 30, 2011
Loading...