-
June 18th, 2008, 08:35 PM
#1
More then one .Net adapter
If I can run more then one .Net adapter with LS Server how do I configure a single LS instance to work with multiple adapters? If that scenario works do I need to have an executable per each .Net adapter?
Thanks
-
June 19th, 2008, 09:02 AM
#2
Lightstreamer Server allows multiple Adapter Pairs (i.e. Metadata Adapter + Data Adapter) to be installed, by putting multiple directories under its "adapters" directory,
each one with its own adapters.xml configuration file.
However, a single client session can access to only one Adapter Pair.
With the forthcoming 3.5 Server release, the Adapter Pairs will be generalized to Adapter Sets. Hence, in a single adapters.xml, it will be possible to configure multiple Data Adapters (but still a single Metadata Adapter) and a single client session will be able to get data from all of them.
In all cases, each configured Data (or Metadata) Adapter can be either local or remote.
By default, a different process is needed to run each Remote Adapter. However, you can create your own hosting program and play multiple Remote Data Adapters by it, through the provided Lightstreamer.DotNet.Server.DataProviderServer API class.
See chapter 1.6 in the included "DotNet Adapters.pdf" for an introduction.
-
June 19th, 2008, 01:46 PM
#3
Originally Posted by
DarioCrivelli
Lightstreamer Server allows multiple Adapter Pairs (i.e. Metadata Adapter + Data Adapter) to be installed, by putting multiple directories under its "adapters" directory,
each one with its own adapters.xml configuration file.
So, current version of LS will be able to work with multiple adapters as long as these adapters serve different client pages?
-
June 20th, 2008, 10:02 AM
#4
Yes, in principle, by loading multiple independent instances of the client libraries and multiple Engines on distinct pages.
However, consider that, if browsers are involved, a stringent limit on the open connections towards the same host may be in place and each streaming session to Lightstreamer Server consumes an open connection.
When feasible, using different hostnames to access the same instance of Lightstreamer Server for different sessions may be a workaround.
-
June 23rd, 2008, 10:21 AM
#5
Mark,
To simplify Dario's explanation, if your web pages, served by different Adapters, don't live in the same browser at the same time, there will be no issues.
Cheers,
Alessandro
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 06:56 PM.
Bookmarks