Scaling OX App Suite middleware with pod roles

Splitting core-mw pods by role lets provisioning, DAV, EAS and web traffic scale independently on OX App Suite v8 Kubernetes deployments, with routing set per service.

On this page

Scaling OX App Suite middleware with pod roles: when one pool stops being enough

Split core-mw into role-specific pools once a single workload can no longer absorb one traffic class without slowing the others. In a default layout, one core-mw workload serves web sessions, provisioning, CalDAV and CardDAV traffic, ActiveSync clients and administrative calls alike. When a bulk provisioning run, a large sync wave from mobile devices or a document-heavy editing session spikes, the other client types queue behind it. Pod roles let you size and scale each class separately. The roles named for this topic are http-api, sync, documents, admin and businessmobility, and each one maps to a set of services that the middleware exposes.

The role list, the routing rules and the labels that select pods for each role come from the product documentation for the release you deploy. Confirm them against that documentation before you write any values. The reference Helm chart and the appsuite-stack values define how the roles are wired into the deployment, so treat those files as the source of truth for the mapping, not a memory of an earlier release. Start by reading the current OX App Suite requirements and the chart values for your target version, then list which services each role owns.

The practical decision is when to split. Teams usually need roles when they can see one client type consistently driving latency or memory pressure for the others, for example when mobile sync load grows while web users see slow responses. Before splitting, check whether the problem is actually middleware capacity, since database, Redis and file storage bottlenecks produce similar symptoms. Each additional pool adds its own replica counts, resource requests, probes and routing rules, so a split that is not matched to measured load adds operational work without relieving anything.

When you do split, route every ingress path to the pool that owns it and verify that each route reaches the right role after each upgrade. Keep a test matrix that exercises web login, a provisioning call, a DAV sync, an EAS device connection and a document edit, and run it against each pool. Ask your implementation partner or your own platform team to document which pods serve which paths, because a misrouted path often works quietly until load arrives.

How traffic reaches each middleware role

The diagram is a generalized view, not a copy of any chart. Requests enter through the ingress layer, which is either Istio or ingress-nginx, and are routed by path or host to separate core-mw role deployments for web, DAV, EAS and admin traffic. Those role deployments share Redis for sessions and cache, MariaDB for primary data, and a distributed file system for persistent files, while Hazelcast links the middleware pods to one another. Check the routing rules and service names against the chart version you deploy.

Generalized request paths from ingress to core-mw roles, to be checked against the chart in use.

Which role split fits which traffic pattern

A single core-mw pool runs every role in the same pods. It is the simplest layout to build and reason about during early rollout, and it suits a small user base or a lab. Everything scales together, so a burst of provisioning work or a large sync backlog competes with interactive web requests for the same memory and worker capacity.

  • What scales: Only one unit. Adding capacity means adding identical pods, which also adds load for every role.
  • Extra cost: No additional deployments or routing rules beyond the base configuration, so configuration overhead is lowest.
  • Trade-off: A heavy DAV or EAS sync period can slow web login and calendar views, and admin jobs can delay user-facing requests.
  • Monitoring: Track latency per endpoint family so you can see when the shared pool stops being the right shape for your load.

Before running one pool at production scale, confirm in the OX App Suite requirements and your release notes that the default layout is the one Open-Xchange tests for your expected size.

Role-by-role configuration options and when each fits

This table compares the five core-mw pod roles by the traffic each one serves, why isolating it helps, the routing match it needs and what to confirm in the chart values. Read each row as a checklist for deciding which roles to split out first and which can stay combined until load data shows a need. Starting resource sizes belong to the sizing topic, so use this table for routing and configuration decisions.

RoleTraffic it servesReason to isolate itRouting match and chart values to confirm
http-apiInteractive web and mobile client requests to the core API, including mail, calendar and contacts reads and writesInteractive latency is the most visible failure, so it is often the first role to scale or protect from batch loadMatch the main API paths used by the App Suite frontend at the ingress or Istio layer; confirm the role name, replica count and whether it is enabled as a separate deployment in your chart version
syncBackground synchronization work that keeps clients and stored data aligned, such as device and folder syncSync load can spike after reconnects or large mailbox changes and should not starve interactive requestsConfirm in the chart values that sync runs as its own deployment and that no client-facing path is routed to it; verify which paths, if any, reach it directly
documentsDocument editing, file handling and Drive-related requests for office files and shared filesDocument conversion and editing bring different CPU and memory patterns from mail trafficMatch the Documents and Drive API paths; confirm storage access to the distributed file system (NFS or object storage) is configured identically for this role
adminAdministrative and provisioning operations, such as context, user and configuration managementAdmin operations are low volume but high impact, so isolating them limits exposure and keeps them off user-facing podsRestrict routing to administrative paths and internal networks only; confirm access controls, network policy and that no public ingress rule targets this role
businessmobilityBusiness mobility traffic for device and mobile synchronization, including Exchange ActiveSync (EAS) and DAV clientsMobile and DAV clients keep long-lived connections and generate steady background requests that differ from web trafficMatch the EAS and DAV paths for mobile clients; confirm connection timeouts, request body limits and any session affinity requirements in the ingress or Istio configuration for your client mix

Setting up role-based core-mw deployments in order

This sequence takes a cluster from a confirmed Kubernetes and Helm baseline to separately scaled core-mw role pools, each reachable through the right route and verified with health probes and a traffic test.

  1. Confirm Kubernetes, Helm and ingress baseline

    Confirm the cluster runs a Kubernetes version that OX App Suite v8 supports (N-1 or N-2 according to the requirements), and that the Helm client is 3.17.0 or newer. Then choose the traffic path: Istio, which the requirements call for with its supported release window, or the basic ingress-nginx option where Istio cannot be used. Record the choice in the change plan, since routing rules in later steps depend on it. Done when helm version reports 3.17.0 or newer and the ingress path is written down with the version of each component.

  2. Check the Kubernetes version skew before rollout

    Compare the target cluster version with the kube-apiserver version and the kubelet versions on every worker node. The Kubernetes version skew policy requires the API server to be upgraded one minor version at a time and allows kubelets up to three minor versions behind. Fix any skew before adding role deployments so that a problem in pod scheduling is not confused with a routing problem later. Done when every node reports a version inside the allowed window and the control plane is fully upgraded.

  3. Define role deployments in chart values

    Using the App Suite Helm charts, create one core-mw deployment per role (http-api, sync, documents, admin and businessmobility) in your values files. Give each role its own replica count, resource requests and limits, and labels that routing rules can match. Keep the Java memory settings consistent with the sizing guidance for your cluster, and confirm which roles your license and modules actually include, since some features may be packaged or priced separately. Done when helm template renders one Deployment and one Service per role, with distinct names and labels, and no role is accidentally missing.

  4. Confirm Redis and MariaDB reachability from every role

    Every role pool must reach the Redis instance used for caching and sessions (Redis 7.4.x, deployed by default through the littlered operator or configured as an unmanaged instance) and the MariaDB backend (InnoDB, with a supported version such as 10.11.x or 11.8.x). Run a connectivity test from a pod in each role deployment, not just from one pod, because network policies can differ per namespace or label. Done when each role pod connects to Redis and to the database host and port, and the test output is saved with the role name.

  5. Verify Hazelcast discovery spans all pools

    Hazelcast members must find each other across the new role deployments, otherwise cluster state such as session and cache coordination is split between pools. Check that the Hazelcast Kubernetes discovery settings point at a service or label selector that includes pods from every role, and that the cluster membership log lists the expected number of members after startup. Securing the cluster communication should be planned here as well. Done when every role pod joins the same Hazelcast cluster and the member count in the logs matches the total pod count across all roles.

  6. Configure routing per service path

    Write the routing rules that send each service path to the right role: provisioning and administrative calls to admin, DAV and sync traffic to sync, EAS and mobile paths to businessmobility, document editing to documents, and general web and API traffic to http-api. Apply the rules through Istio virtual services or the ingress-nginx configuration you chose in step one. Confirm the exact path prefixes against the official requirements and operations documentation for your release, because route names differ between versions. Done when a test request to each path resolves to the expected role service and no path falls through to an unintended default.

  7. Verify health probes and run a traffic test per role

    Check that the readiness and liveness probes for each role return healthy status and that pods only receive traffic once ready. Then send representative load for each traffic type (web sessions, sync, EAS, document editing and admin calls) to its role, and watch pod CPU, memory and error rates separately. A role that fails under its own traffic indicates a sizing or routing issue that can be fixed without scaling the others. Done when every role shows healthy probes, its representative traffic completes without errors at the target load, and the results are recorded so you can compare them after future changes.

Security risks when pods are split by role

Splitting core-mw into role-specific deployments adds routing rules, service accounts, and network paths that did not exist in a single pool. Each card below is a place where an admin path, a cluster port, or a shared secret can widen access if the split is not enforced at every layer.

Admin role exposure through ingress

The admin role carries the most sensitive API surface, so its route must never be reachable through the same ingress rule as public web traffic. Confirm that the ingress or Istio configuration sends only the paths each role needs to each deployment, and that the admin path is limited to internal networks or a bastion. Test the boundary from outside the cluster, since a single broad path prefix can expose admin endpoints without any error.

OX requirements

Network policy between roles

Kubernetes allows pods to talk to each other by default unless network policies restrict them. Define which roles may call the sync, documents, and admin pods, and deny everything else, including traffic from web pods to admin-only ports. Ask your platform team which CNI plugin enforces NetworkPolicy in your cluster, because a policy object that the network layer ignores gives no protection.

Service account and secret scope per role

Kubernetes authenticates workloads through service accounts, and a shared account lets any role read every secret mounted into the namespace. Give each role its own service account, bind it with least-privilege RBAC, and mount only the database, Redis, and mail credentials that role uses. Secrets are stored unencrypted in etcd by default, so confirm encryption at rest is enabled before splitting credentials further.

Secrets good practices

Hazelcast cluster traffic

Middleware pods discover each other and exchange cluster state through Hazelcast, so a pod outside the intended role set that can reach the Hazelcast port can join or observe the cluster. Restrict the Hazelcast port to middleware pods with a network policy, and confirm that cluster communication is protected as your deployment guidance describes. Treat any new role deployment as a new cluster member that must be admitted deliberately.

Pod Security Standards on each deployment

Each role deployment is a separate pod template, so a hardening setting applied to one may be missing from another. Apply the baseline or restricted Pod Security Standards level to the namespace and check every deployment for privilege escalation, host networking, and writable root filesystems. Verify the settings in the rendered manifests, because Helm values can differ between role overrides without any warning.

Pod Security Standards

Audit logging of admin-path requests

Admin requests change provisioning, quotas, and account state, so they need a record that can be reviewed later. Confirm that requests to the admin role are logged with the caller identity, the path, and the outcome, and that these logs are shipped out of the pod to storage the operations team controls. Ask the vendor which admin actions are logged by default, because gaps in that list determine what an investigation can reconstruct.

How routing and shared state constrain role scaling

Splitting core-mw pods by role changes which code paths run where, but it does not change what those pods share. Every role still reads and writes sessions and cache in Redis 7.4.x, stores its primary data in MariaDB with the InnoDB storage engine, and reaches persistent files such as OX Drive content and PIM attachments on a distributed file system, either NFS or object storage. A documents pod that is idle while sync pods are saturated will not help if the saturation is on the database connection pool or on a Redis instance that all roles hit. Before you add pods to one role, confirm which shared dependency is the limit, because a role split relieves the middleware CPU and memory pressure of its own traffic and little else.

A role split helps most when the constraint sits inside the middleware: long-running provisioning or admin jobs competing with interactive mail and calendar requests for the same threads, or DAV and EAS sync load that is out of proportion to web traffic. It does little for slow queries in MariaDB, lock contention on shared rows, Redis latency, or NFS throughput, and it can make those problems worse by sending more concurrent connections to the same backend. Route each service to its intended role through the ingress layer and verify the mapping with real requests, because a misrouted path silently moves load back onto the wrong pods. Measure per-role request latency, connection counts to MariaDB and Redis, storage latency on the file system, and pod resource use under peak traffic, and ask Open-Xchange to confirm which metrics and sizing guidance apply to your release before changing replica counts.

Limits to confirm before you split roles

Splitting core-mw pods by role changes what your chart, your test coverage and your licensing look like. Each card below is a limit to confirm with Open-Xchange or in your own environment before you commit to a layout, since the answers decide which roles you can run and how long you can stay on a release.

Role names in your chart version

The role names used in this article, such as http-api, sync, documents, admin and businessmobility, must match what the Helm chart version you deploy actually accepts. Confirm the exact keys and values in the chart you plan to use, because a role name that the chart does not recognize can leave traffic unrouted or pods unscheduled. Record the chart version alongside your split so an upgrade does not silently change the mapping.

App Suite release line
v8
Requirements docs

Role combinations Open-Xchange tests

Open-Xchange's testing covers particular role layouts, and a split that matches none of them is a layout you will validate yourself. Ask which role combinations are part of its test matrix and which are not, including whether sync and DAV traffic are tested on separate pods. Treat any untested combination as a change that needs your own load, failover and regression tests before production use.

Module licensing under the agreement

Some modules and features may be subject to custom packaging, limitations or separate fees set in the license agreement. Before you dedicate pods to a role such as businessmobility or documents, confirm in writing that your contract covers that role and its traffic. A role that runs but is not licensed creates a compliance gap that surfaces at audit time, not at deployment.

Operations Guide

Standard release support window

A standard release is supported for 12 weeks, ending with the availability of the third following release. If you split roles on a standard release, plan your upgrade cadence so each role layout moves to a supported release before its support window closes. Confirm with Open-Xchange which release is current when you start, since a layout validated on an unsupported release has no vendor fix path.

Support commitment

LTS support until the next LTS

An LTS release is supported until the next LTS release plus six months. For a role layout you expect to keep for years, an LTS line gives a longer window to stay on one tested configuration, but you still need a planned move to the following LTS. Ask Open-Xchange for the current LTS and its end date, and schedule role changes to coincide with those windows rather than with the last month of support.

Istio compatibility for routing

Routing each role correctly depends on the ingress layer, and App Suite 8 requires Istio, supporting the latest Istio release plus two prior versions. Confirm which Istio version your cluster runs and that your virtual service rules send each path to the right role service. If Istio cannot be used, the basic ingress-nginx option changes how routing is expressed, so re-test every path after switching.

Supported Istio releases
3
Istio requirements

Questions buyers ask about middleware role scaling

How much effort does splitting core-mw pods by role take, and who does the split?

The effort depends on how many middleware pools you already run, how your ingress routes each service, and how much testing your platform team wants before cutover. DeployOpen plans and implements the split under a written, fixed scope when that is the agreed model, so the quote is built from the number of role pools, routing rules and verification steps in that scope. Your platform team usually stays involved for cluster access, change windows and sign-off. Ask any partner to list the role pools, the routes each one serves and the test cases they will run before cutover, because those items drive the hours more than the pod count does.

Is a single middleware pool enough for our user count?

A single pool can work for a smaller deployment, but the answer depends on your traffic mix, not on mailbox count alone. Provisioning jobs, DAV sync, Exchange ActiveSync traffic and web sessions load the middleware in different ways, so a burst from one can slow the others when they share pods. Measure request rates, latency and resource use per service in your own environment before deciding. Open-Xchange's sizing guidance covers starting sizes and when to scale out rather than up, and it is the right reference to check against your numbers.

What does the work need from our platform team?

Your platform team needs to provide cluster access, a staging environment that matches production closely enough to test routing, and a change window for cutover. They also need to confirm how ingress is handled, whether Istio or the basic ingress-nginx option is in use, and which Redis and Hazelcast setups are in place, because role routing depends on all of them. Plan for someone who can review Kubernetes manifests and Helm values and who can roll back a change. Confirm these responsibilities in writing before the work starts.

Can our own team split the middleware by role without a partner?

Yes, a capable platform team can do the split, provided it has Kubernetes and Helm experience, a staging environment and time to test each service route. The risk lies in routing mistakes: a request sent to the wrong role pool can fail quietly until a user reports it. Make a test plan that covers provisioning, DAV, EAS and web login before you touch production. Many teams bring in a partner for the first split and then run it themselves, so ask a partner whether they hand over runbooks and test scripts as part of the scope.

How do role changes affect our OX App Suite upgrades?

Each upgrade has to be tested against your role layout, because a new release can change which services a pod expects to reach or how its health probes behave. Open-Xchange supports a standard release for 12 weeks, ending with the availability of the third following release, and an LTS release until the next LTS release plus six months. The current LTS named in the support commitment is v8.47, so check which line you run before planning upgrade windows. Include a repeat of the routing tests in every upgrade plan.

What does a quote for this work depend on?

A quote follows from the written scope, so it depends on the number of role pools, the services each one serves, the ingress and Redis setup you already run, the staging environment available and the test coverage you require. It also depends on whether you need post-cutover support or a retainer for upgrades. Licensing is separate: Open-Xchange's Operations Guide notes that some modules or features may be subject to custom packaging or separate fees set in the license agreement, so confirm which modules you use. DeployOpen does not publish a price list.

How long does the split take from start to finish?

The duration depends on how many role pools you introduce, how complete your staging environment is and how many test cycles your change process requires. No timeline is supplied for this work, so ask for a timeline in the written scope that lists each phase, the test gates and the cutover window. Ask the partner to tie each phase to a deliverable you can review, such as a routing table, a passing test run or a rollback rehearsal.

How DeployOpen works on this

DeployOpen plans and implements role-based core-mw scaling for OX App Suite inside your own Kubernetes clusters and network. We start from your traffic profile and compliance constraints, then build, test and document each role split so your team can run and extend it.

How we scope

  • Map your provisioning, DAV, EAS, web and admin traffic to the core-mw roles you need before any pod is split
  • Agree in writing which roles, namespaces, routes and dependencies are in scope, including Redis, Hazelcast and the mail backend
  • Confirm with Open-Xchange which role names and versions your App Suite 8 release supports before the build starts
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins

How we build

  • Deploy role-specific core-mw releases through the Helm charts in your clusters, with resource limits set per role
  • Configure service routing and ingress so each traffic type reaches only the role that serves it
  • Verify Hazelcast discovery and session handling across the split pods, and test failover for each role
  • Run load and failure tests against your expected traffic mix, then record the results and any tuning changes

How we hand over

  • Deliver a written architecture record covering role layout, routing rules, scaling triggers and configuration values
  • Document the upgrade sequence for each role so future App Suite releases can be applied without re-splitting pods
  • Walk your platform and operations teams through day-two tasks such as adding replicas, moving users and reviewing logs
  • Provide test scripts and runbooks your team can rerun after changes

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover
  • Retest role routing and scaling behavior after each App Suite release or Kubernetes upgrade within the agreed scope
  • Review changes to traffic patterns and recommend role adjustments with a written update
  • Confirm support terms, response expectations and the retainer scope with us before signing

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.