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.