-
September 29th, 2016, 03:02 PM
#1
how many server adapter are created?
we started to develop a java based server side adapter to serve client subscriptions .
How many adapters are created for client? One for every client?
Is a server adapter a thread?
thanks in advance.
-
September 30th, 2016, 08:58 AM
#2
Hi Bruno,
No, the Adapter instance will still be unique regardless of the number of clients. Indeed one istance for the Metadata Adapter and one istance for the Data Adapter.
That said, the client requests are are run in parallel by thread pools, configurable via specific parameters in the configuration file.
So your Data Adapters implementation should be ready to execute concurrent requests for method such as subscribe, unsubscribe, notifyUser, notifyNewSession, getItems, getScheme, ...
For furhther details about specific thread pool please refer to the inline comment of <server_pool_max_size> parameter in lightstreamer_conf.xml and <adapter_set_pool>, <authentication_pool>, and <messages_pool> in adapters.xml template file.
Regards,
Giuseppe
Similar Threads
-
By Daniel Mihalko in forum General
Replies: 1
Last Post: July 22nd, 2013, 09:28 AM
-
By akshat in forum Client SDKs
Replies: 3
Last Post: July 18th, 2012, 09:55 AM
-
By mnenchev in forum General
Replies: 3
Last Post: September 29th, 2009, 08:54 AM
-
By indrajit in forum General
Replies: 1
Last Post: February 22nd, 2008, 08:54 AM
-
By hungn in forum Adapter SDKs
Replies: 2
Last Post: August 23rd, 2007, 09:21 AM
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 08:44 PM.
Bookmarks