Optimizing High-Performance Trading Solutions: An Engineering Perspective



Similar documents
Integrating Web Messaging into the Enterprise Middleware Layer

Achieving Nanosecond Latency Between Applications with IPC Shared Memory Messaging

Unified Messaging for Single Dealer Platforms

Informatica Ultra Messaging SMX Shared-Memory Transport

Low-latency market data delivery to seize competitive advantage. WebSphere Front Office for Financial Markets: Fast, scalable access to market data.

MIT SDM Conference 2013 A Holistic Approach to Integrating Big Data and Strategy: Lessons from the Financial Services Industry

Unified Messaging Infrastructure for Global FX Trading Platforms

The Impact of PaaS on Business Transformation

Integration and Infrastructure Software. IBM WebSphere Application Server Family. Flexible infrastructure for todayʼs business world.

Patterns for scalability and availability in (trading) systems. Michel André CTO Saxo Bank

Ikasan ESB Reference Architecture Review

TRADING STRATEGIES Urs Rutschmann, COO Tbricks

CASE STUDY: Oracle TimesTen In-Memory Database and Shared Disk HA Implementation at Instance level. -ORACLE TIMESTEN 11gR1

2012 LABVANTAGE Solutions, Inc. All Rights Reserved.

Intel DPDK Boosts Server Appliance Performance White Paper

Management. Oracle Fusion Middleware. 11 g Architecture and. Oracle Press ORACLE. Stephen Lee Gangadhar Konduri. Mc Grauu Hill.

The Future of Algorithmic Trading

Running Oracle s PeopleSoft Human Capital Management on Oracle SuperCluster T5-8 O R A C L E W H I T E P A P E R L A S T U P D A T E D J U N E

Vortex White Paper. Simplifying Real-time Information Integration in Industrial Internet of Things (IIoT) Control Systems

How To Use The Dcml Framework

Configuring and Managing a Private Cloud with Enterprise Manager 12c

Resource Utilization of Middleware Components in Embedded Systems

Oracle BI Publisher Enterprise Cluster Deployment. An Oracle White Paper August 2007

Considerations for Adopting PaaS (Platform as a Service)

From Ethernet Ubiquity to Ethernet Convergence: The Emergence of the Converged Network Interface Controller

What can DDS do for You? Learn how dynamic publish-subscribe messaging can improve the flexibility and scalability of your applications.

Document Management. Document Management for the Agile Enterprise. AuraTech Pte Ltd

Solving I/O Bottlenecks to Enable Superior Cloud Efficiency

An Oracle White Paper October Oracle Data Integrator 12c New Features Overview

Low Latency Market Data and Ticker Plant Technology. SpryWare.

AZURE / HYBRID SCENARIOS. M a n a g i n g C o n s u l t a n t

Manjrasoft Market Oriented Cloud Computing Platform

Learning GlassFish for Tomcat Users

CHAPTER 2 BACKGROUND AND OBJECTIVE OF PRESENT WORK

How To Improve Your Communication With An Informatica Ultra Messaging Streaming Edition

Elastic Application Platform for Market Data Real-Time Analytics. for E-Commerce

Chapter 2 TOPOLOGY SELECTION. SYS-ED/ Computer Education Techniques, Inc.

Oracle BI EE Implementation on Netezza. Prepared by SureShot Strategies, Inc.

Cluster, Grid, Cloud Concepts

Oracle Communications WebRTC Session Controller: Basic Admin. Student Guide

bbc Adobe LiveCycle Data Services Using the F5 BIG-IP LTM Introduction APPLIES TO CONTENTS

<Insert Picture Here> Oracle In-Memory Database Cache Overview

Pulsar Realtime Analytics At Scale. Tony Ng April 14, 2015

Increase Agility and Reduce Costs with a Logical Data Warehouse. February 2014

SOLUTION BRIEF. TIBCO StreamBase for Foreign Exchange

Demystifying the Cloud Computing

An Oracle White Paper October Maximize the Benefits of Oracle SOA Suite 11g with Oracle Service Bus

Glassfish Architecture.

SwiftScale: Technical Approach Document

Cognos8 Deployment Best Practices for Performance/Scalability. Barnaby Cole Practice Lead, Technical Services

I/O Considerations in Big Data Analytics

ORACLE COHERENCE 12CR2

Cisco UCS and Fusion- io take Big Data workloads to extreme performance in a small footprint: A case study with Oracle NoSQL database

Deploying a Geospatial Cloud

InfiniBand in the Enterprise Data Center

This presentation covers virtual application shared services supplied with IBM Workload Deployer version 3.1.

Data Center Architecture Overview

Oracle Solaris: Aktueller Stand und Ausblick

Building Storage Service in a Private Cloud

JBoss enterprise soa platform

ArcGIS for Server: Administrative Scripting and Automation

IBM WebSphere Premises Server

The Private Cloud Your Controlled Access Infrastructure

FINANCIAL SERVICES: FRAUD MANAGEMENT A solution showcase

Skelta BPM and High Availability

Big Data, Cloud Computing, Spatial Databases Steven Hagan Vice President Server Technologies

Use service virtualization to remove testing bottlenecks

Microsoft SQL Server 2012 on Cisco UCS with iscsi-based Storage Access in VMware ESX Virtualization Environment: Performance Study

Responsive, resilient, elastic and message driven system

Evolution from the Traditional Data Center to Exalogic: An Operational Perspective

Web Application Hosting Cloud Architecture

Data Center Op+miza+on

SERVICE ORIENTED ARCHITECTURE

q for Gods Whitepaper Series (Edition 7) Common Design Principles for kdb+ Gateways

Direct NFS - Design considerations for next-gen NAS appliances optimized for database workloads Akshay Shah Gurmeet Goindi Oracle

Oracle Database Security and Audit

Middleware- Driven Mobile Applications

Oracle Database 11g Comparison Chart

Global Trading Platform

Man vs Machine: Coping with the Changing Face of Financial Technology. Pierre FELIGIONI Head of Real Time Product Strategy S&P Capital IQ

The IBM Cognos Platform for Enterprise Business Intelligence

The virtualization of SAP environments to accommodate standardization and easier management is gaining momentum in data centers.

Fabrics that Fit Matching the Network to Today s Data Center Traffic Conditions

Augmented Search for Web Applications. New frontier in big log data analysis and application intelligence

DevOps Best Practices for Mobile Apps. Sanjeev Sharma IBM Software Group

SDN Use Cases: Leveraging Programmable Networks

CHAPTER 2 MODELLING FOR DISTRIBUTED NETWORK SYSTEMS: THE CLIENT- SERVER MODEL

Simplifying Big Data Deployments in Cloud Environments with Mellanox Interconnects and QualiSystems Orchestration Solutions

Transcription:

Optimizing High-Performance Trading Solutions: An Engineering Perspective Matt Davey, CTO, Lab49 (www.lab49.com) Blog: http://mdavey.wordpress.com April 2011 V0.84

About Lab49 Lab49 is a strategy, design and technology consulting firm. Lab49 deliver strategic consulting and advanced solutions for the financial services industry. Our clients include many of the world s largest investment banks, hedge funds and exchanges. We design and deliver some of the most sophisticated and forward thinking financial applications in the industry today, and have an impeccable delivery record on mission critical systems. Our focus on innovation has led us to adopt usercentric practices that drive the design of solutions based on user needs and goals whilst delivering against the business requirements and delivery timescales. We achieve this through the combination of our industry leading Strategy Group, User Experience practice, Domain-Driven Development philosophy and Lean Agile processes. Our History Lab49 was founded in 2002 and now comprises over 200 people, with major offices in New York and London. We offer: An exclusive focus on Financial Services Emphasis on the development of Front Office Trading Systems End-to-end solutions, from Strategy to User Interface to Server 2

Overview Lab49 and Solace Systems Low Latency Trading - Statistical Arbitrage Exchange-Traded Fund (ETF) Single Dealer Platform (SDP) - Foreign Exchange 3

Low Latency Trading 4

Overview - Statistical Arbitrage ETF (Equities) Challenge: To improve scalability and lower latency within the statistical arbitrage ETF space Approach: Leveraging existing software pattern, a User Experience driven process and hardware appliances to deliver a solution to satisfy the business demand Lab49 is the leading provider of innovative Lab49 Innovation On Demand 5

Problem Domain Calculation of the sum of the Exchange-Traded Fund (ETF) parts could show that the ETF is temporarily mispriced. There maybe an opportunity for arbitrage while they re-converge. May not be reproduced by any means without express permission. All rights reserved, 6

Solution Lab49 Statistical Arbitrage Exchange-Traded Fund (ETF) = Solace Systems Messaging Middleware (Hardware) + Microsoft.NET TPL Dataflow Library (Software) 7

Hardware: Appliance Driven Messaging Middleware Hardware Messaging Middleware Offers consistent out-of-the-box experience Options: Guaranteed Messaging, Message Caching, Geospatial Routing Lower deployment costs Unified API Inter-Process Communication (IPC) - shared memory channel Solace Systems: Messaging Made Easy 8

Software: Messaging & Dataflow Patterns We are all trained to think like machines in terms of sequential flow of operation on data, Microsoft.NET tasks are better than Operating System (OS) threads because tasks enable you to think in terms of chunks of work rather than execution flow. Tasks, however, still require coordination of state around shared data tasks/thread complexity increases with size of code base Writing to actor-message or dataflow patterns enable you to design around data flow avoiding shared state Value grows as system size and parallelism scales up Microsoft.NET TPL Dataflow Library 9

Statistical Arbitrage ETF Agent-Actor Architecture OMS... CCY Pair (ETF) CCY Pair Per ETF Per ETF Normal Normal isation Normal Virtual isation isation NormalETF isation Normal isation Normal Real isation isation ETF Normal Real (ETF) isation ETF Trade Arb Signal Trade Signal Virtual ETF Arb ETF Fabric ETF ETF Trade Signals CCY Pair CCY Pair RIA Agent-Actor Architecture leveraging OMS both off-host and shared-memory low latency messaging FX/Equity/ETF Market Data and appropriate static data Normalisaton Virtual ETF Normalisaton Virtual ETF Arbitrag Normalisaton Real ETF Arbitrag Normalisaton Real ETF Trade Signal Trade Signal 10

Demo - The Server 11

Demo - The Client 12

Single Dealer Platform Building Scalable Distributed Systems 13

Overview - Single Dealer Platform Challenge: Reduce the last mile message latency Approach: Moving from, historically, software internet messaging push product solutions to hardware appliances to improve scalability and reduce latency Lab49 is the leading provider of innovative Lab49 Innovation On Demand 14

Problem Domain Wikipedia - A single-dealer platform (SDP) is software used by an investment bank dealing in the capital markets to deliver trading and associated services via the Web. The function of an SDP is to integrate pricing, liquidity, and pre-sales content from multiple sources within a bank and provide access to them via a single user interface. It is thus both an integration platform and a delivery platform. 15

Solution Lab49 Foreign Exchange (FX) Single Dealer Platform (SDP) = Solace Systems Web Streaming (Hardware) + Paremus OSGi Service Fabric and Akka (Software) 16

Hardware: Web Streaming ( Last Mile ) Performance 9,000 client connections and 900,000 messages per second throughput, average latency of 37 microseconds and just 44 microseconds at the 99.9 th percentile Lower deployment costs Unified API Full publisher/subscriber or request/reply messaging semantics Solace Systems Web Messaging May not be reproduced by e=any means without express permission. All rights reserved. 17

Software: Actor Composite Application Paremus Service Fabric Enables composite applications (OSGi, WAR or JEE) to be simply deployed, scaled and managed Utilise available resources dynamically Model-Driven to improve business agility and reduce labor intensive upgrades Robust self healing fabric Low latency DDS based distributed messaging backplane for service monitoring, discovery and configuration Akka (Open Source) Actor framework for Java and Scala Software Transactional Memory Paremus Service Fabric and Akka 18

SDP Architecture Internet HTML5 RIA CCY Pair (ETF) CCY Pair Per ETF Per ETF Normal Normal isation Normal Virtual isation isation NormalETF isation Normal isation Normal Real isation isation ETF Normal Real (ETF) isation ETF Trade Arb Signal Trade Signal Virtual ETF Arb Trade Signals RIA RIA Services Layer Authentication/ Entitlements World s 1 st FX SDP architecture leveraging Solace Systems Web Messaging (for Last Mile ) OMS CCY Pair (ETF) Internal sell-side systems CCY Pair Per ETF Normal Normal isation Normal Virtual isation isation NormalETF isation Normal isation Normal Real isation isation ETF Normal Real (ETF) isation ETF Trade Arb Signal Trade Signal Tick Repository Per ETF FX/Equity/ETF Market Data and appropriate static data Virtual ETF Arb Trade Repository Trade Signals Settlement/ Confirmation Content Repository RIA OMS Streaming Engine Pricing Engine Credit Tiering 19

Demo - Single Dealer Platform (Foreign Exchange) 20

Demo - Price Failover 21