ImmuDB performance on AWS environments ( S3 + EKS ) #1442
Replies: 2 comments 2 replies
-
Hi @andreimerfu, we've observed some performance issues when S3 backend is used once the database reaches some size threshold. Thus the S3 backend still needs some work. One of the possibilities is that it is not optimal when accessing BTree that when stored in S3 server. The reason may be that accessing even small portion of that data can end up downloading a pretty large (e.g. 1MB) chunk of data from S3. Can you describe your workload a bit more? Important parameters here would be whether it is using SQL or KV, the number of entries, amount of data and if this is more read or write workload (or what are the access patterns). As an alternative we also observed that using amazon EBS volumes with a standard filesystem like ext4 on top of it also works fine for immudb (and kubernetes can nicely integrate with such volumes). |
Beta Was this translation helpful? Give feedback.
-
Hi @byo ! 👋🏻 A few details about the workload:
|
Beta Was this translation helpful? Give feedback.
-
Hi community! 🚀
In the last few days, I'm facing the following issue with Read/Write performance when I'm using AWS S3 as a storage solution for ImmuDB. When I ran a load test on my app that put serious pressure on the ImmuDB database, I saw very high response times that seems to be caused by the ImmuDB-S3 integration. Just to prove that, I replaced the S3 storage with AWS EFS temporarily, and everything works as a charm.
Also, I want to mention that I have a VPC endpoint (gateway) for S3, thus communication between the Kubernetes cluster and S3 should be inside of the Amazon network not over the Internet.
Below are a few result times from my tests:
What do you think? Is this a known issue?
Thank you!
Environment:
Amazon EKS 1.23
ImmuDB (deployed with HELM, single replica)
S3 storage (AWS VPC endpoint configured)
Beta Was this translation helpful? Give feedback.
All reactions