Skip to content
Maintenance & updates

Search, cache, queue: maintaining a shop's side services

Search server, cache store, message queue and reverse proxy each have their own support windows. How to keep inventory, compatibility and update order in check.

21 min read WartungSuchserverCachingUpdates

In short and in plain language

An online shop often needs extra programs. A search server helps with search. A cache store makes pages faster. A queue is a waiting line for tasks in the background.

Each of these programs gets updates only for a certain time. After that, the project usually stops fixing errors. The project website says when this happens. Write down for each program which version runs and how long it gets updates.

Before each update, check that the shop knows the new version. Test the update on a copy of the shop first. Then rebuild the index for the search. Then clear the cache. Last, restart the programs for the tasks in the background.

Watch the memory. When the memory is full, tasks pile up. You often do not see this in the shop right away. Agree in the maintenance contract who takes care of it.

A shop rarely consists of just the application, PHP and a database. Alongside them run services that hardly anyone watches as long as they work: a search server holding the product index, a cache store for pages and sessions, a message queue for background tasks and often a reverse proxy that delivers finished pages in front of the shop. Each of these services has its own lifecycle with its own deadlines. With OpenSearch, for example, a major version by default stays under maintenance until the next major version enters maintenance or 1 year passes, whichever is longer (OpenSearch). The 1.x line reached the end of its maintenance window on May 6, 2025 (OpenSearch). The minimum version Shopware lists for the search server, on the other hand, is OpenSearch 1.0 (Shopware Developer Documentation). This article shows what an inventory of side services looks like, how to check compatibility with the shop version, in which order updates run and what belongs in the maintenance contract. The operating system and the database are covered in the article on end of support in the server stack.

Key takeaways

  • With OpenSearch, a major version by default stays under maintenance until the next one enters maintenance or 1 year passes, whichever is longer (OpenSearch). The 1.x line has been without maintenance since May 6, 2025 (OpenSearch).
  • The shop's minimum version is not a support window: Shopware lists OpenSearch 1.0 as the minimum and 2.17.1 as the recommendation (Shopware Developer Documentation). The inventory needs both values per service, shop approval and end of support.
  • Update sequence: test the service together with the shop on staging, rebuild the search index, clear the cache, restart the queue workers. Symfony calls for restarting all workers on every deploy (Symfony Documentation).
  • Shopware roughly sorts Redis data into 3 categories and counts carts and number ranges as durable, critical data (Shopware Developer Documentation). Restarting such an instance without persistence loses more than cache.
  • By default, RabbitMQ blocks publishers at about 60% memory use and below 50 MB of free disk space (RabbitMQ). Without monitoring, this only shows up once background tasks start piling up.
  • The maintenance contract should cover the side service inventory, their support windows, the update sequence and monitoring of memory and fill levels, with one responsible person and a date for every version jump.

The services next to the shop

When people talk about shop maintenance, they usually mean the core, the extensions, PHP and the database. These layers usually appear in the maintenance plan, and their deadlines are well known. The services next to them show up there less often. That is rarely a lack of care; it is about how they enter operations: a search server is set up when the catalog grows, a cache store when pages get too slow, a dedicated queue when the database suffers under background tasks. After that they simply run, and because they run, nobody asks about their version.

Shopware explicitly lists these services as part of the stack in its hosting documentation: search, cache and key-value store, web server and queue appear there with a minimum version and a recommendation, next to PHP and the database (Shopware Developer Documentation). Search, cache store and queue are marked as optional there. In this context, optional means the shop starts without them. Once a shop uses them, however, search, load times and background tasks depend on them, and then they are part of operations like any other layer.

Search server

OpenSearch or Elasticsearch holds the product index for search and filters. The data comes from the shop's database; the index is a derived copy that can be rebuilt.

Cache store

Redis or Valkey holds the HTTP cache and object cache and, depending on the setup, sessions, carts and number ranges. Not all of that is ephemeral, and that is exactly what decides how to update it.

Message queue

RabbitMQ or the database itself takes on background tasks such as indexing and imports. Worker processes handle the messages and run with the code they loaded at startup.

Reverse proxy

Varnish or a comparable service delivers finished pages from memory before the request reaches the shop. When a product changes, the shop removes the affected entries there in a targeted way.

All four services have one thing in common: a failure rarely looks like a failure. If the search server goes down, Shopware can, depending on the setting, fall back to database search and only log the error (Shopware Developer Documentation). If the queue fills up, tasks pile up without the home page showing any error. The article on silent job failures deals with that pattern. This article is about the question before it: which version is running, how long it is maintained and how to update it safely.

Every service has its own calendar

Maintenance rules differ from project to project, and each one lives on its own page. OpenSearch spells out its rule: when a new major version is released, the last minor version of the previous one enters a maintenance window with bug fixes and security patches but no new features. By default, that window lasts until the next major version enters maintenance or 1 year passes, whichever is longer (OpenSearch). In the table on the releases page, the 1.x line is listed as end-of-life with its maintenance window ending on May 6, 2025, 2.x is under maintenance until the general availability of 4.0 (OpenSearch), and 3.x is the current line (OpenSearch). New minor versions are meant to ship approximately every eight weeks (OpenSearch), and new major versions are announced in the forums at least 4 weeks before the release date (OpenSearch).

Redis follows a different pattern. A new major version is planned once a year (Redis). The latest stable release is fully maintained; two additional versions only receive fixes for critical bugs and major security issues, namely the previous minor version and the previous major release (Redis). Older releases are unmaintained under this rule. For an inventory, this means that with Redis the end of support does not follow from a fixed date but from the distance to the latest release. Teams running Valkey instead, which Shopware also lists, look up the rule on that project's release page.

RabbitMQ keeps a table with fixed dates per release series. The 4.4 series was released on October 20, 2026, community support for 4.3 ends on January 31, 2027, and for 4.2 it already ended on July 31, 2026 (RabbitMQ). Releases not listed in the table are considered unsupported (RabbitMQ). The windows are short: between the release of 4.3.0 on April 23, 2026 and the end of community support there are just over nine months (RabbitMQ). Teams running RabbitMQ therefore plan version jumps on a fixed schedule rather than at the next incident.

The reverse proxy looks similar. The Varnish releases page lists the supported releases in a table with a column for the end-of-life date and states that all releases not mentioned there are end-of-life and unsupported (Varnish). If the service was installed from the distribution's package repositories, also check which version the distribution ships and how long it maintains that version itself. That can differ from the project calendar, and the inventory then records the deadline that applies to the version actually installed.

ServiceWhere the rule is publishedType of deadlineWhat goes into the inventory
Search server (OpenSearch)OpenSearch, releases page, Maintenance Policy sectionmaintenance window per major version, at least 1 yearmajor and minor version, status per table
Cache store (Redis)Redis, release cycle pagelatest release plus two maintained predecessorsdistance to the latest stable release
Queue (RabbitMQ)RabbitMQ, Release Informationfixed date per release seriesend of community support
Reverse proxy (Varnish)Varnish, releases pageend-of-support column per releaseversion, package source, module version

What the shop requires and what is maintained

The second question is compatibility with the shop version. In its hosting documentation, Shopware lists OpenSearch 1.0 or Elasticsearch 7.8 as the minimum for search and OpenSearch 2.17.1 as the recommendation (Shopware Developer Documentation). For the cache store, Redis from version 7 applies, and Valkey 8.0 is recommended (Shopware Developer Documentation). For the queue, any transport supported by the Symfony Messenger component will do, and RabbitMQ is recommended. Without a dedicated setting, the SQL database serves as the queue; for production systems, Shopware explicitly recommends a dedicated queue system (Shopware Developer Documentation).

These figures read like a free pass, and they are not one. The minimum version describes what the shop technically works with, not whether the service still receives security fixes. OpenSearch 1.x meets the minimum and has been without maintenance since May 6, 2025 (OpenSearch). Conversely, the newest release of a service is not automatically approved by the shop: support for OpenSearch 3.1 arrived with Shopware 6.7.3.1 (Shopware Developer Documentation). And individual features need higher versions than the shop itself, for example the search preview in the administration, which requires OpenSearch 2.12 or Elasticsearch 8.8 (Shopware Developer Documentation).

For every service there are therefore three values to read together: the minimum version of the shop, the versions the shop explicitly supports in the version you run, and the support window of the project. Only a version that fits all three columns is a sound choice. If the shop runs an older version that does not yet know the new release of a service, the shop update is the precondition for the service update. Shopware recommends the same approach for PHP: the PHP version is raised to the new minimum before a major version jump, because the supported versions overlap (Shopware Developer Documentation).

The comparison is not a one-off step. Shopware publishes updates every month and major versions once a year (Shopware Developer Documentation), and each of them can shift the list of supported versions. How much a version jump means for the service itself is stated in its change lists. For OpenSearch 3.0, the documentation names JDK 21, among other things, as the minimum Java runtime (OpenSearch Documentation) and states that indexes created in versions earlier than 2.x are no longer supported and must be reindexed before upgrading (OpenSearch Documentation). Jumping from 1.x straight to 3.x is therefore not a simple package swap, and the Java runtime the service runs on has to match the new release.

The side service inventory

An inventory answers the questions before someone asks them during an incident. It does not have to be elaborate; a table in the maintenance handbook is enough as long as it is kept current. What matters is that the values come from the running system, not from memory or from the quote the server was once ordered with. The OWASP Top 10:2025 explicitly lists software that is vulnerable, unsupported or out of date under category A03 "Software Supply Chain Failures"; in the tested data, this category has the highest average incidence rate (OWASP). The list of affected components there ranges from the operating system through web server and database to runtime environments and libraries (OWASP).

  • Service and role: search server, cache store, queue or reverse proxy, plus the shop function that depends on it.
  • Version and source: exact version, plus the distribution's package repository, the project's package, a container image or a service rented from the hosting provider.
  • End of support per project: date or rule from the releases page, with the date of the last check.
  • Approval by the shop: minimum version, recommended version and the highest version the shop version in use supports.
  • Dependencies: the Java runtime for the search server, modules such as xkey for the reverse proxy, the PHP extension for AMQP with a RabbitMQ queue.
  • Type of data: ephemeral, durable or critical; this decides whether a restart costs data.
  • Monitoring and ownership: which metrics are watched, who acts on a warning and who plans the next version jump.

For rented services, the source field names the provider, and the question about the version goes to them. Who updates which layer is then a contractual matter; the article on hosting provider vs. maintenance sorts out these responsibilities. For side services, the fine print deserves extra attention, because search servers and cache stores are often booked as add-ons and do not appear on any update list of the shop. Maintenance also covers who can reach a service: according to its own documentation, Redis is designed to be accessed by trusted clients inside trusted environments (Redis). The port of a cache store therefore does not belong on the open internet, and the inventory records which interface the service listens on.

The order of an update

Updating a side service is rarely a single command. The service holds state: an index, stored pages, waiting messages. After the update, that state has to match both the new release and the shop. A fixed sequence has proven itself; it starts the same way for all four services and only differs during cleanup. It is rehearsed on a staging environment that runs the same combination of shop version and service versions as production.

Update the service and the shop in the same combination as in production and test the key flows: search, filters, cart, checkout and background tasks.

The order of the last three steps is deliberate. If the cache is cleared before the index is finished, it immediately fills up again with pages based on a half-built index. Workers that start before the cache is cleared may still run with an old state. Symfony, whose Messenger component the Shopware queue builds on, therefore describes restarting workers as a fixed part of every deploy: all worker processes should restart so they pick up the new code (Symfony Documentation). How this sequence fits into a maintenance window without lost revenue is described in the article on maintenance windows.

Search server: rebuild the index instead of rescuing it

The search server has one helpful property: the data in the index is derived. Products, prices and properties live in the shop's database, and the index is generated from it. Shopware fills it with the es:index command and rebuilds the whole shop with dal:refresh:index --use-queue, including the search index, SEO URLs and product index (Shopware Developer Documentation). Some systems then still need es:create:alias if indexing completed without errors and products still do not appear in the storefront (Shopware Developer Documentation).

That opens a path that is simpler for many shops than an upgrade inside the running cluster: set up a new search server in the target version, build the index there from the database and switch the shop over. OpenSearch itself names four supported methods for upgrades and migration, including the rolling upgrade node by node, snapshot and restore, and reindexing from the old cluster (OpenSearch Documentation). The rolling upgrade only works between adjacent major versions. Before any of these methods, the documentation recommends backing up configuration files, taking a snapshot and stopping nonessential indexing (OpenSearch Documentation). For a shop whose index is generated from the database anyway, the rebuild is often the clearer option, because it ends with a fresh index without legacy baggage.

On cluster size, Shopware offers guidance from practice. According to the documentation, reliability starts at a minimum of three nodes, because the master node is chosen by election (Shopware Developer Documentation). For new indexes, Shopware uses three shards and three replicas by default (Shopware Developer Documentation). A replica is not created on the same node as its primary shard (Shopware Developer Documentation). If you run a search server with a single node, you therefore lower the number of replicas in the configuration on purpose instead of living with indexes that are permanently not fully distributed.

Cache store: ephemeral or durable

With the cache store, the type of data decides how to handle an update. Shopware sorts the data that can live in Redis roughly into 3 categories (Shopware Developer Documentation): ephemeral data such as caches, which can easily be recreated when lost; durable but aging data such as sessions; and durable, critical data such as carts, number ranges, locks and increments. Because a single Redis instance cannot apply different eviction policies to individual databases, Shopware recommends separate instances per type of data (Shopware Developer Documentation).

A simple rule follows for updates. An instance that only holds the HTTP and object cache may run without persistence and start empty after the update; the shop refills it. An instance with sessions, carts or number ranges needs persistence through snapshots or an append-only file (Shopware Developer Documentation) and a verified backup before the restart. Running both in one instance means that a poorly prepared restart loses not just load time but open carts, and the state of the number ranges then depends on the last backup.

The eviction policy belongs in the inventory as well. For the cache, Shopware recommends volatile-lru, for sessions allkeys-lru and for the critical data volatile-lru again, so that keys without an expiry are not evicted (Shopware Developer Documentation). The Redis documentation adds a point that is easy to overlook during updates: the volatile policies behave like noeviction if no keys have an associated expiration (Redis). The store then accepts no new data at its limit. In this context, Shopware warns about tag indexes of the Symfony cache that are stored without an expiry and collect orphaned entries over time (Shopware Developer Documentation). What a stale cache does to content is described in the article on cache drift.

Queue and workers: restart after every deploy

The queue is the service where an update most easily loses work without anyone noticing. Symfony points out that messages may still be pending in the queue when a new version is deployed; if the message class changes, those older messages may no longer deserialize correctly (Symfony Documentation). So before the update the queue should be empty or at least quiet, and after the update someone looks at the failed messages.

Shopware handles failed messages through a dedicated transport. A message is retried automatically 3 times; if it fails again after that, it is deleted (Shopware Developer Documentation). The documentation explicitly requires a worker for the failed queue as well, because otherwise those messages are not processed (Shopware Developer Documentation). For production systems, Shopware recommends command-line workers instead of the admin worker, which only processes tasks while someone is logged in to the administration (Shopware Developer Documentation).

On the number of workers, Shopware gives a value from experience: up to three worker processes are normal and useful in production; if you need more, hand the queue to a dedicated service such as RabbitMQ so the database does not become a bottleneck (Shopware Developer Documentation). If RabbitMQ is in use, its calendar comes on top, and with it the PHP extension for the AMQP protocol, which has to match the PHP version. Workers also should not run forever: Symfony recommends limits on message count, memory or run time and a process manager such as systemd or Supervisor that restarts the workers afterwards (Symfony Documentation).

Reverse proxy: the module counts too

With the reverse proxy, compatibility often sits not in the service itself but in an add-on module. Shopware works with Varnish through the xkey module, which removes cache entries by key in a targeted way. It is not part of the default Varnish installation and is available for Varnish 6.0 or higher (Shopware Developer Documentation). Updating Varnish therefore also requires the matching module for the new release. If it is missing, the configuration may fail to load depending on the setup, or the shop can no longer remove pages from the cache in a targeted way after a product change.

The shop's own configuration has shifted across versions as well. The configuration key for the reverse proxy was storefront.reverse_proxy up to Shopware 6.5 and has been shopware.http_cache.reverse_proxy since 6.6 (Shopware Developer Documentation). A shop update can therefore require an adjustment to the proxy connection even if the proxy itself stays unchanged. For the check afterwards, the documentation gives a simple test: if the Age header shows only the value 0, the cache is not working (Shopware Developer Documentation). This check belongs in the acceptance after every update of shop or proxy, together with a measurement of load times from performance maintenance.

Monitor memory and fill levels

Side services rarely fail with a bang. More often they hit a limit that is set by default, or is not. By default, RabbitMQ raises a memory alarm when a node uses about 60% of the available RAM and then blocks all connections that publish messages (RabbitMQ). If free disk space drops below 50 MB, RabbitMQ blocks all publishers as well (RabbitMQ); the space is checked at least every 10 seconds (RabbitMQ). For the shop, this means new background tasks no longer arrive while the site itself looks normal.

Redis has the opposite problem. Without a setting, Redis does not limit memory for the dataset at all on 64-bit systems (Redis); the value 0 for maxmemory means no limit (Redis). Memory then grows until the operating system steps in. With a limit set, the evicted_keys metric and the ratio of hits to misses show whether the eviction policy fits (Redis). For the search server, a look at the shop's log is worthwhile in addition to memory and disk space: if error handling is set so that search errors are only logged, the shop falls back to database search (Shopware Developer Documentation), and a failed index only shows up as poorer search results. How this affects search upkeep is covered in the article on shop search.

ServiceMetricHow a problem becomes visibleDefault limit
Search servercluster state, memory, disk space, index agesearch returns stale or no results, fallback to database search in the logaccording to the cluster configuration
Cache storememory used, evicted keys, hit ratioload times rise, sessions or carts get lostRedis: no limit on 64-bit systems (Redis)
Queuenumber and age of waiting messages, failed messages, running workersindexing and imports pile upmemory alarm at about 60%, disk alarm below 50 MB (RabbitMQ)
Reverse proxyhit ratio, Age header, memoryAge stays at 0, load on the shop risesaccording to the proxy configuration

These metrics belong in the same monitoring as availability and response times, with thresholds that warn before the service reaches its limit, not at it. Monitoring that only fetches the home page sees none of these values; for Shopware shops, our monitoring therefore covers the message queue status, indexing and cache hit rates. For disk space, the same applies as in the article on disk space: the threshold is set so there is enough time to act between the warning and the limit. For the queue, the age of the oldest message matters as much as the length, because a short queue with old messages points to stalled workers.

What belongs in the maintenance contract

A maintenance contract that only names "server and shop" leaves open who takes care of the services in between. That gap typically only shows when a deadline has passed or a service hits its limit. It makes sense to name the side services explicitly and to define per service which tasks are included. An SLA maintenance contract can carry these points as a section of its own:

  • Inventory of all side services with version, source, type of data and end of support, updated with every change
  • Review of support windows on a fixed schedule, with lead time before every end of support and a date for the version jump
  • Compatibility check against the shop version in use before every update of the shop or a service
  • Update procedure with staging, backup, index rebuild, cache clearing and worker restart
  • Monitoring of memory, disk space, queue fill level and failed messages with warning thresholds
  • Clear ownership for rented services: what the hosting provider updates and what maintenance takes on

Security fixes for side services fit into the same routine as the security updates for the shop and its extensions. For Shopware shops, checking supported versions is part of Shopware maintenance anyway, and every intervention starts with a verified backup from the backup service. If you also want to keep an eye on orphaned extensions, the approach is described in the article on abandoned plugins. The effort stays manageable once the inventory exists: most checks are queries, and version jumps can be planned with lead time instead of happening under pressure.

Sources

This article is based on data from: OpenSearch (Release Schedule and Maintenance Policy); OpenSearch Documentation (Breaking changes, Migrate or upgrade OpenSearch); Shopware Developer Documentation (Hosting, Set up Elasticsearch, Message Queue, Redis, Reverse HTTP Cache, Performing Shopware Updates); Symfony Documentation (Messenger); Redis (Release Cycle, Key eviction, Redis security); RabbitMQ (Release Information, Memory Threshold and Limit, Free Disk Space Alarms); Varnish (releases page); OWASP Top 10:2025, A03 Software Supply Chain Failures. The sources were accessed on October 30, 2026.

Related Articles

Maintenance & updates

Moving Shop Servers Without Losing Orders: A Runbook

Resolvers may keep serving stale DNS answers for 1 to 3 days. How a shop moves servers without losing orders, cron jobs or payment notifications.

20 min read
Maintenance & updates

Hosting provider or maintenance: who patches what

Where the hosting provider’s responsibility ends and maintenance begins: a matrix across every layer of the shop, questions to ask and clear handover points.

16 min read
Maintenance & updates

End of support under the shop: OS and database

Debian 11, MariaDB 10.6 and MySQL 8.0 dropped out of maintenance in 2026. How to inventory distribution, database and PHP and plan the upgrades with lead time.

17 min read