Hyperswitch system requirements for a production baseline
A production Hyperswitch baseline covers three layers: the Kubernetes cluster that runs the app services, the PostgreSQL database that holds payment state, and the Redis instance that serves caching and the scheduler queue. Four components carry most of the sizing work: the Router, the Scheduler (its Producer and Consumer roles), PostgreSQL, and Redis. The Router serves the payment API, and the Scheduler runs deferred work, so both must be sized for peak load rather than average load. The figures in this section come from Juspay's Hyperswitch system requirements page, which uses 40 requests per second as its reference load. Treat those figures as a starting point and check them against your own traffic profile and connector mix.
Juspay advises two buffers on top of the sized load. The application layer gets a 40% buffer, and stateful components, meaning PostgreSQL and Redis, get a 50% buffer, because databases and caches are harder to resize under load than stateless pods. On top of both, the baseline assumes N+1 redundancy so the platform can survive a node failure. The buffers and redundancy must be planned together. A cluster sized exactly to the reference load, with one PostgreSQL primary and no spare capacity, has no room for a failover event or a traffic spike. Before you accept the numbers, confirm with Juspay which resource dimensions the percentages apply to (CPU, memory, connections or storage) and whether the buffers assume a particular replica count. Ask for that arithmetic in writing so your capacity review can reproduce it.
Version choices set the floor for everything else. PostgreSQL 18, first released September 25, 2025, is the newest supported major version, while PostgreSQL 14 reaches end of support on November 12, 2026, so a new build should target a version that stays supported for the planned life of the system. Check the PostgreSQL versioning policy before you pin a major version. For Redis, the license depends on the release line. Redis 8 and later can be used under AGPLv3 among other licenses, the 7.4 to 7.8 line remains under dual RSALv2 or SSPLv1, and 7.2 and earlier remain under BSD-3-Clause. Your legal team should decide which license fits your distribution and hosting model before you choose a line. Confirm the exact Hyperswitch release you plan to deploy and its documented compatibility with the PostgreSQL and Redis versions you select.
How the Router, Scheduler, PostgreSQL and Redis fit together
The diagram starts at clients reaching the ingress, which hands requests to the Router pods. The Router calls the separate card vault for card data, and it reads and writes PostgreSQL and Redis. The Scheduler Producer and Consumer pods pull work from the Redis scheduler queue and write results back to PostgreSQL. Stateful components, PostgreSQL and Redis, carry the 50% buffer, while the application pods carry the 40% buffer. Check that every hand-off has a clear owner in your own environment.
Request and data path between Hyperswitch components on Kubernetes, with stateful stores marked.
Which sizing and software choices fit which environment
This table compares the cluster, PostgreSQL and Redis options a Hyperswitch team typically weighs, from a single-team sandbox to a production stack carrying live payments. Read each row for the environment you are planning, then check the trade-off column against your own staffing and recovery targets. The main takeaway is that managed services shift operating effort to a provider, while self-run options keep control in your hands but add patching, failover and backup work you must own.
| Component and option | When it fits | Trade-off to weigh |
|---|---|---|
| Kubernetes: managed control plane | Production teams that want the provider to run the control plane and upgrades on a supported schedule | Less control over cluster versions and add-ons; confirm which node counts and N+1 headroom your provider's node pools allow |
| Kubernetes: self-managed cluster | Data center or air-gapped sites where a managed control plane is not available | Your team patches, backs up etcd and plans upgrades; N+1 node capacity must be sized and tested by you |
| Kubernetes: local or evaluation cluster | Developer trials and integration testing with the Helm chart before a real environment is provisioned | Not a production path; no meaningful redundancy, so availability and sizing results do not carry over |
| PostgreSQL: managed service with a replica | Teams that want backups, minor patching and failover tooling handled by the provider | Confirm the provider's failover behavior, replica type and supported major version; per-hour cost recurs with size |
| PostgreSQL: self-run primary and replica | Organizations with database operators who need control over placement, extensions and authentication settings | Automatic failover needs external tools, since PostgreSQL does not detect primary failure on its own; you own backups and point-in-time recovery testing |
| PostgreSQL major version | Choose a version that is still in its support window for the full planned life of the stack | Version 14 is listed as supported only until November 12, 2026 (PostgreSQL versioning policy), so new builds should start on a newer supported major version |
| Redis: single instance | Sandbox, evaluation or non-critical caching where a cache loss is tolerable | No automatic failover; a node failure interrupts caching and the scheduler queue until it is restored |
| Redis: Sentinel with at least three Sentinel instances | Production stacks that need automatic failover promoting a replica to master without Redis Cluster | Three Sentinel processes must be deployed and kept in quorum; clients must be configured to follow the promoted master |
| Redis: managed service | Teams that prefer provider-run failover, patching and backups over running Sentinel themselves | Confirm the managed offering, its license terms and region availability with the provider before committing |
How the 40% and 50% buffers change the numbers
The 40% buffer applies to the application layer, meaning the Router and Scheduler pods, while the 50% buffer applies to stateful components, meaning the PostgreSQL primary and replicas and Redis. Hyperswitch's system requirements page also asks for N+1 redundancy so that a single node failure does not remove capacity you have sized. The buffers are not a percentage of raw traffic. You take the load you measured at 40 RPS, convert it into CPU, memory, connections, IOPS and memory for Redis, then multiply each stateful and stateless figure by its buffer before adding the spare node. Keep the two calculations separate so the database and cache do not inherit the lower application headroom.
The inputs decide whether the result is useful. Ask your team for peak traffic, not only the average, and for the peak measured over a window long enough to include your busiest settlement or retry period. Record the ratio between them, because a 40 RPS average with a sharp peak needs a different node count than a flat load at the same rate. Add a growth figure for the next planning horizon, and confirm with Juspay or your own load test how many requests one transaction generates across Router, Scheduler and webhook paths, since that multiplier changes every figure above. Where the 40 RPS baseline is not your own measurement, treat the output as a starting estimate to validate in a staging environment.
If your target volume is higher than 40 RPS, do not extend this calculation by hand. Juspay publishes a separate worked sizing reference for a larger transaction rate, and its per-service pod counts and node types are the right baseline to adapt. Use this section's method to check that its figures still hold after you apply your own peak, growth and redundancy inputs. Document the buffered numbers in the same change record as your Helm values so that a later reviewer can see which headroom was applied to which component.
Sequence to validate the baseline before install
This sequence confirms that the Kubernetes cluster, PostgreSQL, Redis and any required supporting service meet the baseline before any Hyperswitch component is installed. The output is a short written record of versions, topology and measured headroom that the platform team can compare against the sizing plan.
Confirm the Kubernetes version and node pools
The platform team confirms the Kubernetes version against the Hyperswitch system requirements page and the chart version they plan to install, then lists the node pools they intend to use for application pods and for stateful services. Each pool should show its instance type, CPU and memory per node, and the number of nodes across availability zones, with N+1 capacity for node failure included. The step is done when the team can show the cluster version, the pool inventory and the spare capacity on paper, and the owner has signed off that the numbers match the sizing plan.
Provision PostgreSQL on a supported major version
The database owner provisions PostgreSQL on a major version that is still inside its support window, and confirms the planned end-of-life date against the PostgreSQL versioning policy before choosing it. The deployment should include a primary and a replica, with the authentication method set to SCRAM rather than MD5 and a documented plan for backups and point-in-time recovery. The step is done when the server reports its exact version, the replica is streaming, and a test login succeeds from a pod in the target namespace.
Provision Redis and a Sentinel quorum
The platform team deploys Redis with a replica and at least three Sentinel instances, since Redis documents that a robust Sentinel deployment needs that minimum. They confirm the Redis version and license choice before go-live, because the license terms differ between the 7.x and 8.x lines. The step is done when a Sentinel query returns the current master, a forced failover promotes a replica, and the application can reconnect to the new master without manual changes.
Confirm the Superposition service if required
The release owner checks the release notes for the exact Hyperswitch version they plan to install. If the target version requires Superposition as a configuration dependency, as the v1.124.0 notes state, they confirm that a Superposition service is running and reachable from the router namespace before any upgrade. The step is done when the release owner records the version decision and the health endpoint of Superposition returns a healthy response from inside the cluster.
Run connectivity checks between components
The platform team runs connectivity tests from a temporary pod in the target namespace to PostgreSQL, the Redis master and each Sentinel, and to any egress proxy used for processor calls. They check DNS resolution, TLS handshakes and that firewall rules allow only the required ports. The step is done when every check passes from the same network path the application will use, and the results are saved alongside the cluster record.
Run resource checks against the sizing plan
The platform team measures allocatable CPU and memory on each node pool, the connection limits on PostgreSQL and the memory limit on Redis, then compares these figures with the application and stateful buffers from the Hyperswitch requirements page. They confirm that the 40% application buffer and the 50% stateful buffer still fit within the measured capacity after system pods are counted. The step is done when the comparison shows enough headroom with the N+1 allowance included, and any shortfall has a named owner and a change request before install.
Choosing PostgreSQL and Redis versions for the stack
PostgreSQL releases a new major version about once a year and supports each major for five years after its initial release. The supported majors for this baseline are 14 through 18, and the end dates determine how long a database build stays in support before it needs a major upgrade. Choose the newest major your Hyperswitch release supports, then write its end date into your upgrade calendar.
- PostgreSQL 18: First released September 25, 2025, with final release November 14, 2030. It has the longest runway and adds asynchronous I/O and
uuidv7(). - PostgreSQL 17: Supported until November 8, 2029.
- PostgreSQL 16: Supported until November 9, 2028.
- PostgreSQL 15: Supported until November 11, 2027. A stack deployed on this major will need a planned move well before that date.
- PostgreSQL 14: Supported until November 12, 2026. Treat it as a version to migrate from, and avoid it for any new deployment.
Before you commit, confirm with your Hyperswitch release notes which PostgreSQL majors the release supports, since the stack may lag the newest database. Check the dates against the PostgreSQL versioning policy on the day you build.
Minor PostgreSQL releases never change the internal storage format, so applying one means replacing the executables and restarting the server. Major upgrades need a separate plan. The PostgreSQL documentation describes three routes: a dump and restore with pg_dumpall, pg_upgrade, or logical replication. Logical replication works between different major versions and can keep downtime to several seconds, which matters because the database holds live payment state.
- Minor releases: They ship at least once every three months, so schedule them as standard maintenance with a restart window.
- pg_upgrade: PostgreSQL 18 retains planner statistics across major upgrades and adds parallel jobs and a
--swapoption. Rehearse it on a copy of production first. - pg_dumpall and restore: The simplest route to reason about, with the longest outage on a large database.
- Logical replication: Supports cross-version moves with brief downtime, but it needs lag monitoring and careful cutover steps.
- Failover tooling: Hot standbys can serve read-only queries, but PostgreSQL does not detect a primary failure itself, so automatic failover requires external tools.
Ask your database team to rehearse the chosen route on a restored copy and record the measured downtime before go-live. The PostgreSQL upgrading documentation sets out the steps for each route.
Redis Open Source 8.0 and later can be used under a license you choose from three options: the Redis Source Available License v2 (RSALv2), the Server Side Public License v1 (SSPLv1) or the GNU AGPLv3. These options apply from the general availability release of Redis 8, which was published on May 2, 2025. The license of the artifact you deploy determines your obligations, so read the terms against how your organization will run and offer the service.
- AGPLv3: An OSI-approved copyleft license. Redis Ltd. has stated that it plans to keep Redis Open Source under AGPLv3.
- RSALv2 and SSPLv1: Source-available licenses that are not OSI-approved.
- Vector optimizations: The Intel SVS-VAMANA optimizations (LeanVec and LVQ) are closed source and can only be used under RSALv2, not under AGPLv3 or SSPLv1.
- Network service duty: The Redis licenses FAQ says teams that offer modified Redis code as a network service must make the modified source available to that service's users.
- Commercial products: Redis Software and Redis Cloud come from Redis Ltd. and are neither open source.
Record which license option applies to each deployed artifact and whether your team modifies it. The Redis licenses page sets out the terms for each option.
Redis has changed its license more than once, so the terms attached to your installed version depend on which release line you run. Redis 7.2.x and earlier remain under BSD-3-Clause. Redis 7.4.x to 7.8.x, then called Redis Community Edition, use the dual RSALv2 or SSPLv1 license, and neither is OSI-approved. Redis Ltd. made that change in March 2024, and some community members said they were frustrated by it.
- Redis 7.2.x and earlier: BSD-3-Clause. The Redis licenses FAQ says teams moving from these versions with unmodified artifacts see no impact.
- Redis 7.4.x to 7.8.x: Dual RSALv2 or SSPLv1, with no OSI-approved option.
- Redis 8 line: Redis 8.0.0 was published on May 2, 2025, and the current line reached 8.10.0 on July 29, 2026.
- Security releases: Versions 8.10.2, 8.8.3, 8.6.7, 8.4.7 and 8.2.10 shipped together on September 17, 2026, so include these lines in your patch calendar.
- Sentinel: Redis Sentinel provides automatic failover when you do not use Redis Cluster, and its documentation states that a deployment needs at least three Sentinel instances.
Ask counsel to review the license option and version line you will run, your modification and hosting model, and any customer-facing service that embeds Redis before the architecture is frozen. This page does not give legal advice.
PostgreSQL high availability and authentication for Hyperswitch
PostgreSQL does not detect a failed primary by itself, so a Hyperswitch database tier needs a primary, one or more hot standbys and external failover tooling that promotes a replica when the primary is lost. Hot standbys serve read-only queries, and the replication mode is a decision you make explicitly. With synchronous replication a commit waits for at least one standby, which protects committed payment state at the cost of write latency and a stall if no standby answers. Asynchronous replication keeps writes fast but can lose the most recent commits on failover. Confirm with your Hyperswitch deployment team which tables and workloads can tolerate that window before you choose. The PostgreSQL high availability documentation covers both modes, and the failover documentation explains why the promotion step sits outside the server.
Hyperswitch's Router and Scheduler open many connections, so put PgBouncer in front of the primary and replicas for connection pooling, and test that the pool mode you pick works with the prepared statements and session settings the application uses. Pair replication with continuous archiving of WAL and base backups so you can recover to a point in time after a bad migration or operator error, which replicas alone cannot do. Restore tests are the only proof that this works, so schedule them and record the recovery time you actually achieve. On authentication, use SCRAM rather than MD5 password authentication, since PostgreSQL 18 deprecates MD5 in favor of SCRAM. Where your identity controls allow, add client certificates or an external method from the list PostgreSQL documents, such as LDAP, GSSAPI or OAuth, and keep the pg_hba.conf rules for the Hyperswitch service accounts narrow and reviewed.
Before go-live, confirm three things with your platform and security teams: who runs the failover tool and how it is tested, which PostgreSQL major version your support window requires (the PostgreSQL versioning policy lists end-of-life dates), and where the credentials for each service account are stored and rotated. Ask for the failover runbook, the backup retention settings and the date of the last successful restore test in writing. These items are not optional in a regulated environment, and they are the ones auditors and security reviewers ask about first.
Security and operational considerations for the baseline
The baseline sizes the cluster, database and cache, but the security and operations decisions sit on top of it. The cards below cover where card data lives, what licensing and secrets choices add to the stack, and how backups, network isolation and patching keep it running after the first deployment.
Card vault placement and database scope
Hyperswitch stores card data in its separate card vault service, so the PostgreSQL and Redis instances in the baseline should not hold raw card numbers. Confirm which vault model you run, because the Hyperswitch docs state that under the self-hosted, in-house PCI model the merchant is fully responsible for PCI DSS certification and data handling. Check that the router and scheduler databases contain tokens and metadata only, and that vault storage sits in its own database with separate access.
In-house PCI model docsRedis licensing for modified services
Redis 8.0 and later can be used under RSALv2, SSPLv1 or AGPLv3, and the choice affects you only if you change Redis code and offer it as a network service. Redis licenses FAQ says teams using unmodified artifacts see no impact, while modified code offered over a network must be made available to that service's users. Ask your legal team to confirm the license you adopt, and record the exact Redis version and build in your bill of materials.
Redis licenses pageSecrets and TLS between components
The router, scheduler, card vault, encryption service, PostgreSQL and Redis all exchange credentials and connection traffic, so the baseline needs a plan for both. Store database passwords and Redis credentials in a secrets manager rather than in Helm values committed to Git, and rotate them on a schedule you document. Enable TLS on PostgreSQL connections and on Redis connections, and confirm with your platform team which certificate authority issues them.
Network policy and namespace isolation
Restrict traffic so only the Hyperswitch router and scheduler can reach PostgreSQL and Redis, and only the card vault can reach its own storage. Use Kubernetes network policies per namespace, and keep the Control Center and its admin interface off the public internet. Confirm that your CNI plugin enforces network policies, because a policy object that the cluster does not enforce protects nothing.
Backups and restore testing
PostgreSQL point-in-time recovery depends on a base backup plus archived write-ahead log, and a backup that has never been restored is unproven. Schedule restores into a separate environment, measure how long they take, and compare the restored row counts and token references against production. Redis holds cache and scheduler queue state, so decide which Redis data you must recover and which can be rebuilt. Document both restore paths in your runbook.
Patching the monthly minor releases
Hyperswitch ships roughly monthly minor releases, and the GitHub releases page publishes a compatibility matrix for Control Center and web client versions with each one. Set a patch window that tests each release in a non-production environment before production, and read the release notes for required dependencies. The v1.124.0 notes made Superposition a required dependency, so a new service can block an upgrade if it is missing. Track PostgreSQL minor releases, which replace executables and need a restart, on the same calendar.
Hyperswitch releasesQuestions teams ask about Hyperswitch hosting requirements
What drives the cost of the Hyperswitch baseline and who pays for each part?
The baseline cost is driven by the cluster capacity, the PostgreSQL and Redis capacity, and the people who build and run them. Your organization pays the cloud or data center bill for compute, storage, load balancers, backups and any licensed software. Your team or a partner is paid for planning, installation, tuning and testing. Hyperswitch itself is Apache 2.0 licensed, so there is no license fee for the platform. The main levers are the buffers you choose on the application layer and the stateful components, the number of availability zones or sites, and how many environments you run in parallel. Ask any partner to split the quote into infrastructure you pay directly, one-time build work and recurring operations support.
Does a managed PostgreSQL or Redis service change the Hyperswitch work?
Yes, it moves work from your team to the provider, but it does not remove the sizing or the redundancy decisions. A managed database still needs the right instance class, storage, replica count and connection limits chosen for your transaction profile. You also need to confirm which high availability, backup and point-in-time recovery features the provider offers, since PostgreSQL does not include automatic failover software on its own. For Redis, confirm the license and version of the managed offering, because Redis 8 and later are available under a choice of RSALv2, SSPLv1 or AGPLv3, while older lines have different terms. Ask the provider whether the features Hyperswitch depends on, including the scheduler queue, are supported on the version you select.
How long does validation take and what makes it longer?
The time depends on how much of the stack is new to your environment and how many checks your compliance and security teams require before sign-off. Validation covers load tests at the target request rate, failover tests for the database and cache, backup restore tests, upgrade rehearsal and review of the PCI DSS scope decisions. Each of these takes longer when your network, identity or secrets setup is not yet documented, when the cluster is shared with other workloads, or when a third party must review evidence. No duration is fixed here. Ask for a timeline in the written scope that lists each test, its owner and the environment it runs in.
What skills must our internal team have to run Hyperswitch on Kubernetes?
Your internal team needs working knowledge of Kubernetes, including namespaces, resource requests and limits, persistent volumes, ingress, secrets and rolling upgrades. It also needs database skills for PostgreSQL, such as replication, backups, restore testing, connection pooling and version upgrade planning, plus operational familiarity with Redis, including replicas and Sentinel behavior when not using Redis Cluster. Someone must own the release process, because Hyperswitch ships roughly monthly minor releases and the Control Center and SDK versions must match the router. Confirm these skills against your on-call rota before you commit to self-hosting, and plan training or external support for any gap.
Can we size the Hyperswitch baseline ourselves?
Yes, a team with Kubernetes and database experience can work through the sizing logic, but it needs real traffic data and a load test to confirm the numbers. Start from your expected requests per second, apply the 40% buffer Juspay recommends for the application layer, apply the 50% buffer for the database and Redis, and add N+1 redundancy for node failures. Then test under load, because request mix, connector latency and webhook volume change the actual resource use. Juspay's worked sizing reference is a useful cross-check. A partner can run the same exercise and add independent review, but the decision still rests on your measured traffic.
What should a partner's written scope include for this work?
A written scope should name the target request rate and the buffers applied, the Kubernetes distribution and cloud or data center footprint, and the PostgreSQL and Redis versions with their supported lifecycle dates. It should list the high availability design for each stateful component, the backup and restore tests, the failover and load tests, and the monitoring and alerting handed over. It should state what the client provides, such as cloud accounts, network access, DNS, certificates and secrets stores, and what the partner delivers as documentation. Confirm the acceptance criteria, the change process for later Hyperswitch releases, and the support model that follows go-live. DeployOpen plans and implements these components in infrastructure you control and agrees the scope in writing before work starts.
Which PostgreSQL version should we choose for a new Hyperswitch deployment?
Choose a PostgreSQL version that is still in its supported window for the whole period you plan to run it. According to the PostgreSQL versioning policy, version 18 is supported until November 14, 2030, version 17 until November 8, 2029, and version 16 until November 9, 2028. Version 14 is supported only until November 12, 2026, and version 15 until November 11, 2027, so they are poor choices for a new build. Confirm the Hyperswitch release you intend to deploy supports your chosen major version, since compatibility is documented per release. Plan a major upgrade path from the start, because PostgreSQL offers logical replication and pg_upgrade for that purpose.
How DeployOpen scopes a Hyperswitch baseline review
A baseline review starts with the environment, not the sizing table. DeployOpen looks at where the Hyperswitch stack will run, which Kubernetes distribution and version the team already operates, whether the PostgreSQL and Redis services are self-managed or provided by a cloud platform, and which Hyperswitch components are planned. The review also records the target request rate, peak assumptions, the number of environments and the buffers the organization wants above the figures in the Hyperswitch system requirements. Those inputs decide which checks apply, so the written scope should name them before any configuration work begins.
The review then compares the environment with the baseline. For the cluster, that means node counts with N+1 headroom, resource requests against the application layer buffer, storage classes, and network paths to the database and cache. For PostgreSQL, it means checking the major version against the supported list, the replication topology, the failover tooling someone actually owns, connection pooling, backup and point-in-time recovery settings. For Redis, it means confirming the license and version line the team plans to run, how high availability is handled (for example, Redis Sentinel with at least three instances when not using Redis Cluster) and whether the deployment is on a supported operating system. Each gap becomes a finding with a proposed fix.
DeployOpen agrees the scope in writing before work starts. The written scope lists the systems covered, the configuration and check deliverables, the evidence the client receives, what the client must provide (access, owners, change windows) and what is excluded. Quotes follow from that document, and DeployOpen does not publish prices. Ask any partner, including DeployOpen, to break the quote into the review, the configuration work, the verification run and any retest, and to state which items recur, such as version upgrades and PostgreSQL minor updates. Confirm the exact versions and figures against the vendor pages before signing.
How DeployOpen delivers Hyperswitch infrastructure
DeployOpen plans, builds and hands over the Kubernetes, PostgreSQL and Redis foundation for a self-hosted Hyperswitch stack inside infrastructure you control. Each engagement starts from a written scope that sets the sizing basis, the buffers and the versions to be verified before anything is provisioned.
How we scope
- We confirm the target throughput, the environments and the cloud or data center where the stack will run.
- We agree in writing which Hyperswitch release, PostgreSQL major version and Redis line the stack will target.
- We record the buffers, redundancy assumptions and components you supply yourself, such as ingress and monitoring.
How we build
- We provision the Kubernetes cluster, database and cache layers according to the agreed written sizing and buffers.
- We configure PostgreSQL replication, backups and point-in-time recovery, and Redis high availability where it is in scope.
- We test failover, restore and load behavior against the agreed scope before the environment is handed over.
How we hand over
- You receive documentation of the sizing decisions, versions, configuration and the reasons behind each choice.
- We provide runbooks for upgrades, database major version changes and cache or cluster recovery.
- Handover includes a review session so your platform and security teams can question the design and its evidence.
How we support
- Engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as a retainer.
- Retainers can cover Hyperswitch release upgrades, PostgreSQL minor updates and capacity reviews as your traffic grows.
- Confirm with DeployOpen what support, response and testing the retainer includes before you sign the written scope.

