Quick revision
The short answer
I would decide with numbers, not taste: the total cost of today's duplicated clusters and on-call against the cost of a platform team plus migration. Usually the best answer is a central platform that owns infrastructure and a standard CDC-based indexing pipeline, possibly running on a managed service, while each domain team keeps ownership of its mappings and relevance. A managed service reduces operations but does not solve the sync design that is causing the stale-search incidents, and the licence history of Elasticsearch and OpenSearch is part of the vendor risk we must weigh.
What to remember
In this answer, we decided between letting teams continue, buying a managed service and building a central platform by first classifying incidents and then comparing total cost. A managed service reduces operations but not the sync design problem behind stale search, so the best structure is usually a platform, possibly on a managed service, that centralises infrastructure, a standard CDC-based pipeline, templates and monitoring, while teams keep relevance and mappings. We also weighed the licence history of Elasticsearch and OpenSearch as vendor risk and planned a measured, pilot-first rollout.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
I would decide with numbers, not taste: the total cost of today's duplicated clusters and on-call against the cost of a platform team plus migration. Usually the best answer is a central platform that owns infrastructure and a standard CDC-based indexing pipeline, possibly running on a managed service, while each domain team keeps ownership of its mappings and relevance. A managed service reduces operations but does not solve the sync design that is causing the stale-search incidents, and the licence history of Elasticsearch and OpenSearch is part of the vendor risk we must weigh.
Why this question is asked
Questions like this come up when an organisation has grown past the point where every team doing its own thing is cheap. The recurring stale-search incidents are the symptom; the decision is about ownership, cost and risk for years ahead. Interviewers ask it at this level to see whether we can separate the problems (operations, sync design, relevance), gather evidence, and choose a structure that fixes the incidents without taking decisions away from the teams who know their domain. In this answer, we will look at what is really failing, compare the three options with their costs, decide what to centralise, assess licence and vendor risk, and plan the rollout.
1Start With What Is Actually Failing
Before choosing between build, buy or leave alone, we look at the last twenty incidents. In a situation like this they usually fall into two groups. Some are operational: a cluster ran out of disk, an upgrade went wrong, a node was overloaded. Others are design problems in the sync jobs: a nightly batch failed silently, a dual write lost updates, events arrived out of order, deletes were never propagated. In most companies I have seen, the second group is larger.
This split matters because each option fixes a different group. A managed service fixes much of the first group and none of the second. A central platform can fix both, but only if it offers a sync pipeline and not just clusters. Letting teams continue fixes neither, unless we also give them shared guidance and tools.
2Comparing the Total Cost
Next we put numbers on today's cost. If eight teams each run a cluster needing a quarter of an engineer for upgrades, tuning and on-call, that is two engineers in total, plus duplicated, often oversized infrastructure. Add the incidents: hours of engineer time per incident, and the business cost of customers not finding products.
Against that we price a platform team of, say, four to six engineers, the infrastructure for shared clusters, and a migration that might take each team four to eight weeks of work spread over a year. If the platform cost is close to today's cost, the platform still wins, because it also removes the incident class. If it is much higher, a lighter option, such as shared libraries and a managed service, may be the right first step. The point is to make the decision on these numbers and to show them to the people who fund it.
| Option | Fixes operations | Fixes sync design | Main cost |
|---|---|---|---|
| Teams continue | No | No, unless guided | Duplicated clusters, on-call, incidents |
| Managed service per team | Mostly | No | Service fees, still one sync job per team |
| Central platform | Yes | Yes, with a standard pipeline | Platform team and migration effort |
| Platform on a managed service | Yes | Yes | Fees plus a smaller platform team |
3What a Managed Service Does and Does Not Give Us
Managed offerings such as Elastic Cloud, Amazon OpenSearch Service and similar services from other providers take over provisioning, patching, snapshots, scaling and much of the monitoring. For a company with little search operations experience, that is a real saving, and it may be the right foundation for a platform rather than an alternative to it.
But a managed cluster is still just a cluster. It does not know when a row changed in a team's database, it does not order events, it does not reconcile. Teams that move their homegrown nightly jobs onto a managed service will have the same stale results on more expensive hardware. So the managed service answers the question 'who runs the servers', not 'how does data get into search correctly'.
4Centralise Infrastructure, Not Every Decision
If we build a platform, the most important design choice is what it owns. It should own the things that are the same for everyone and hard to get right: clusters or a managed account, security, backups, upgrades, a standard indexing pipeline built on change data capture into Kafka with versioned, idempotent indexing, index templates with sensible defaults, alias-based reindexing, and dashboards for lag and freshness. A team onboarding should get a working, monitored pipeline from configuration, not from code.
It should not own relevance and mappings. How products are scored, which fields are searchable, which synonyms apply, and when a mapping changes are domain decisions that need domain knowledge. If the platform team must approve every mapping change, it becomes a bottleneck and teams route around it. So teams keep their indices, mappings and queries, and the platform offers guardrails such as limits on fields and shard sizes. This split keeps the incident-causing parts standard and the business-specific parts with the people who understand them.
5Licence and Vendor Risk
Search is an area where licences have changed, so the choice of engine is also a legal and vendor decision. Elasticsearch was Apache 2.0 licensed until early 2021, when Elastic moved new versions to a choice of the Server Side Public License and the Elastic License; neither is an open source licence in the usual sense, and both restrict offering the software as a service. In 2024 Elastic added the AGPL as a further option. In response to the 2021 change, AWS forked Elasticsearch 7.10 as OpenSearch under Apache 2.0, and OpenSearch is now governed by a foundation under the Linux Foundation. The exact licence terms of the versions you run matter, so check them with your legal team.
For most companies that only use the software internally, any of these licences is workable. The risk is about the future: features available only in a paid tier, a vendor changing terms again, or APIs drifting apart, since Elasticsearch and OpenSearch are no longer fully compatible. We reduce that risk by keeping teams behind the platform's indexing and query clients rather than letting every service talk to the engine directly, so a future move between engines or providers is a platform project and not fifty team projects.
6Making and Rolling Out the Decision
I would write the decision as a short proposal with the incident analysis, the cost comparison and the ownership split, and review it with team leads before it goes to funding. Then I would prove it with one or two teams with the worst incidents, migrate them onto the platform pipeline, and measure freshness and incidents before and after. Success criteria are concrete: no stale-search incidents caused by sync for a quarter, freshness under the agreed target, and on-call load per team going down.
Migration stays voluntary for a while but becomes the default for new search use cases. Teams that have a good reason to stay separate, for example a very specialised workload, can do so if they meet the same freshness and reconciliation standards. The platform team publishes its roadmap and measures its own success by how quickly teams can onboard.
- Classify recent incidentsoperations versus sync design
- Price today and each optionpeople, infrastructure, incidents
- Are most incidents sync design?YesPlatform must include a standard pipelineNoA managed service may be enough
- Agree the ownership splitplatform: infra and pipeline; teams: relevance
- Pilot with the worst teamsmeasure freshness and incidents
- Make the platform the defaultexceptions meet the same standards
6 steps in order. Play them, or step through them one at a time.
7Follow-up questions
What if a team refuses to migrate?
I would ask what they would lose and take that seriously, because sometimes they are right. If their cluster is stable and their sync meets the freshness and reconciliation standards, they can stay. If they keep having incidents, the standards apply anyway, and the platform is the cheapest way to meet them. Making the platform clearly easier than doing it alone wins more teams than a mandate.
Should the platform choose Elasticsearch or OpenSearch?
I would choose based on the features the teams actually use, the managed offering we prefer, the licence terms our legal team accepts, and existing skills. Both are capable engines. The more important decision is to put a thin platform layer between teams and the engine, so the choice can be revisited later without rewriting every service.
8Conclusion
In this answer, we decided between letting teams continue, buying a managed service and building a central platform by first classifying incidents and then comparing total cost. A managed service reduces operations but not the sync design problem behind stale search, so the best structure is usually a platform, possibly on a managed service, that centralises infrastructure, a standard CDC-based pipeline, templates and monitoring, while teams keep relevance and mappings. We also weighed the licence history of Elasticsearch and OpenSearch as vendor risk and planned a measured, pilot-first rollout.
Open with
I would start by classifying the recent incidents, because the options fix different problems. If most stale-search incidents come from homegrown sync jobs, a managed service alone will not help: it takes over servers, patching and backups, but it does not make a nightly batch or a dual write correct.
Then, if they want more
Then I would compare total cost: today's duplicated clusters, the slices of engineers doing upgrades and on-call in every team, and the cost of incidents, against a platform team of maybe five engineers plus each team's migration effort.
In most cases like this I would recommend a central platform, quite possibly running on a managed service, that owns infrastructure, security, upgrades, a standard CDC-based indexing pipeline with versioned idempotent writes, index templates, alias-based reindexing and freshness dashboards. Teams keep ownership of their mappings, relevance and queries, because those are domain decisions, and the platform only adds guardrails.
I would also bring the licence history into the decision: Elasticsearch moved from Apache 2.0 to SSPL and the Elastic License in 2021 and later added AGPL, while OpenSearch forked under Apache 2.0. To limit vendor risk, teams use the platform's clients rather than the engine directly.
I would pilot with the two teams with the worst incidents and measure freshness and incident counts before making it the default.
About this answer
- Last updated
- 12 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- Elasticsearch documentation
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "Several teams run their own search clusters with homegrown sync jobs, and incidents of...": https://scrivio-interview-library.netlify.app/databases/search-engines/b3ea3ac23b/