[5] Bandwidth ComparisonLatency Comparison [5]This shows a significant difference for both bandwidth consumption and latency, which shows that Lightstreamer scales better than simple socket IO. Lightstreamer ArchitectureThe Lightstreamer engine implements the publisher subscription model. Lightstreamer uses the long polling technique. It basically has three components [7]1. Server-side implementation coded in Java (Lightstreamer server)2. Client-side implementation coded in javascript3. Adapters to support the diversity of data exchange platformsServerThe server consists of a Java process. This process controls the stack and network messaging threads that help the process achieve maximum optimization for returning data. The servers use the Java NIO framework to scale with huge numbers of connections. It uses advanced techniques that allow data transfer without being blocked by the firewall. the server continuously sends data to the client (streaming) which is then displayed in the user interface by clientClient. The client side uses the API provided by Lightstreamer vendors which allows clients to update the contents of HTML and HTML 5 web pages in real time. The use of Javascript helps achieve compatibility with any browser, both desktop and mobile. There is no need to install third party plugins which is a big plus Adapters As shown in the diagram below we have two sets of adapters in the architecture When creating a new lightstreamer session, the client can select which adapter to use. Each lightstreamer session requires the adapter set which includes a metadata adapter and multiple data adapters. These adapters are custom components that reside on the server. These fit… middle of the paper… The Lightstreamer framework is useful for real-time data updates for applications like chat rooms, blogs, notifications, real-time data updates of websites, etc. • Monitoring and Telemetry: NASA is Using Lightstreamer to send real-time data from satellites • Telecommunications and Media: Lightstreamer is the best solution for providing live feeds for sporting events • Transportation system monitoring and updates • Mail system Web• UtilitiesConclusionLightstreamer provides a framework for implementing push technology where real-time updates and data exchange are achieved with low delays and high scalability. It is an emerging form of message-oriented middleware that allows applications to send real-time messages over the Internet and is compatible with firewalls and is gaining popularity in the industry, especially in domains that require real-time web experience.
tags