Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Apr 2012
    Location
    Rabat
    Posts
    2

    Lighstreamer stress testing

    Hello,

    I have been trying to simulate a good amount of concurrent users receiving a simple message containing the time the message was sent from the lightstreamer server.

    I have been doing this by creating a new System Thread every 500ms (!) and creating a new client connection in it (because to initiate a new TcpClient, it needs to be in a new Thread (?)). The problem with this is of course that as soon as some 300 Threads are created a Thread Overflow Exception is thrown.

    Can anyone enlighten me on how to achieve this in any way possible? I am doing this because I need to get visible results of a comet server stress/performance testing for my University thesis.

    Would really appreciate any help! Thanks

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,089
    May you please clarify what client connections do you mean?
    You mention a stress test, which usually involves a high number of connections from a client towards Lightstreamer Server.
    However, you are writing in the ".NET Adapter" topic; is it just a mistake?
    And may you please confirm that you are using an evaluation installation of the Allegro/Presto/Vivace version of the Server? In fact, connections from clients other than a browser are not directly supported in the Moderato version.

    As far as a .NET client is concerned, there is no direct help from our .NET Client Library for setting up stress tests efficiently.
    In fact, the library is designed for scenarios in which one or a few sessions are opened by the application, so it requires one thread per each session.

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Andrea, write to support@lightstreamer.com and we can help you via a special load test toolkit.

  4. #4
    Member
    Join Date
    Apr 2012
    Location
    Rabat
    Posts
    2
    Yes it is a .NET client issue! I did not notice there was the .NET client section as well sorry, my mistake!

    Yes I am using an evaluation of the Duomo Vivace and recently Colosseo Vivace (to test web sockets as well). But this should not be a problem because I can have unlimited connections while testing for 2 months no?

    What I meant with Client Connections is ".NET client sessions". You are right, I noticed that not many .NET sessions can be run at once because of the Thread problem.

    I will contact you on support. Thanks a lot

 

 

Similar Threads

  1. Stress Test / Performance
    By rmusco in forum General
    Replies: 5
    Last Post: January 4th, 2013, 01:38 AM
  2. Stress Test Tools
    By gani in forum General
    Replies: 1
    Last Post: May 10th, 2010, 02:38 PM
  3. Pull data from txt file to lighstreamer (NEWBIE)
    By forexinvestor in forum Adapter SDKs
    Replies: 1
    Last Post: December 23rd, 2008, 09:55 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 08:54 AM.