Questions tagged [lightstreamer]

A scalable solution for real-time bi-directional data delivery over the Web, based on publish-subscribe, with abstraction over the HTTP and WebSocket protocols.

Lightstreamer (www.lightstreamer.com) is a Web-based asynchronous messaging project from Weswit, implementing the WebSocket protocol, the Comet model, the Push Technology paradigm, and the Real-Time Web practices.

The Lightstreamer Server is a high-performance engine that manages all the connections with the clients through the Internet. It integrates with the backend systems via custom adapters. The Data Adapter receives the real-time data flow from the data feed and injects it into the Lightstreamer Server. The Metadata Adapter has control over authentication, authorization, and quality of service. Lightstreamer Server is made up of three logical layers:

  • Web Transport. Lightstreamer implements a bi-directional transport based on standard Web protocols. This means it uses several underlying techniques (WebSockets, Comet, HTTP streaming, etc.) to provide the upper layers with a channel over which data can be exchanged in real-time with any client connected through the Web, even if protected by firewalls and proxies.

  • Messaging. Lightstreamer implements a publish-subscribe pattern, suitable for both one-to-many fan-out scenarios and one-to-one messaging needs. It takes care of routing each message to the right recipients, multiplexing the flow of events on the top of each connection with the clients.

  • Semantics+QoS+Security. It implements data semantics (tables, schema, metadata, conflation, etc.), network optimization (dynamic throttling, bandwidth control, resampling, batching, etc.), and full session management (authentication, fine-grained authorization, etc.) on the top of publish-subscribe.

Server-Side APIs

  • Java Adapter API
  • .NET Adapter API Adapter
  • Node.js Adapter API
  • Remoting Infrastructure API (based on TCP sockets)
  • JMX Management API

Client-Side APIs

  • JavaScript Client API
  • Flash Client API
  • Flex and AIR Cient API
  • Silverlight Client API
  • Java SE Client API
  • .NET Client API
  • iOS Client API
  • Android Client API
  • BlackBerry Client API
  • Windows Phone Client API
  • WinRT Client API
  • Java ME Client API
  • Unity 3D Client API
  • Generic Client API (via a documented protocol)
41 questions
0
votes
0 answers

Maximum update depth exceeded inside socket callback

Im getting the error "Maximum update depth exceeded" using the following implementation: export type InstrumentDetailBaseState = | BaseState | { type: 'success'; detail: InstrumentDetail; }; export interface RealTimeInstruments…
0
votes
1 answer

use Lightstreamer Server with Node WebSocket only as Client?

Hello for some reasons i don't like to use the libs from Lightstreamer for example debugging with Charles Webproxy or sending raw text commands. I get a connection to the server, but i fail after sending any command. I used this…
StefanBD
  • 334
  • 3
  • 14
0
votes
0 answers

How can I improve Lightstreamer Client data collection in Core 6 from push.cityindex.com

I am a .NET/C# developer. I created a console app in .NET 4.7.2 few years back to get Forex data from Forex.Com API (push.cityindex.com). I used these packages from nuget : Lightstreamer.DotNetStandard.Client 4.0.0 Log4Net 2.0.12 nLog 4.7.4 I…
Mehdi Anis
  • 358
  • 1
  • 9
  • 17
0
votes
1 answer

Lightstreamer on Azure Container Instances using Terraform

I'm trying to deploy a Lightstreamer Docker Instance to Azure Container Groups. My adapters.xml config is as follows:
DSpirit
  • 2,062
  • 16
  • 22
0
votes
0 answers

Angular 12 laggy when live streaming huge data via socket

I have built an application streaming stock real time data connecting to lightstreamer and upon callback will trigger some typescript method to update the value and identify the html element and update the css class for color blinking to indicate…
RONZZZZ
  • 1
  • 1
0
votes
1 answer

How to connect ag-grid (Live Streaming) to lightstreamer?

I want to connect ag-grid to lightstreamer as a socket. Does ag-grid support?
Saeed As
  • 9
  • 3
0
votes
1 answer

Lightstreamer set connection options in JS

Hello i try to understand this lib and i have a python source here https://github.com/ig-python/ig-markets-api-python-library/blob/master/trading_ig/lightstreamer.py on line 187 I'm able to add LS_op2 or set LS_container but I have problems on doing…
StefanBD
  • 334
  • 3
  • 14
0
votes
1 answer

New to Lightstreamer: how should I interpret this web request?

I'm trying to understand why Lightstreamer sends this as a first messages (I was expecting json or something similar but it seems javascript) Request: The response seems a kind of Javascript. The LS_window.LS_e function, for example, is native of…
Revious
  • 7,816
  • 31
  • 98
  • 147
0
votes
1 answer

Force LightStreamer work with higher speed

I have visited a webpage which uses LightStreamer to shows live data. Looking in ws section of Chrome DevTools, i found that server serves data with rate of around 1.5 k/s. While i have access to client LightStreamer and can subscribe my own…
ALalavi
  • 115
  • 1
  • 11
0
votes
1 answer

Concept of snapshot and isActive() in LightStreamer

Reading documents of LightStreamer, some questions has remained which i cannot find them by reading docs. What is the concept of snapshot? What is difference between isActive() and isSubscribed() methods? If anyone is familiar with these in…
ALalavi
  • 115
  • 1
  • 11
0
votes
2 answers

Add event handler to LightStreamer

I want to scrape a website which uses LightStreamer for showing live data. How can i add an event handler to receive those messages in Javascript? Unfortunately, LightStreamer doesn't have enough tutorial. Following sample works for me: var myEH =…
ALalavi
  • 115
  • 1
  • 11
0
votes
0 answers

Delay in receiving updates lightstreamer dotnet client

I use C# and https://www.nuget.org/packages/Lightstreamer.DotNetStandard.Client/5.0.0-beta. Receiving updates from the server reaches the client with a delay. i using this sample code:…
MK1991
  • 3
  • 4
0
votes
0 answers

Huge number of wait_to_close sessions

I'm connecting to the light streamer server from an HTML5 client, the client uses a javascript code in order to connect to the light streamer, I have another java client which connects to the light streamer server, both clients uses the same data…
ManKeer
  • 543
  • 2
  • 6
  • 27
0
votes
1 answer

updating client time with website time that uses lightstreamer

I want to update time of my pc with the website in which use Lightstreamer for updating its time. In the debugging tab in chrome devtools, I found that the time value is updated in which line: define("lscAZ", ["LoggerManager",…
0
votes
1 answer

Stock rates not displaying when we change from one page to another angular

We are developing an angular 8 application and the main part of the application is to show our commodity rates. Using lightstreamer we push the rates from the URL. Every thing works fine but we move from one page and come back to same page the rates…