Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 11. An Equities Trading System > The Java RTS No-Heap Version

The Java RTS No-Heap Version

In the no-heap version of the trading system, the code is quite different. For starters, the time-critical trade execution code—within OrderManager—now runs within a NoHeapRealtimeThread. As a result, the market cache, the order book, and the OrderManager class all reside within immortal memory (see Figure 11-7). The MarketManager, however, remains mostly the same and still executes within a RealtimeThread.

Figure 11-7. The trading engine with NoHeapRealtimeThreads and ImmortalMemory.



  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint