Financial exchanges have recently shown an interest in migrating to the public cloud for scalability, elasticity, and cost savings. However, financial exchanges often have strict network requirements that can be difficult to meet on the cloud. Notably, market participants (MPs) trade based on market data about different activities in the market. Exchanges often use switch multicast to disseminate market data to MPs. However, if one MP receives market data earlier than another, that MP would have an unfair advantage. To prevent this, financial exchanges often equalize exchange-to-MP cable lengths to provide near-simultaneous reception of market data at MPs. As a cloud tenant, however, building a fair multicast service is challenging because of the lack of switch support for multicast, high latency variance, and the lack of native mechanisms for simultaneous data delivery in the cloud. Jasper introduces a solution that creates an overlay multicast tree within a cloud region that minimizes latency and latency variations through hedging, leverages recent advancements in clock synchronization to achieve simultaneous delivery, and addresses various sources of latency through an optimized DPDK/eBPF implementation -- while scaling to a thousand receivers. Jasper outperforms a prior system, CloudEx, and a commercial multicast solution provided by Amazon Web Services. We present different deployment models and their performance impact. A deployment model where MPs and the exchange do not have to trust each other is realized using confidential computing.
翻译:摘要:金融交易所近期表现出向公有云迁移的兴趣,以期获得可扩展性、弹性及成本效益。然而,交易所通常对网络有严格要求,在云环境中往往难以满足。值得注意的是,市场参与者(MP)基于市场上不同活动的行情数据进行交易。交易所常采用交换机组播向MP分发行情数据,但若某MP比另一MP更早接收数据,该MP将获得不公平优势。为避免此问题,交易所通常均衡交易所至MP的线缆长度,使MP几乎同时接收行情数据。然而作为云租户,构建公平组播服务极具挑战性——云环境中缺乏交换机级组播支持、存在高延迟方差、且缺乏原生同步数据交付机制。Jasper提出一种解决方案:在云区域内构建覆盖组播树,通过对冲机制最小化延迟及延迟波动;利用时钟同步技术的最新进展实现同步交付;并通过优化的DPDK/eBPF实现处理多种延迟来源——同时支持扩展到上千个接收端。Jasper的性能优于先前系统CloudEx及亚马逊云科技提供的商业组播解决方案。我们展示了多种部署模型及其性能影响,并利用机密计算实现了MP与交易所无需互信的部署模式。