Results 1 to 4 of 4

Thread: Server-side throughput performance measures?

  1. #1
    SteveWampler is offline Registered User
    Join Date
    Sep 2003
    Posts
    48

    Server-side throughput performance measures?

    The demo/Ice/throughput example is nice when checking thoughput performance, but
    I'm wondering about it's accuracy with measuring oneway messaging, since all the
    timings are client-side (and I'm getting wonderful performance numbers {especially
    with NPTL} which always makes me think something has to be wrong...).

    Has anyone written a more sophisticated throughput measure, which includes
    server-side measures?

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    Hmmm... you could add a througput->ping() at the end of the loop that sends the oneways in Client.cpp. This way, the last request is a twoway, so when the client measures the time, the server has completed processing all oneways. Therefore the time measured by the client reflects the time needed by the server to process the requests.

  3. #3
    tvedt is offline Registered User
    Join Date
    Aug 2004
    Posts
    5
    I need some clarification on this. Does sending a ping at the end of loop of oneway calls guarantee that all the oneways were processed by the server? Does this depend on whether one is using UDP or TCP?
    Janet Tvedt

  4. #4
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    Upon the return of any twoway call (not just ping), it is guaranteed that all oneway calls that were sent using the same connection have been received by the server. You do not have any guarantee that the server has already processed the oneways, only that the server received them for processing.

    Note that with the current version of Ice, there is no way to compare connections, i.e., you cannot compare explicitly that the twoway uses the same connection as the oneways sent before. (A future version will allow you to compare connections.) However, without going into detail, even with the current version of Ice, if you do not set any special proxy properties, like different timeouts for the oneways and twoways, Ice will use the same connection.

    This applies only to oneways and twoways using TCP. There are no guarantees whatsoever for datagrams using UDP.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 06-06-2007, 05:57 PM
  2. Replies: 0
    Last Post: 05-16-2007, 12:21 PM
  3. Throughput Performance in Java
    By jae in forum Help Center
    Replies: 2
    Last Post: 12-05-2006, 01:47 PM
  4. Performance measures for IceStorm
    By SteveWampler in forum Help Center
    Replies: 1
    Last Post: 09-29-2004, 10:42 PM
  5. Ice vs. JNI throughput performance?
    By brian in forum Help Center
    Replies: 4
    Last Post: 06-11-2004, 01:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •