kdb+&#x2F;q is great for this sort of thing (data stream processing and analytics).  The &quot;traditional&quot; kdb+ example&#x2F;benchmark, is some query on big data, and it excels at that.  But another use case is to setup several real-time kdb+ processes, like a processing pipe-line, or distributed work-load, that react to real-time messages&#x2F;events, and produces some output (derived analytic, alert, action, etc...).   One example is trading, where you have real-time market data being sent to some kdb+ processes, which run some analytic&#x2F;rules, and issue&#x2F;manage orders sent to the market.  It takes surprisingly few lines of q code to set something like this using kdb+.