Serving hundreds of thousands of WalletConnect sessions on nodejs? #4648
Unanswered
p0vidl0
asked this question in
Developer Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Working on a semi-custodial wallet system with the goal of supporting hundreds of thousands of WalletConnect sessions. We are using
@walletconnect/sign-client
on a Node.js backend to handle external dapps' connections and have encountered some issues. We had to implementIKeyValueStorage
to persist data between restarts. The current architecture for working withIKeyValueStorage
involves saving and reading all module data (session, subscription, history, messages) in bulk. This leads to large amounts of data being transferred with each change and can cause data integrity issues during concurrent writes. Horizontal scaling of the backend service also requires a change in the approach to storage management.The question is, are there best practices and more suitable libraries for this task in Node.js?
Beta Was this translation helpful? Give feedback.
All reactions