Q: Java NonBlocking IO?
%%A: one thread monitoring multiple sockets
Q: many simple Objects with complex relationships/interactions vs one (or very few) huge complex object?
Q: thread Futures? Any comments?
–some of my findings
- microservices and containers are important
- According to the system architect (last interviewer), the new framework uses one dedicated instance of matching engine serving a single symbol such as AAPL.
- the new java framework only supports a few smaller exchanges initially, but is designed to roll out to more “exchanges” esp. those to be installed on client sites (like CSP). It is (theoretically) designed to be capable enough to implement the main stock exchange.
- is Mostly java + javascript (Amber, react) with small amount of c++
- the new java framework was deliberately designed to operate in single-threaded mode, despite oppositions. Therefore, multiple “clients” calling the same library concurrently would be unsafe.
- java8
- noSQL is adopted in addition to PostgreSQL, but the principal architect is less concerned about data store, which is only used in individual components