Hyperswitch infrastructure sizing for 25 million transactions a month

Juspay's sizing reference translates 25 million transactions a month into about 10 TPS, pod counts and resource requests. This page explains how to read it, what it leaves to you, and what to confirm before production.

On this page

Hyperswitch infrastructure sizing for 25 million transactions a month: where to start

A platform team preparing a self-hosted Hyperswitch rollout for about 25 million transactions a month should begin with Juspay's sizing reference, which assumes about 10 transactions per second (TPS) and 7 requests per transaction. That works out to roughly 70 requests per second at the average, and the reference states that one router pod with 1 vCPU handles about 40 requests per second. Treat these figures as a starting point to validate, not a guarantee. Average load says little about peaks, and the number of requests per transaction depends on your flows, retries, webhooks and which Hyperswitch modules you enable. Confirm each assumption against your own payment mix before you commit to node counts.

The sizing exercise is needed at three moments. Before procurement, it sets the order of magnitude for cloud or data center capacity and for the managed PostgreSQL and Redis tiers you will have to buy. Before cluster design, it determines pod counts per service, CPU and memory requests, and how many node pools and availability zones the cluster needs. Before go-live, it is the baseline you test against with load tests, so that a gap between the reference and your measured numbers is found while traffic is still in staging. Teams that skip the first moment often discover that their database tier, not the router, is the constraint.

From this exercise, DeployOpen scopes the sizing work as a written deliverable: the assumptions you must confirm (transaction mix, peak-to-average ratio, retry rate, webhook volume), the per-service pod and resource requests derived from the reference, the node types and headroom for spikes, and the load test plan that checks the numbers. Ask any partner to show how each figure was derived and which of them they measured in your environment rather than copied from the reference. The output should tell your team what to buy, what to test and which numbers must be re-checked after each Hyperswitch upgrade.

How 25 million transactions becomes requests per second

The sizing reference starts from one monthly volume and converts it into the load each service must absorb. Each step below is a calculation you can repeat with your own numbers, and the inputs at the end decide whether the reference's pod counts still fit your traffic.

Monthly volume to average TPS

Divide monthly transactions by the seconds in the month to get average transactions per second. For 25 million transactions in a 30-day month, the result is roughly 9.6, which the reference rounds to about 10 TPS. Treat this as the average only. It shows the floor of the load, not the busiest minute, so it cannot serve as a capacity target on its own.

TPS to requests per second

Each payment flow makes several API calls inside the stack, and the reference applies a fixed count per transaction. Multiply your average TPS by the number of calls your own flows make, including authorization, capture, status checks and any follow-up calls your integration adds. The product gives requests per second at the service boundary, which is the number the pods must absorb.

Peak hours and spikes

Monthly averages hide the busiest windows, and those windows set the pod counts. Measure your peak-to-average ratio over hours and days, then multiply the average requests per second by it. Compare the result with the per-pod throughput in the reference. Flash sales, payroll runs and month-end billing can push the peak well above the mean, so size for the peak window.

Retry traffic adds load

Retries send the same payment again, so they add requests that the average figure does not include. Record how often your integration retries declined, timed-out or ambiguous calls, and whether any retry logic in your configuration triggers additional attempts. Confirm the retry rate before you size. A retry surge during a processor incident can multiply load at the moment capacity is least available.

Refunds, webhooks and status traffic

Payments are only part of the load. Refunds, webhook deliveries from processors, status polling and reporting calls also reach the stack. Count each type per month and per peak hour, and keep them separate from payment requests so you can see which service each one hits. Webhook bursts often arrive together after a processor batch, and they can be the hardest peak to predict.

Re-derive the reference figures

The reference's pod ranges are starting points tied to its assumed volume. The OLTP Router runs between 4 and 50 pods at 1 to 1.5 cores and 1 to 1.5 GB each, Payment Methods runs between 3 and 50 pods, and every service keeps a minimum pod floor. Use your re-derived peak figures to choose where you sit in those ranges, then confirm node types and headroom with a load test. Do not copy the reference's counts into production without that check.

Sizing reference

Sizing values for each service in the reference

This table compares the pod counts and per-pod resources the reference gives for the OLTP Router and Payment Methods, with the reasons a team would land at the low or high end. Read each row as a starting range for a load test, not a fixed setting. The main takeaway is that the reference sets floors and ceilings, and your own traffic shape decides where you sit between them.

ServiceReference rangeWhen the low end fitsWhen the high end is needed
OLTP Router4 to 50 pods, 1 to 1.5 cores and 1 to 1.5 GB eachSteady volume near the 10 TPS baseline, few retries and a single processor with simple routing rulesTraffic spikes, many retries or multi-objective routing, and many processors evaluated per request
Payment Methods3 to 50 pods at the reference per-pod sizingLimited saved-method lookups and a small set of payment method configurationsLarge merchant catalogs, heavy payment method listing at checkout, or frequent saved-card lookups
Minimum pods per serviceAt least two pods for every serviceNot applicable, the floor applies to all servicesNot applicable, the floor applies to all services. Confirm whether your availability target needs more than two
SchedulerSized separately from the request servicesConfirm the sizing in the reference before assuming a low countConfirm the sizing in the reference, since queue volume grows with scheduled work
PostgreSQL and RedisSized separately from the app servicesConfirm the master and replica sizing in the reference for your volumeConfirm connection and memory needs against your own load test results
Pod count driversRequests per second per pod, about 40 RPS per router pod at 1 vCPUYour peak RPS sits well under the per-pod figure with room for failoverPeak RPS plus headroom for spikes exceeds what the minimum pod count can serve

How the sized services sit in a request path

The diagram starts at the merchant client or SDK and follows a payment request through ingress into the Router, which calls the Payment Methods service and then the outbound connector calls to processors. The Router reads and writes PostgreSQL (primary and replica) and uses Redis for caching and the scheduler queue, while the Scheduler producer and consumer handle deferred work. The Hyperswitch card vault sits inside its own trust boundary, and the team must supply ingress, PostgreSQL, Redis and the egress path. Check that the services you size match the ones the reference covers.

Sized Hyperswitch services, supporting stores and the card vault trust boundary.

How to turn the reference into a node plan

This sequence turns Juspay's 10 TPS sizing reference into a node plan sized for your own traffic, with each step checked before the next one starts. The output is a set of replica ranges, pod requests and node pool settings that you can record as Helm values.

  1. Collect your own traffic figures

    Start by measuring your expected transaction volume, peak transactions per second and the number of API calls each payment generates, including retries, status checks and webhooks. The reference assumes about 25 million transactions a month, about 10 TPS and 7 requests per transaction, so compare your figures against those. Your platform or payments team owns this step, and the output is a short table of average and peak values per month, per second and per transaction. Check that your peak figure is higher than your average, because the reference numbers are a baseline, not a ceiling for your business.

  2. Compute the replica range per service

    Convert your request rate into a request rate per second for each service, then use the reference figure that one router pod with 1 vCPU handles about 40 RPS as the starting point for the Router. The reference runs the OLTP Router at 4 to 50 pods and Payment Methods at 3 to 50 pods, and every service runs at least two pods. Set a minimum and maximum replica count for each service from your own numbers. Check that every minimum is at least two, and that each maximum is high enough to cover your peak request rate with headroom.

  3. Choose node types and pod requests

    Pick the CPU and memory requests for each pod, using the reference range of 1 to 1.5 cores and 1 to 1.5 GB for the OLTP Router as a starting point. Then choose node instance types that hold a whole number of pods with room left for system pods, the ingress layer and monitoring agents. Your cloud or infrastructure team should make this decision, and the output is a list of node types with the number of pods each one fits. Confirm that the sum of the requests for all minimum replicas fits inside the node pool you plan to run, with some capacity left spare.

  4. Add spike headroom

    The reference numbers describe steady load, so add headroom for short spikes such as seasonal peaks, marketing events and processor retry storms. Decide how much extra capacity you want above your measured peak, and write that figure down with the reason for it. Then raise the maximum replica counts and check that the node pool can scale out to the new ceiling within your cloud provider's quotas. The check is that the maximum pod count across all services, multiplied by its requests, fits inside the autoscaled node pool at the largest node count you allow.

  5. Validate the plan under load test

    Run a load test against a non-production environment that matches the planned node pool, database and Redis sizing as closely as you can. Increase traffic gradually to your planned peak and then beyond it, and watch latency, error rates, pod restarts, CPU throttling and PostgreSQL and Redis connections. The team that owns the test should record which service becomes the bottleneck first. The step is complete when the planned peak runs without sustained errors and the first bottleneck is either fixed or written into the plan with an owner.

  6. Record the decision in Helm values

    Write the replica ranges, pod requests, node types and headroom figures into your values.yaml files for each environment, and keep them in version control alongside the Helm chart version you tested. Record the reasons for each number and the load test result that supports it, so the next reviewer can see why the plan looks the way it does. The check is that a fresh install from these values produces the same pod counts and resource requests you tested, and that the minimum of two pods per service is still in place in every environment.

Choosing node types and headroom for traffic spikes

Pick node sizes after you have the pod requests, not before. The sizing reference gives the Router at 1 to 1.5 cores and 1 to 1.5 GB per pod, with Payment Methods at a similar scale, so add up the CPU and memory requests for the replica count you expect at peak and then find the node shape that holds the most of those pods without leaving large unusable remainders. A node that fits exactly four Router pods with a little space left is usually a better buy than a very large node that fits twelve and strands most of its memory. Check that the kubelet and system daemons reserve room on each node, and confirm the per-node pod limit of your Kubernetes distribution, since a small node can run out of pod slots before it runs out of CPU. Ask your platform team to confirm the instance families available in your region before you commit to a shape.

Spread each node pool across at least the availability zones your cloud region offers, and keep the replicas of every service spread across those zones with pod topology rules. The reference already expects at least two pods per service, so a single-zone pool can take down a whole service during one zone event. Multi-zone pools also let the scheduler place a replacement pod on a healthy node when a node fails. Plan for that replacement explicitly: when one node is lost, its pods must fit on the remaining nodes within the time your payment flows can tolerate. Keep the total spare capacity across the pool enough to absorb that move, and test it by draining a node in a non-production environment.

Headroom has to cover three separate events: traffic spikes, rolling upgrades that start new pods before old ones stop, and rescheduling after a node failure. Each one consumes spare CPU and memory at the same time as normal load, so reserve capacity for the sum you expect, not for one event alone. The percentage of headroom is not something this page can set. It must come from your own load tests against your connectors, database and Redis, or from confirmed guidance from Juspay or your implementation partner for your traffic shape. Ask for the test results and the assumptions behind any headroom figure before you approve a node count, and revisit the figure after each Hyperswitch release, because the resource profile of a release can change.

What sizing changes for security and PCI scope

Sizing decisions move workloads, replicas and log streams around, and each move can change which components touch card data. The cards below connect node placement, autoscaling and logging to the vault model you choose, and they note that in the in-house model the merchant carries PCI DSS obligations.

Shared nodes with the card vault

Placing the card vault on nodes that also run Router or Control Center pods widens the set of workloads that can reach vault memory, host volumes and node-level credentials. Use dedicated node pools with taints and tolerations for vault and encryption workloads, and confirm which namespaces and service accounts can schedule onto them. For the in-house vault model, document this node boundary as part of your cardholder data environment.

In-house PCI model

Autoscaling that moves vault pods

Horizontal autoscaling on Router pods is the expected behavior at this scale, but a scaling policy that also applies to the vault or encryption service can start and stop those pods during spikes. Each new replica is a new place where card data may be handled. Confirm whether the vault and encryption services are excluded from autoscaling or scale under a separate, reviewed policy.

Log volume capturing card-adjacent data

Request and response logging at higher transaction volume multiplies the amount of stored data, and payloads can carry tokens, masked card details or customer identifiers. Verify which fields the Router and vault emit at debug level, set log levels per environment, and restrict who can query the log store. Retention should be a documented decision, not the default of the logging platform.

Backups and replicas of vault data

Scaling PostgreSQL with a replica adds more copies of stored data and more backup sets to protect. If the vault uses its own database, every replica and snapshot inherits the same access and encryption requirements. Ask for the backup scope, the encryption of backup copies and the restore test plan before you size storage.

Key custody under load

Higher throughput means more frequent key use, which makes the key access path a performance and control concern at the same time. Confirm where encryption keys are held, who the key custodians are and how key access is logged when pods restart or scale. The key handling decision belongs in the sizing review, not after go-live.

Scope review for each sizing change

Every change to node pools, replica counts or log pipelines can change which systems are in PCI DSS scope. Record each sizing decision with the vault model it assumes, then confirm the change with your QSA or internal assessor before rollout. This review is your responsibility in the in-house model, while an external vault model may shrink the scope but still needs its own review.

Questions teams ask about sizing Hyperswitch

What does sizing Hyperswitch infrastructure cost, and who gets paid for what?

Sizing has no fixed price in this reference. The cost splits into two parts: the engineering time to turn traffic data into pod counts, resource requests and node choices, and the infrastructure that runs the result, which you pay to your cloud provider or data center vendor. Engineering time is the part a partner or your own team bills for, and it grows with the number of environments, services and cloud-specific decisions. Infrastructure spend recurs every month and depends on node types, node counts and how much headroom you hold for spikes. Ask any quote to separate one-time analysis from recurring infrastructure, and to name the assumptions it uses for transaction volume and requests per transaction.

How long does a Hyperswitch sizing exercise take?

The duration depends on how much of the load picture you already have and how many environments the result must cover. Teams with clean transaction logs and an agreed architecture can finish a first sizing pass faster than teams that must first measure traffic, agree on peak assumptions and validate results in a test environment. Duration also grows with the number of services under review, the number of cloud or data center targets, and whether a load test is part of the scope. Ask for a written plan that lists each phase, its inputs and the point where you approve the numbers before any infrastructure is ordered.

What must we supply before sizing work can start?

Three inputs carry most of the work. First, traffic data: monthly transaction counts, peak rates, the share of payments that need retries or extra calls, and any seasonal spikes. Second, access to the cloud accounts, Kubernetes clusters or data center environments where the stack will run, with rights to read quotas and node options. Third, a load test environment that resembles production closely enough to confirm that the pod and resource requests hold under load. Also supply the list of processors and optional components you plan to enable, because each one changes the request count per transaction. Confirm each item in writing before the work begins.

Can an internal platform team size Hyperswitch without outside help?

Yes, a team with Kubernetes capacity planning experience and access to production-like metrics can run the exercise internally. The reference gives a worked baseline: roughly 25 million transactions a month, about 10 TPS, 7 requests per transaction and about 40 RPS per router pod at 1 vCPU. Your team still has to check those assumptions against your own traffic, decide the peak multiplier and confirm that the database and Redis tiers can carry the load. The usual gap is validation rather than arithmetic: without a load test, the numbers stay theoretical. Assess whether your team has someone who owns load testing and on-call capacity before deciding.

Which drivers change the pod and node counts the most?

Four drivers change the outcome most. Transaction volume and peak rate set the request rate that the router must absorb. Requests per transaction set how much work each payment creates, so optional steps such as retries, extra processor calls or additional services add load. The pod range matters too: the reference runs the OLTP Router at 4 to 50 pods at 1 to 1.5 cores and 1 to 1.5 GB each, Payment Methods at 3 to 50 pods, and sets at least two pods for every service. Your own spread depends on where you set the minimum and maximum. Finally, the node type decides how many pods fit on each machine and how much memory and CPU headroom remains for spikes.

How does sizing change after a Hyperswitch upgrade?

Re-run the sizing check whenever a release changes the request path, adds a required service or raises resource needs. The v1.124.0 release notes state that Superposition became a required configuration dependency, and that a Superposition service must be running before you upgrade to that version, so a stack that sized cleanly before may need extra pods and capacity after. Monthly minor releases also arrive regularly, so plan a lightweight review on each release and a full load test on releases that touch routing, vaulting or the database. Confirm each release's compatibility matrix for Control Center and web client versions before you change the cluster.

Do we need a load test before we trust the sizing numbers?

Yes, you should test before relying on the numbers for production capacity. A worked reference can show the arithmetic, but it cannot confirm how your processors, database, Redis and network behave under your traffic shape. Plan a test that replays realistic payment mixes, includes retry and webhook traffic, and measures latency and error rates as load rises toward your planned peak. Record which pod count and node type were in use at each stage. Ask any partner to state its test method, the environment it uses and whether it returns the results as a written report.

How DeployOpen scopes and delivers Hyperswitch sizing

DeployOpen works on Hyperswitch sizing as a written, fixed-scope piece of platform engineering inside your own cloud accounts, data centers or air-gapped network. We start from the workload you actually have, agree the sizing assumptions in writing, and hand over a sizing model your team can review and rerun.

How we scope

  • We confirm your target transaction volume, peak multiplier and requests per transaction before any sizing starts.
  • The written scope names the Hyperswitch services, environments and load assumptions the sizing covers.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins.

How we build

  • We build the sizing model from the reference assumptions, then adjust pod counts and resource requests to your traffic shape.
  • We check node types, pod requests and limits against your chosen cluster and cloud accounts.
  • We test the resulting configuration under load in a non-production environment and record what we measured.

How we hand over

  • You receive the sizing workbook, Helm values for the chosen pod counts and resource requests, and the test results.
  • The documentation explains each assumption, the headroom added for spikes, and the trigger points for scaling out.
  • We walk your platform and SRE teams through the model so they can rerun it when volume changes.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, including re-sizing after new releases.
  • We can repeat load tests after configuration changes, new connectors or a volume increase you plan for.
  • Support scope and frequency are written into the retainer before work starts, and a quote follows from that scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.