frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: OmniDB – Thin database orchestration (failover, health checks) for Node

https://github.com/sathvikc/omni-db
1•sathvikchinnu•1h ago

Comments

sathvikchinnu•1h ago
Hey HN,

I’m Sathvik, the creator of OmniDB.

I built this because I kept seeing the same outage pattern in production: the primary database isn’t "down" (refusing connections), it’s just stalled or slow. The application keeps trying to use it, the connection pool exhausts, and everything halts.

Most simple failover logic looks like this:

  if (primary.isDown) switch_to(replica)
But this doesn't capture latency spikes or "zombie" connections. I found myself writing ~200 lines of manual "glue code" for every project to handle health checks, timeouts, and graceful failovers properly.

OmniDB is a library that extracts that logic into a thin orchestration layer (<10KB, 0 deps).

What it does:

- Orchestration, not Abstraction: You bring your own client (Prisma, pg, Redis, Mongo, etc.). OmniDB just manages the lifecycle.

- Real Health Checks: Checks for latency/timeouts, not just connectivity.

- Circuit Breakers: Built-in protection to stop cascading failures.

- O(1) Scalability: Uses a Map-based registry so it handles N database connections/shards with constant-time lookup.

It’s TypeScript-first and designed to be dropped into existing Node.js backends.

Repo: https://github.com/sathvikc/omni-db

I’d love to hear how you handle application-side failover logic. Do you roll your own or rely entirely on infrastructure (proxies/LBs)?

OpenAI's ChatGPT push triggers senior staff exits

https://www.ft.com/content/e581b7a4-455c-48e6-a87c-c39bb9c62a12
1•1vuio0pswjnm7•27s ago•0 comments

ga68, the GNU Algol 68 Compiler – FOSDEM 2026 [video]

https://fosdem.org/2026/schedule/event/PEXRTN-ga68-intro/
1•matt_d•1m ago•0 comments

Wave: Python Domain-Specific Language for High Performance Machine Learning

https://github.com/iree-org/wave
1•nateb2022•1m ago•0 comments

Why Not Tail Recursion?

https://futhark-lang.org/blog/2026-01-20-why-not-tail-recursion.html
1•PaulHoule•3m ago•0 comments

FISA of 1978 Amendments Act of 2008

https://en.wikipedia.org/wiki/FISA_of_1978_Amendments_Act_of_2008
1•greyface-•4m ago•0 comments

How long does it take the sun to rotate?

https://www.livescience.com/space/the-sun/how-long-does-it-take-the-sun-to-rotate
1•Brajeshwar•5m ago•0 comments

Preserved hair reveals just how bad lead exposure was in the 20th century

https://www.livescience.com/health/preserved-hair-reveals-just-how-bad-lead-exposure-was-in-the-2...
2•Brajeshwar•5m ago•0 comments

A mathematical framework for optimizing robotic joints

https://techxplore.com/news/2026-02-mathematical-framework-optimizing-robotic-joints.html
1•Brajeshwar•5m ago•0 comments

Production logs contain user passwords. And you're feeding them to A

https://risk-mirror.vercel.app
1•Raviteja_•5m ago•1 comments

Show HN: Trappsec – open-source library to catch attackers probing your API

https://trappsec.dev/
2•kyuradar•6m ago•0 comments

Where Is A.I. Taking Us?

https://www.nytimes.com/interactive/2026/02/02/opinion/ai-future-leading-thinkers-survey.html
1•us321•7m ago•0 comments

Show HN: TrendScope – Real-time financial sentiment analysis on a cheap VPS

https://trendscope.akamaar.dev/
1•mohammede•8m ago•0 comments

The next steps for Airbus' big bet on open rotor engines

https://aerospaceamerica.aiaa.org/the-next-steps-for-airbus-big-bet-on-open-rotor-engines/
2•CGMthrowaway•8m ago•0 comments

GitHub Actions are unreliable again at 10:30ET

https://twitter.com/mitchelsellers/status/2018703259326685633
2•bhouston•8m ago•1 comments

Lurie working with Laurene Powell Jobs, Jony Ive on secretive SF branding effort

https://sfstandard.com/2026/02/03/daniel-lurie-laurene-powell-jobs-jony-ive-sf-branding/
1•coloneltcb•8m ago•0 comments

The hideous, exploitative, but still addictive world of vertical dramas

https://www.avclub.com/vertical-dramas-style-popularity-cost-reelshort-dramabox-exploitative-addi...
1•evan_•10m ago•0 comments

Show HN: We scanned 306 MCP servers – 10% have critical vulnerabilities

https://mcpsafe.org/
1•itaiwins•10m ago•0 comments

TLDR: AI took your job

https://edwardelson.substack.com/p/somethings-better-than-nothing
2•dchi04•10m ago•0 comments

Data Brokers Can Fuel Violence Against Public Servants

https://www.wired.com/story/how-data-brokers-can-fuel-violence-against-public-servants/
1•achristmascarl•10m ago•0 comments

The rise of one-pizza engineering teams

https://www.jampa.dev/p/the-rise-of-one-pizza-engineering
1•jampa•12m ago•0 comments

Show HN: Get Your Bookmarks Organised

https://lifea.net/
1•skyfantom•12m ago•0 comments

Disney names parks boss Josh D'Amaro as its next CEO to succeed Bob Iger

https://www.cnbc.com/2026/02/03/disney-ceo-josh-damaro-successor-bob-iger.html
1•ChrisArchitect•12m ago•1 comments

Show HN: Requency – a quiet way to notice which ideas keep coming back

https://requency.lovable.app
1•skookumprod•13m ago•0 comments

Bitcoin is coming off a brutal week. Here's what's happening

https://www.cnbc.com/2026/02/02/bitcoin-btc-price-today-cryptocurrency.html
1•1vuio0pswjnm7•13m ago•0 comments

Is the Gartner grift over? (Stock is down 22% today)

https://finance.yahoo.com/quote/IT/
2•golfer•13m ago•1 comments

Nearly 40% of Stanford undergraduates claim they're disabled

https://www.thetimes.com/us/news-today/article/40-percent-stanford-undergraduates-claim-disabled-...
1•wrayjustin•14m ago•1 comments

Show HN: Sandy – Accelerate AI agents: think once, replay forever

https://github.com/Sangkwun/sandy
2•sangkwun•16m ago•0 comments

Claude Flow

https://github.com/ruvnet/claude-flow
1•wener•17m ago•0 comments

Ask HN: When was the specific moment you decided to become a software engineer?

1•crediblejhj•17m ago•1 comments

Show HN: Build a coding agent in 500 lines (Pure Python, No Vector DBs)

1•owenthereal•17m ago•0 comments