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