Temporal Server Config

I wanted to run a performance test for a few workflows consisting of 5 activitis (both local and normal) each taking approx 1 second. We plan to reach 100 TPS and numHistoryShards is 512.

What is the minimum Temporal server setup we should start with?

  1. History
    Number of instances
    CPU
    Memory

  2. Matching
    Number of instances
    CPU
    Memory

  3. Frontend
    Number of instances
    CPU
    Memory

and numHistoryShards is 512

So are you set on this number? I think picking number of shards is an iterative process and requires in most cases some load testing, see a nice writeup here.

Here are some recommendations for a production startup. Setting up prod cluster is an iterative process and it will require load testing and tuning your configurations (on both server and your application side). Server and SDK metrics are your friends. Let us know if you have any specific questions during your performance tests and we’ll be glad to help.