# Temporal Server Config

**URL:** <https://community.temporal.io/t/temporal-server-config/6044>\
**Category:** Community Support\
**Created:** [September 23, 2022, 9:05pm UTC](https://community.temporal.io/t/temporal-server-config/6044 "2022-09-23T21:05:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amlanroy1980](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@amlanroy1980](https://community.temporal.io/u/amlanroy1980)\
**Post date:** [September 23, 2022, 9:05pm UTC](https://community.temporal.io/t/temporal-server-config/6044/1 "2022-09-23T21:05:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [September 23, 2022, 10:22pm UTC](https://community.temporal.io/t/temporal-server-config/6044/2 "2022-09-23T22:22:05Z")

</div>

> 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](https://mikhail.io/2021/05/choose-the-number-of-shards-in-temporal-history-service/).

[Here](https://community.temporal.io/t/what-is-the-recommended-setup-for-running-cadence-temporal-with-cassandra-on-production/556/3) 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.
