Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2008
    Location
    New York
    Posts
    1

    Load balancing and .NET client

    We have a lightstreamer .NET client that subscribes to multiple items, and all items continuously push data back from adapter to the client. When LS adapter fails, my client onFailure method is called, and client can handle that event.

    I am looking to add load balancer (F5) and have it route requests to different instances of LS and LS adapters. Having a single connection in the client, is it possible that the requests would be routed to different Data Adapter instances from the same client? And if yes, and that instance fails, how is my .NET LS client will be notified that some of the requests will stop being serviced?

    Also, if I have a load balancer, Will the keep a tcp connection to Load Balancer? Will it manage connection to all the LS servers that service outstanding subscribtions?

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    975
    Assuming you are running an Allegro/Presto/Vivace edition, I notify you, just in case, of the
    DOCS-SDKs/Clustering.pdf
    document.
    The clustering is based on the allocation of single streaming sessions on one of the available Lightstreamer Server instance, hence a single client session cannot get data from different Data Adapter instances.

    As a consequence, in terms of tcp connections, each streaming connection is issued to the load balancer and entirely forwarded to one of the Server instances.
    Note that, once it has been established which Server instance is devoted to a client session, other connections related to the session may be directly issued by the client to the Server instance, depending on the configuration.
    Also note that, unless the load balancer prevents it, two different sessions opened by the same client may be forwarded to different Server instances.

 

 

Similar Threads

  1. LS load balancing Option 1.A.2 questions?
    By dimitarn in forum General
    Replies: 1
    Last Post: March 29th, 2010, 07:28 PM
  2. CPU Load 100%
    By codingvn in forum Adapter APIs
    Replies: 4
    Last Post: June 17th, 2008, 10:46 AM
  3. Load balancing
    By ksivasam in forum General
    Replies: 4
    Last Post: February 5th, 2008, 05:27 PM
  4. Hardware Load Balancers
    By kaveh in forum General
    Replies: 1
    Last Post: August 3rd, 2007, 12:22 PM
  5. Network Load Balancing
    By riaanj in forum General
    Replies: 7
    Last Post: May 30th, 2007, 02:12 PM

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:39 AM.