Self-run vector database server or managed vector service: who owns durability, upgrades and capacity in each, and what do you give up?
answer
- shared responsibility, not handover
- disks, versions, memory, on-call
- on-disk format changes on upgrade
- the provider's schedule and limits
- your mistakes stay yours
basics
~20 sSelf-running a vector server leaves disks, backups, upgrades, memory sizing and on-call with your team. A managed service takes machines, replication, patching and scaling; you give up upgrade timing, tuning and placement, and your own mistakes stay yours.
solid answer
~40 sOn a self-run vector server you own everything below the API: volumes and their redundancy, backup schedules, the engine's flush and log settings, version upgrades (which sometimes change the on-disk index format and force a rebuild), memory and node sizing as the corpus grows, monitoring and the pager. A managed service takes the hardware, replication, patching, routine backups up to its stated guarantees, and scaling within your plan's quotas. What you give up is control: upgrades and maintenance happen on the provider's schedule, fewer index and hardware knobs are exposed, region and network placement are limited to what it offers, and leaving means exporting through its API. Responsibility is shared, not handed over: a bad bulk delete by your own script, leaked keys, client retries and checking the durability terms remain yours.
go deeper
Know the difference between running a vector server yourself and using a managed service, and that durability and upgrades move to the provider in the second.
Assign each duty to an owner in both shapes and explain why a vector-engine upgrade can mean an index rebuild.
Make the shared-responsibility point concrete: replication does not undo your own bad delete, and backup coverage must be checked and drilled. Name the provider's version retirements as a deadline you inherit.
Weigh operational ownership against control for the team you actually have: on-call capacity, residency needs and how much portability matters, and decide which duties you are willing to rent.
## The two shapes A **self-run vector server** is a vector database process (or cluster) the team deploys on machines or containers it controls. A **managed vector service** is the same kind of system operated by a provider and reached over its API; sometimes it is a hosted version of an open-source engine the team could also run itself, sometimes a proprietary service with no self-run equivalent. Both answer the same queries. The difference is **who owns each operational duty**, and interviewers ask the question to see whether a candidate knows the duties exist. ## Who owns what | Duty | Self-run server | Managed service | |---|---|---| | Disks and their redundancy | You | Provider | | Flush and write-log settings | You | Provider, usually fixed | | Backup schedule and restore drills | You | Provider runs backups; you check what the plan covers and test restores | | Version upgrades and patches | You choose timing and do the work | Provider, on its schedule and notice period | | Memory and node sizing | You | Provider within quotas you buy | | Monitoring and on-call | You | Provider for the service; you for your use of it | | Access keys, network rules | You | You, with the provider's controls | | Your own bad writes and deletes | You | **Still you** | The last row is where teams get hurt. Replication protects against a disk dying, not against a script that deletes a tenant: the delete replicates faithfully. Whether a managed plan can undo it depends on its backup features and retention, which must be checked, not assumed. ## Upgrades: the duty that surprises self-run teams Upgrading a database binary is usually routine. Vector engines add a twist: - A new major version may **change the on-disk index format**, so the upgrade includes rebuilding or migrating indexes, which can take hours on a large corpus. - Rolling upgrades across a cluster need the old and new versions to coexist for a while; check whether the engine supports mixed versions. - Client libraries and server versions often move together, so an upgrade can touch application code. - Skipping several versions may not be supported, which turns a delayed upgrade into a chain of them. On a managed service this work disappears from your backlog, and so does the choice of when it happens. Providers announce maintenance windows and often **retire old versions or API generations**, which sets a deadline for your client changes. ## Capacity Self-run capacity is your arithmetic. For a vector server it usually tracks three things that grow at different rates: - **Index memory**, which grows with vector count, dimensions and the index's own links. - **Disk** for data files, background merges and room for a full rebuild beside the live index. - **Query compute at peak**, which can set the node count independently of memory. Running out of any one of them is an incident on your pager. Managed capacity is the provider's arithmetic presented as plan sizes, quotas and request limits; you still need to know when you will hit them. "Managed" does not mean unlimited. ## What each shape gives up Choosing **managed** gives up: 1. **Timing control** over upgrades and maintenance. 2. **Tuning knobs**: index parameters, hardware type and configuration may be partly hidden. 3. **Placement**: regions, private networking and data-residency options are what the provider offers. 4. **Visibility**: fewer internal metrics and logs for diagnosis. 5. **Portability**: a provider-specific API and features make leaving a project, though a hosted open-source engine reduces this. Choosing **self-run** gives up: 1. **Engineer time** for operations that do not differentiate the product. 2. **A pager rotation** that someone must staff. 3. **Speed to start**, because volumes, backups and monitoring come before the first query. ## How to answer in an interview List the duties, assign each to an owner in both shapes, and land on the shared-responsibility point: a managed service takes the machines, not the team's accountability for its own data. Then name what the team trades away, with upgrade timing and tuning first. The wider build-or-buy reasoning (opportunity cost, differentiation) is a general architecture subject; here the interviewer wants the vector-store-specific duties, especially index rebuilds on upgrade and memory-driven capacity.
- Does a hosted version of an open-source vector engine change the trade-off?It narrows it. You still give up upgrade timing and some knobs, but the API and data format match what you could run yourself, so leaving means standing up your own cluster and moving data rather than rewriting the integration. Check that the hosted version does not add proprietary features you then come to depend on.
- What do you verify before trusting a managed vector service's durability?Whether writes are durable when acknowledged or only after a delay, how many copies exist and across which failure domains, what backups the plan includes, their retention and how a restore is requested, and whether a restore can target one collection or tenant. Then run a restore yourself; a documented feature you have never exercised is a hope.
Self-running is owning the house: you fix the boiler, but you choose when and can knock down walls. Managed is renting: the landlord fixes the boiler on their schedule, you cannot move walls, and if you break a window yourself the landlord will not pay for it.
- With a managed service, durability is entirely the provider's problem.
- Upgrading a self-run vector server is always just swapping the binary.
- Managed vector services have no capacity limits, so capacity planning disappears.
- Self-running is always cheaper because there is no provider margin.
- Replication would let you undo a bulk delete run by your own script.