How to Measure and Scale Vaultwarden Performance for 10,000 Concurrent Users?

Hi everyone,

I’m currently running Vaultwarden on a Red Hat server with the following specs:

  • 2 vCPUs

  • 4 GB RAM

  • Using MariaDB as the backend database

Right now, the instance is only used by a small number of users, but I’d like to plan and test scalability for up to 10,000 simultaneous users.

I’m trying to figure out:

  1. How can I measure Vaultwarden’s performance (CPU, RAM usage, response time, etc.) under load?

  2. Are there any tools or methods to simulate that many concurrent users (e.g. stress/load testing tools)?

  3. Based on others’ experience, what would be a recommended server configuration (CPU, RAM, or number of instances) to handle ~10,000 users concurrently?

Thanks for your help !