KX Whitepaper On Using IPC With kdb+

31 March 2021 | 1 minute

by Katrina McCormack

The kdb+ IPC protocol allows multiple kdb+ processes to co-operate in an application and can also be used by a developer to connect a kdb+ process to an application developed in another language.

This paper provides an in-depth look at the underlying mechanisms of interprocess communication in kdb+. It begins by providing an overview of TCP connections and discusses applications for using Unix domain sockets across processes on a local host, and the use of TLS/SSL for more secure communication. It describes the main message handlers invoked in the process of opening a connection, running a query and closing a connection to a process, with various examples to illustrate each step.

It then takes a closer look at how IPC is applied in a vanilla tickerplant application, from when the data is first received from an upstream feed process to how tables are saved down at the end of the day.

To read the paper in full please click on this link. Thanks to Katrina for the paper and review assistance from Paula Clarke and James Neill.

Demo kdb, the fastest time-series data analytics engine in the cloud

    [utm_campaign_i][/utm_campaign_i]
    [utm_source_i][/utm_source_i]
    [utm_medium_i][/utm_medium_i]
    [utm_term_i][/utm_term_i]
    [utm_content_i][/utm_content_i]
    [utm_campaignid_i][/utm_campaignid_i]
    [last_submitted_page_URL_i][/last_submitted_page_URL_i]
    [gclid_i][/gclid_i]

    For information on how we collect and use your data, please see our privacy notice. By clicking “Download Now” you understand and accept the terms of the License Agreement and the Acceptable Use Policy.

    This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.