I am currently writing a black box trading bot and I am in the process of designing the way data is passed around. I realize I want an async sort of architecture. So I have been implementing ActionListeners and ActionPerformers but some of the listeners when they get data need to do calculation which could take a while, so I am wondering if there is an efficient framework that allows me to program async easily and effectively in the most real time way possible.
I basically have two questions: Best way to do async sockets and communication throughout a program Best programming language or framework to write realtime applications