MongoDB Change Streams

Hi everyone,

I’ve developed project about game kiosk that have a realtime tracking payment transactions system.

Here is my software flows, I’ve used AWS Lambda for getting the callback data that sent from banking system after a user did some payment (Payment Notification Callback) and then my Lambda function will update current log to MongoDB after that I’ve used node.js to watch a changing stream on my MongoDB, finally send the trigger via socket.io to TouchDesigner.

Is there easier way to reduce my flows above? and Is it possible if every flows could run on only TouchDesigner?