Automated trading application performance #560
-
Hey @bennycode, after thinking over performance for an automated trading app, I'm wondering if you have any advice or insights on how the ticker or level2 websocket streams perform in a cloud-based environment. I assume I'll be needing to run a separate/dedicated service for the real-time data collection / candle building module of my application due to the high amount of messages coming in... Have you experienced any issues with too many messages creating a lag in the system where it can't keep up in real-time? Have you found the need to use worker threads or actually spinning up separate services for different tasks? What kind of vCPU/memory might you recommend for this specific module? Thanks for all your hard work on this project 👍 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @pachiraDIG, the requirements on hardware are pretty low. No need to use worker threads. You can easily run a Node.js application that connects with the WebSocketClient and run it on a Heroku Hobby Dyno for $7/month. I am telling from experience. 😉 Happy to hear that you like this project! 🙂 |
Beta Was this translation helpful? Give feedback.
Hi @pachiraDIG, the requirements on hardware are pretty low. No need to use worker threads. You can easily run a Node.js application that connects with the WebSocketClient and run it on a Heroku Hobby Dyno for $7/month. I am telling from experience. 😉
Happy to hear that you like this project! 🙂