Below an example of how you can implement a CoralSequencer node using inheritance and composition so that you can send and receive messages to and from the sequencer. Messages sent to the sequencer will appear in the event stream (i.e. message bus). Continue reading
CoralReactor UDP Roundtrip Benchmark (compared to regular Java NIO)
In this article we show CoralReactor roundtrip performance numbers for UDP packets and compare them with a regular Java NIO implementation. Continue reading
State-of-the-Art Distributed Systems with CoralSequencer
In this article we introduce the big picture of CoralSequencer, a full-fledged, ultra-low-latency, high-reliability, software-based middleware for the development of distributed systems based on asynchronous messages. We discuss CoralSequencer’s main parts and how it uses a sophisticated and low-latency protocol to distribute messages across nodes through reliable UDP multicast. Continue reading
Multiple-Producers to Multiple-Consumers Queue
In this article we give an example of how to use the MpmcQueue
so you can transfer messages between any number of producers and consumers through a lock-less concurrent queue. Continue reading
CoralReactor vs Vert.x Performance Comparison
In this article we write two identical http servers using CoralReactor and Vert.x and compare their throughput and latency for different number of simultaneous connections. Continue reading
Writing a Bitcoin Liquidity Aggregator with CoralMD
In this article we explore how we used CoralMD to write a liquidity aggregator for the Bitcoin market. Most importantly, we show how you can distribute market data to internal applications and to external clients using straightforward and efficient APIs over standard protocols. CoralMD supports three market data APIs on top of HTTP, TCP and FIX as you will see below. Continue reading
Real-time Bitcoin Market Data
To illustrate CoralMD, we launched a free server that provides aggregated and per exchange real-time Bitcoin market data. The exchanges we are currently connected to are: Coinbase and Okcoin. Below we explain the three choices of API and protocol you can use to receive live market data updates. Continue reading
Why CoralFIX is very fast and easy to use?
In this article we list the main reasons that make CoralFIX a very fast and easy to use FIX engine. Continue reading
WebSocket Support with CoralReactor
CoralReactor supports WebSockets out-of-the-box. In this article we present a simple CoralReactor websocket client that connects to an echo websocket server. Continue reading
SSL Support in CoralReactor through SSLSocketChannel
CoralReactor implements its own non-blocking SSLSocketChannel
so you can have out-of-box support for SSL. In this article we show how you can connect to a SSL server (https, wss, etc.) easily with a CoralReactor client. Continue reading