Wrap Up
After reading this chapter, you may come to the conclusion that an ideal deployment model for a big exchange is to put everything on a single gigantic server or even one single process. Indeed, this is exactly how some exchanges are designed!
With the recent development of the cryptocurrency industry, many crypto exchanges use cloud infrastructure to deploy their services 30. Some decentralized finance projects are based on the notion of AMM (Automatic Market Making) and don’t even need an order book.
The convenience provided by the cloud ecosystem changes some of the designs and lowers the threshold for entering the industry. This will surely inject innovative energy into the financial world.
Congratulations on getting this far! Now give yourself a pat on the back. Good job!
Chapter Summary
Reference materials
- LMAX exchange was famous for its open-source Disruptor: https://www.lmax.com/exchange
- IEX attracts investors by “playing fair”, also is the “Flash Boys Exchange”: https://en.wikipedia.org/wiki/IEX
- NYSE matched volume: https://www.nyse.com/markets/us-equity-volumes
- HKEX daily trading volume: https://www.hkex.com.hk/Market-Data/Statistics/Consolidated-Reports/Securities-Statistics-Archive/Trading_Value_Volume_And_Number_Of_Deals?sc_lang=en#select1=0
- All of the World’s Stock Exchanges by Size: http://money.visualcapitalist.com/all-of-the-worlds-stock-exchanges-by-size/
- Denial of service attack: https://en.wikipedia.org/wiki/Denial-of-service_attack
- Market impact: https://en.wikipedia.org/wiki/Market_impact
- Fix trading: https://www.fixtrading.org/
- Event Sourcing: https://martinfowler.com/eaaDev/EventSourcing.html
- CME Co-Location and Data Center Services: https://www.cmegroup.com/trading/colocation/co-location-services.html
- Epoch: https://www.epoch101.com/
- Order book: https://www.investopedia.com/terms/o/order-book.asp
- Order book: https://en.wikipedia.org/wiki/Order_book
- How to Build a Fast Limit Order Book: https://bit.ly/3ngMtEO
- Developing with kdb+ and the q language: https://code.kx.com/q/
- Latency Numbers Every Programmer Should Know: https://gist.github.com/jboner/2841832
- mmap: https://en.wikipedia.org/wiki/Memory_map
- Context switch: https://bit.ly/3pva7A6
- Reliable User Datagram Protocol: https://en.wikipedia.org/wiki/Reliable_User_Datagram_Protocol
- Aeron: https://github.com/real-logic/aeron/wiki/Design-Overview
- Chaos engineering: https://en.wikipedia.org/wiki/Chaos_engineering
- Raft: https://raft.github.io/
- Designing for Understandability: the Raft Consensus Algorithm: https://raft.github.io/slides/uiuc2016.pdf
- Supported Matching Algorithms: https://bit.ly/3aYoCEo
- Dark pool: https://www.investopedia.com/terms/d/dark-pool.asp
- HdrHistogram: A High Dynamic Range Histogram: http://hdrhistogram.org/
- HotSpot (virtual machine): https://en.wikipedia.org/wiki/HotSpot_(virtual_machine)
- Cache line padding: https://bit.ly/3lZTFWz
- NACK-Oriented Reliable Multicast: https://en.wikipedia.org/wiki/NACK-Oriented_Reliable_Multicast
- AWS Coinbase Case Study: https://aws.amazon.com/solutions/case-studies/coinbase/
Finished reading?
Mark it complete to track your progress.