<p>I am thinking to use the stack Geoserver, PostGIS, Openlayers, ReactJS for my GIS project. I also plan to deploy this solution on Kubernetes with AWS.</p>
<p>Questions:</p>
<p>Assume the traffic will be : 100 requests/s -&gt; to 1000rq/s
What is the minimum resources (vCPU, RAM) for:
- Each node K8s
- Each Geoserver (pod)
- PostGIS</p>
<p>Is there any formula so I can apply to have that result?</p>
<p>Thank you in advance</p>
<p>Lp Ccmu</p>

<p>Not really. It all depends on the footprint of all the different components of your specific application. I suggest you start small, gather a lot of metrics, and adjust.</p>
<p>Either grow or shrink depending on what you see on your metrics and make use of Kubernetes autoscaling tools like <a href="https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/" rel="nofollow noreferrer">HPAs</a> and the cluster <a href="https://github.com/kubernetes/autoscaler" rel="nofollow noreferrer">autoscaler</a>.</p>
<p>You can gather metrics using the AWS tools or something like <a href="https://prometheus.io/" rel="nofollow noreferrer">Prometheus</a>. There are <a href="https://ramitsurana.gitbook.io/awesome-kubernetes/docs/projects/projects#monitoring-services" rel="nofollow noreferrer">many available resources</a> on how to use Prometheus to gather Kubernetes metrics on the web.</p>
