Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Aug 2014
    Posts
    71

    how to make a Load test to lightstreamer?

    hello,

    i want to make a load test application to simulate many concurrent sessions connect to LS (say 2000 sessions).
    i made a simple application(1) that connect to the lightstreamer and subscribes to all items in the adapters. then i make an application(2) that open the application(1) no. of times that simulate the no. of sessions (say it opens it 2000 times).
    from the lightstreamer monitor i noticed that the sessions opened but after some time it decremented. may because all the sessions loaded from the same network that made a load to the network so the connection to LS down.

    Is there another way to do a Load test simulation to LS?

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi engcoder,

    You need to understand why the sessions drop. The Lightstreamer server log should report the cause code for session closed or maybe your client application provides more details.
    If, actually, the client does not support thousands of sessions, or due to network load or maybe for cpu crisis, you should consider that our .NET client library was not been designed to scale to thousands of sessions on the same client and has no optimizations focused to achieve such a number of concurrent clients on the same machine.
    You could try to split the total number of sessions on multiple machines, but I'm not sure you'll get the desired results.

    Indeed, for the specific purpose of the load/stress tests we developed internally a Load Test Toolkit (LLTT), that is available to developers on demand. It addresses the problem of client side scalability with a client based on a Lightstreamer JAVA library provided with specific optimizations.

    Furthermore, the LLTT is made up of an Adapter Simulator and a Client Simulator, this means it is quite useful in the preliminary phases of a project, when no Adapters and Clients have been developed yet, but it is necessary to do a capacity planning of the system based on different load scenarios.

    HTH,
    Giuseppe

  3. #3
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi engcoder,

    Please also note that a very similar case was discussed in this thread: http://forums.lightstreamer.com/show...e-same-machine

 

 

Similar Threads

  1. Replies: 5
    Last Post: April 30th, 2010, 11:03 AM
  2. Replies: 1
    Last Post: February 23rd, 2009, 12:41 PM
  3. Performance test for Lightstreamer
    By quanhm in forum General
    Replies: 1
    Last Post: May 19th, 2008, 10:48 AM
  4. how to make 2 schemas
    By skidrow406 in forum Adapter SDKs
    Replies: 5
    Last Post: March 19th, 2008, 10:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 04:53 PM.