Results 1 to 4 of 4

Hybrid View

  1. #1
    Hi Giuseppe,

    Thanks for taking the time to reply.

    I understand what you are saying, that makes sense. I think your scenario of just not listening to the unwanted fields would make sense if we had just one system providing updates on our backend. However, in our scenario, there is some additional complexity in the fact that Bid and Price updates come from different places. As such, we only want to make subscriptions to the sources on the backend if lightstreamer has clients listening to these fields on the front end. Hopefully that makes sense.


    It looks like in the demo you are provided, you are essentially doing what I was suggesting? So, you are subscribing to <stock>_BUYSIDE, <stock>_SELLSIDE, etc. Both of those items get different types of updates/information for the same stock. This is essentially what I was suggesting when I mentioned doing something like "prices:1234" and "bids:1234". Different updates/info subscriptions for the same contract.

    I just wanted to clarify if there was a better way to do this, but from that demo is seems like this is viable solution?

    Thanks,
    Tanner

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi Tanner,

    Yes you are right, I confirm that in cases like yours, when the type of information is very different or the external data sources are different, splitting the information on several Items makes total sense.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Replies: 4
    Last Post: June 1st, 2015, 10:25 AM
  2. Replies: 3
    Last Post: May 9th, 2014, 07:56 AM
  3. Uniqueness of Itemname
    By LS_Developer in forum Adapter SDKs
    Replies: 1
    Last Post: June 10th, 2011, 05:21 PM
  4. Replies: 0
    Last Post: February 17th, 2010, 05:10 PM
  5. Replies: 5
    Last Post: February 4th, 2010, 09:55 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 11:18 AM.