Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Feb 2012
    Location
    lodi
    Posts
    3

    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
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    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

  1. Replies: 1
    Last Post: July 22nd, 2013, 10:28 AM
  2. Replies: 3
    Last Post: July 18th, 2012, 10:55 AM
  3. Replies: 3
    Last Post: September 29th, 2009, 09:54 AM
  4. Replies: 1
    Last Post: February 22nd, 2008, 09:54 AM
  5. the many concurrent connection to database.
    By hungn in forum Adapter SDKs
    Replies: 2
    Last Post: August 23rd, 2007, 10:21 AM

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 05:15 PM.