Production Best Practices
This section describes the best practices to run Memphis in Production environment and to maximize
Last updated
This section describes the best practices to run Memphis in Production environment and to maximize
Last updated
All rights reserved to Memphis.dev 2023
Use Memphis in cluster mode to enable parallel usage across multiple brokers.
Spread the workloads across as many partitions as possible (if possible) to spread leaders across different brokers.
Use NVMe disks for storage.
Stretch the retention to days/hours.
Make sure to utilize as many cores as possible within the app itself. For example, in node.js - use threads.
Use affinity rules and separate the client K8s worker from the memphis workers.