Support database read/write splitting

Open
#1,428 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #1434 by @anya-xcode — closed without merging

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
databases

Research direction

Start by locating and reading Open VSX's database connection-pool configuration and query-routing entry points; the issue does not name specific files or tests. Done means separate primary and replica pools are supported and queries are routed appropriately, with tests covering the behavior.

Written by the indexing model from the issue text.

Description

Open VSX currently only supports one database connection pool, which means all queries are routed to it. At high traffic, operators must employ middleware to achieve horizontal scalability. This adds operational complexity and overhead.

Like most sites, the large majority of DB traffic is SELECT statements, which if isolated, can be scaled across a cluster of replicated databases.

Proposal
Add support for read/write splitting (separate connection pools for primary and replicas) so Open VSX can natively route queries. This would reduce reliance on external middleware and improve scalability for large deployments.

Dominant language
Java
Stars
2.1k
Forks
362
Avg merge
1d 3h
Merged PRs (30d)
44

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-openvsx/openvsx

All issues in eclipse-openvsx/openvsx

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.