-
August 20th, 2008, 05:11 PM
#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?
-
August 21st, 2008, 10:34 AM
#2
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
-
By dimitarn in forum General
Replies: 1
Last Post: March 29th, 2010, 06:28 PM
-
By codingvn in forum Adapter SDKs
Replies: 4
Last Post: June 17th, 2008, 09:46 AM
-
By ksivasam in forum General
Replies: 4
Last Post: February 5th, 2008, 04:27 PM
-
By kaveh in forum General
Replies: 1
Last Post: August 3rd, 2007, 11:22 AM
-
By riaanj in forum General
Replies: 7
Last Post: May 30th, 2007, 01:12 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 07:15 PM.
Bookmarks