nasdaq itch ticker plant
play

Nasdaq Itch Ticker Plant Miles Sherman, Kevin Wong, Pranav - PowerPoint PPT Presentation

Nasdaq Itch Ticker Plant Miles Sherman, Kevin Wong, Pranav Sood, Naman Parashar, Artyom Yakovlev What is Itch? Why hardware? Itch is the Nasdaqs


  1. Nasdaq ¡Itch ¡Ticker ¡Plant ¡ Miles ¡Sherman, ¡Kevin ¡Wong, ¡Pranav ¡ Sood, ¡Naman ¡Parashar, ¡Artyom ¡ Yakovlev ¡

  2. What ¡is ¡Itch? ¡Why ¡hardware? ¡ • Itch ¡is ¡the ¡Nasdaq’s ¡protocol ¡for ¡informaDon ¡ transfer. ¡ • Big ¡firms ¡require ¡lowest ¡latency. ¡Time ¡is ¡ money! ¡ – TradiDonal ¡soJware ¡methods ¡work, ¡but ¡hardware ¡ can ¡provide ¡large ¡decrease ¡in ¡latency. ¡ • An ¡untouched ¡market. ¡ 2 ¡

  3. The ¡Concept ¡ Ethernet UDP Payload ITCH Message Packet MoldUDP Packetizer L3 Book Builder Packetizer & Parser ITCH Order L3 Book RAM ITCH Order Ethernet L2 Book Changes Packet L2 Book Broadcaster L2 Book RAM L2 Book Builder 3 ¡

  4. Module ¡Level ¡DescripDons ¡

  5. UDP ¡PackeDzer ¡ When ¡packets ¡are ¡being ¡received, ¡ the ¡payload ¡is ¡encapsulated ¡within ¡ 3 ¡headers: ¡ 1> ¡Ethernet ¡Header ¡ 2> ¡IP ¡Header ¡ 3> ¡UDP ¡Header ¡

  6. MoldUDP ¡PackeDzer ¡& ¡Parser ¡ • Purpose ¡ – To ¡receive ¡and ¡accumulate ¡IP ¡Payload ¡data ¡from ¡ the ¡packeDzer ¡ – Outputs ¡full ¡relevant ¡messages ¡to ¡FIFO ¡to ¡be ¡read ¡ by ¡L3 ¡book ¡

  7. UDP ¡Packet ¡Payload ¡ • Upon ¡reaching ¡the ¡payload ¡of ¡every ¡packet, ¡a ¡ data_valid_out ¡signal ¡is ¡given ¡to ¡the ¡next ¡ stage ¡( ¡MOLD_UDP), ¡which ¡is ¡an ¡indicaDon ¡ this ¡is ¡the ¡relevant ¡data ¡that ¡needs ¡to ¡be ¡read ¡ in. ¡ • Payload ¡data ¡is ¡given ¡out ¡in ¡bursts ¡of ¡8 ¡bytes ¡ per ¡clock ¡cycle ¡Dll ¡the ¡payload ¡is ¡exhausted. ¡ • The ¡FSM ¡diagram ¡on ¡next ¡slide ¡makes ¡it ¡much ¡ more ¡comprehensible. ¡ ¡

  8. UDP ¡PackeDzer ¡FSM ¡

  9. FuncDonality ¡ • MoldUDP ¡Module ¡contains ¡two ¡components ¡ – MoldUDPPackeDzer_DataReg.vhd ¡ • Handles ¡incoming ¡data ¡from ¡the ¡PackeDzer ¡module ¡ • Accumulates ¡data ¡unDl ¡a ¡single ¡message ¡is ¡reacheds, ¡ then ¡sends ¡out ¡enDre ¡message ¡to ¡parser. ¡ – Msg_Parser.vhd ¡ • Serves ¡to ¡parse ¡incoming ¡messages ¡from ¡the ¡Data ¡Reg ¡ module. ¡ ¡ • Filters ¡out ¡irrelevant ¡messages ¡and ¡crop ¡unneeded ¡ porDons ¡of ¡certain ¡messages, ¡then ¡sends ¡to ¡FIFO ¡

  10. L3 ¡Book ¡Builder ¡ • Large ¡database ¡controller. ¡ • Extremely ¡low ¡latency ¡requirements. ¡ • Implemented ¡using ¡two ¡ternary ¡trees. ¡

  11. L3 ¡Book ¡Builder ¡ • The ¡ternary ¡tree ¡must ¡stay ¡rebalanced. ¡ – If ¡successfully ¡balanced ¡at ¡all ¡Dme, ¡a ¡consistent ¡ O(logn) ¡operaDon ¡Dme ¡is ¡observed ¡for ¡lookups. ¡ 11 ¡ 11 ¡

  12. Ternary ¡Tree ¡ • Added ¡funcDonality ¡in ¡the ¡form ¡of ¡a ¡center ¡ node. ¡Not ¡involved ¡in ¡rotaDon ¡ • Address ¡of ¡node ¡to ¡be ¡deleted ¡is ¡provided ¡by ¡ the ¡search ¡module. ¡ ¡ • PosiDon ¡of ¡the ¡node ¡is ¡checked ¡in ¡the ¡tree, ¡ deleted ¡and ¡balance ¡factors ¡are ¡updated ¡ • RotaDon ¡done ¡to ¡balance ¡tree ¡if ¡required ¡ • Root ¡Sharing. ¡ 12 ¡ 12 ¡

  13. Ternary ¡Tree ¡ • Thoroughly ¡validated ¡with ¡a ¡5 ¡level ¡deep ¡tree. ¡ ¡ • Validated ¡with ¡trees ¡of ¡1000 ¡randomly ¡ generated ¡nodes. ¡ • Encountered ¡bugs ¡aJer ¡integraDon. ¡ 13 ¡ 13 ¡

  14. L3 ¡Book ¡Builder ¡ • The ¡ternary ¡tree ¡is ¡parameterized, ¡top ¡level ¡ can ¡recurse ¡on ¡it ¡for ¡different ¡purposes. ¡ 14 ¡ 14 ¡

  15. L2 ¡Book ¡Builder ¡-­‑ ¡Design ¡

  16. Broadcaster ¡ • Purpose ¡ – To ¡send ¡snapshots ¡of ¡the ¡L2 ¡books ¡to ¡a ¡display ¡ every ¡Dme ¡there ¡is ¡an ¡update. ¡

  17. FuncDonality ¡ • L2 ¡sends ¡ “ update ” , ¡ “ execute ” ¡and ¡ “ execute_data ” ¡signal ¡to ¡Broadcaster ¡ • Broadcaster ¡reads ¡in ¡data ¡from ¡the ¡updated ¡ L2 ¡RAM ¡and ¡stores ¡it ¡into ¡a ¡buffer. ¡ • Buffer ¡wrapped ¡in ¡UDP ¡frame, ¡then ¡sent ¡as ¡ output ¡to ¡ethernet ¡port ¡64-­‑bits ¡at ¡a ¡Dme. ¡

  18. Top ¡Level ¡FuncDonality ¡

  19. IntegraDon ¡ • The ¡system ¡is ¡funcDonal ¡in ¡simulaDon ¡and ¡ validated ¡except ¡for ¡the ¡L2 ¡which ¡must ¡be ¡ integrated. ¡ • The ¡current ¡system ¡has ¡a ¡bug ¡in ¡the ¡MoldUDP ¡ packeDzer ¡which ¡requires ¡a ¡day ¡or ¡two ¡to ¡ correct. ¡ – Packets ¡are ¡passing ¡but ¡the ¡data ¡is ¡oJen ¡ incorrect. ¡ 19 ¡ 19 ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend