Author: fengtality 0x352
Original Post Date: 3 Jul 2022
While I agree with the review comments that we shouldn’t be adding external dependencies to the Docker image without additional context, I also think that OP’s comment below is valid:
Because when running a cluster of docker containers and all of them write to different SQlite files at the same time, it really cause problems with disk thrashing (backlog disk I/O leading to stalled instance, leading to high memory consumption)
As context, Hummingbot was originally designed as a single bot client, but now that the user base has grown and gotten more sophisticated/professional, many users are running 10+ instances, so I think it makes sense to start exploring how to optimize DB support for larger use cases. Currently, Hummingbot supports writing to external databases, but it’s not an out of the box feature.
Let us know what you think! Is expanding DB support generally a direction that Hummingbot Foundation should explore (relative to other features that we could explore)?