Open SadaharuEdo opened 7 months ago
Hi,
We are facing a similar problem too
Hi @zr-mah, in my case, I have upgraded the instance where I am using the Tardis machine to 16GB RAM and 8 vCPUs. I have faced no issues since I migrated my setup to this machine. The data I manage to ingest is close to 99.99% from the exchange's historical data.
So, in my opinion, if you encounter this error, it could be related to the usage of your server: are there other processes running on it? Is it already heavily utilized?
Hope this will help you,
Hi @SadaharuEdo,
Thank you for your pointer! What you were saying might be true. Because this issue only occurs if we call the server concurrently within milliseconds And the server spec we were using is AWS t4g.small with 2vCPU and 2GB RAM.
We didn't think it was this issue because the usage is low.
We will definitely have a try with a higher spec machine.
Thanks!
Furthemore I have enabled the cluster mode for thardis machine (cf. here)
Hello, I am running the Tardis-machine and utilizing its WebSocket abilities with Docker on an EC2 instance (2 vCPUs, 8GB RAM), alongside other services. First of all, the service works very well 99% of the time, and I'd like to express my gratitude for the great work, guys! 👍
However, upon examining the collected data, I've discovered that during periods of high volume, I encounter errors in my data. After further investigation, I found in the container logs that these high-volume periods lead to errors in Tardis-machine. (I provide an example below)
My questions are:
Do you think the problem primarily stems from the exchanges themselves, possibly being overloaded by requests during high-traffic periods? Alternatively, do you believe I should consider running multiple instances of my container (I've heard about a cluster mode)? Should I consider adding more CPUs or RAM to my machine? Thanks a lot!