WebSockets, HTML5 and kdb+

8 Jul 2014 | , ,
Share on:

Developer Glen Smith from AquaQ looked into WebSockets and kdb+ using the latest version of HTML. In his blog post, Glen demonstrates how to make a kdb+ database accessible beyond the console so anyone with a device that has a modern web browser can access the data.

The aim of this post is to introduce the idea of using HTML5 and kdb+ together. HTML is a markup language used to build web pages and HTML5 is the latest version. It comes with many new features but one we will focus on is WebSockets which allows us to easily send and receive data from kdb+.

WebSockets allows web applications to maintain bidirectional communications with server side processes over one TCP socket. The method that was widely used before WebSockets is AJAX. AJAX consisted of continually polling a connection to receive new data, opening a new connection, downloading data and then closing the connection. With WebSockets, once the connection between the client and server is established it stays open and data can be sent down to the client in real time. kdb+ has been supporting WebSockets since v3.0.

Continue here.

SUGGESTED ARTICLES

Kx Product Insights: Inter-Trading Alert

5 Dec 2018 | , , ,

by Aidan O’Neill Kx has a broad list of products and solutions built on the time-series database platform kdb+ that capitalize on its high-performance capabilities when analyzing very large datasets. Kx for Surveillance is a robust platform widely used by financial institutions for monitoring trades for regulatory compliance. The Surveillance platform instantly detects known trading […]

Kx extends relationship with NASA Frontier Development Lab and the SETI Institute

The Exploration of Space Weather at NASA FDL with kdb+

4 Dec 2018 | , , , ,

Our society is dependent on GNSS services for navigation in everyday life, so it is critically important to know when signal disruptions might occur. Physical models have struggled to predict astronomic scintillation events. One method for making predictions is to use machine learning (ML) techniques. This article describes how kdb+ and embedPy were used in the ML application.

kdb+ on Google Cloud

Running kdb+ on Google Cloud (GCP)

8 Nov 2018 | , ,

By Himanshu Gupta Our guest blogger, Himanshu Gupta, is an expert kdb+ programmer who frequently writes about kdb+/q, as well as other technologies on his blog, enlist q, where this post originally appeared. In this latest article Himanshu gives a tutorial on using kdb+ on the Google Cloud. Check out enlist q, and subscribe while you […]