Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2012

    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.

  2. #2
    Join Date
    Feb 2012
    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.




Similar Threads

  1. Replies: 1
    Last Post: July 22nd, 2013, 09:28 AM
  2. Replies: 3
    Last Post: July 18th, 2012, 09:55 AM
  3. Replies: 3
    Last Post: September 29th, 2009, 08:54 AM
  4. Replies: 1
    Last Post: February 22nd, 2008, 08:54 AM
  5. the many concurrent connection to database.
    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
All times are GMT +1. The time now is 06:41 AM.