frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: S2-lite, an open source Stream Store

https://github.com/s2-streamstore/s2
4•shikhar•1h ago
S2 was on HN for our intro blog post a year ago (https://news.ycombinator.com/item?id=42480105). S2 started out as a serverless API — think S3, but for streams.

The idea of streams as a cloud storage primitive resonated with a lot of folks, but not having an open source option was a sticking point for adoption – especially from projects that were themselves open source! So we decided to build it: https://github.com/s2-streamstore/s2

s2-lite is MIT-licensed, written in Rust, and uses SlateDB (https://slatedb.io) as its storage engine. SlateDB is an embedded LSM-style key-value database on top of object storage, which made it a great match for delivering the same durability guarantees as s2.dev.

You can specify a bucket and path to run against an object store like AWS S3 — or skip to run entirely in-memory. (This also makes it a great emulator for dev/test environments).

Why not just open up the backend of our cloud service? s2.dev has a decoupled architecture with multiple components running in Kubernetes, including our own K8S operator – we made tradeoffs that optimize for operation of a thoroughly multi-tenant cloud infra SaaS. With s2-lite, our goal was to ship something dead simple to operate. There is a lot of shared code between the two that now lives in the OSS repo.

A few features remain (notably deletion of resources and records), but s2-lite is substantially ready. Try the Quickstart in the README to stream Star Wars using the s2 CLI!

The key difference between S2 vs a Kafka or Redis Streams: supporting tons of durable streams. I have blogged about the landscape in the context of agent sessions (https://s2.dev/blog/agent-sessions#landscape). Kafka and NATS Jetstream treat streams as provisioned resources, and the protocols/implementations are oriented around such assumptions. Redis Streams and NATS allow for larger numbers of streams, but without proper durability.

The cloud service is completely elastic, but you can also get pretty far with lite despite it being a single-node binary that needs to be scaled vertically. Streams in lite are "just keys" in SlateDB, and cloud object storage is bottomless – although of course there is metadata overhead.

One thing I am excited to improve in s2-lite is pipelining of writes for performance (already supported behind a knob, but needs upstream interface changes for safety). It's a technique we use extensively in s2.dev. Essentially when you are dealing with high latencies like S3, you want to keep data flowing throughout the pipe between client and storage, rather than go lock-step where you first wait for an acknowledgment and then issue another write. This is why S2 has a session protocol over HTTP/2, in addition to stateless REST.

You can test throughput/latency for lite yourself using the `s2 bench` CLI command. The main factors are: your network quality to the storage bucket region, the latency characteristics of the remote store, SlateDB's flush interval (`SL8_FLUSH_INTERVAL=..ms`), and whether pipelining is enabled (`S2LITE_PIPELINE=true` to taste the future).

I'll be here to get thoughts and feedback, and answer any questions!

Building in-browser autocomplete for millions of entries with Radix Tries

https://aarol.dev/posts/wasm-trie-autocomplete/
1•abnercoimbre•2m ago•0 comments

Gemini CLI: Code and Create with an Open-Source Agent

https://learn.deeplearning.ai/courses/gemini-cli-code-and-create-with-an-open-source-agent/inform...
1•pretext•4m ago•0 comments

Tell HN: Amazon has deactivated my seller account. No idea how to move forward

1•hacky_engineer•4m ago•0 comments

Helsing AI

https://Helsing.ai/jobs
1•oxqbldpxo•5m ago•1 comments

Show HN: Red Horse Oracle – Privacy-first AI art, zero data stored

https://www.redhorseoracle.com/
1•lindsayhiebert•6m ago•0 comments

Wikipedia Signs of AI writing: a Vale ruleset

https://ammil.industries/signs-of-ai-writing-a-vale-ruleset/
1•cjlm•6m ago•0 comments

Zero to One: AI Agents and Agentic Patterns

https://pradyumnachippigiri.dev/blogs/understanding-ai-agents
1•PraddyChippzz•7m ago•0 comments

VidChat: Making Videos Searchable

https://chromewebstore.google.com/detail/vidchat/eakgninjebplbfobbngdmphbjnclmego
2•aylingakkus•8m ago•1 comments

Show HN: Schema First React Router

https://werkbank.dev/blog/schema-first-router/
1•fragile_frogs•8m ago•0 comments

Kafka Dead Letter Queue Triage: Debugging 25,000 Failed Messages

https://skey.uk/post/kafka-dead-letter-queue-troubleshooting-guide/
1•tanelpoder•8m ago•0 comments

GenAI, the Snake Eating Its Own Tail

https://www.ybrikman.com/blog/2026/01/21/gen-ai-snake-eating-its-own-tail/
2•brikis98•10m ago•0 comments

Eleven Album

https://elevenlabs.io/eleven-album
2•elemdos•11m ago•0 comments

No Name: The Colorado town that accidentally named itself

https://kdvr.com/news/colorado/no-name-exit-sign-on-i-70-isnt-a-mistake-its-an-actual-colorado-town/
1•thunderbong•12m ago•0 comments

Things I've learned in my 10 years as an engineering manager

https://www.jampa.dev/p/lessons-learned-after-10-years-as
2•jampa•13m ago•0 comments

How to Learn American Sign Language in 2025 [video]

https://www.youtube.com/watch?v=qp6Np0KicQQ
1•joebig•14m ago•0 comments

Lemonade Unveils Autonomous Car Insurance, Slashing Rates for Tesla FSD by 50%

https://www.lemonade.com/investor/news/lemonade-unveils-autonomous-car-insurance-slashing-rates-f...
1•atestu•15m ago•0 comments

Sony to Cede Control of Bravia TVs to China's Tcl

https://www.japantimes.co.jp/business/2026/01/21/companies/sony-tv-china-tcl/
3•mikhael•15m ago•0 comments

MariaDB Doesn't Depend on MySQL

https://programmingbrain.com/2025/01/mariadb-does-not-depend-on-mysql
1•alejandro-du•16m ago•0 comments

Show HN: Multi-cloud cost visibility with latency rings and GDP data

1•sschotten•17m ago•0 comments

Navy ditches touchscreens for knob and dial controls after fatal crash (2019)

https://techcrunch.com/2019/08/11/navy-ditches-touchscreens-for-knobs-and-dials-after-fatal-crash/
3•randycupertino•18m ago•1 comments

Compact Let Arrays for Origami-Based Mechanisms

https://www.mdpi.com/2218-6581/15/1/1
1•PaulHoule•19m ago•0 comments

Viking mice: Norse discovered Azores 700 years before Portuguese

https://cals.cornell.edu/news/2021/11/viking-mice-norse-discovered-azores-700-years-portuguese
3•kitd•19m ago•1 comments

Stanford scientists found a way to regrow cartilage and stop arthritis

https://www.sciencedaily.com/releases/2026/01/260120000333.htm
13•saikatsg•19m ago•1 comments

Show HN: UseWhisper.dev – AI Code Reviewer (please test and roast it)

https://www.usewhisper.dev/
1•alameenpd•20m ago•0 comments

Show HN: A real-time poker chip tracker built as a PWA (No signup required)

https://poker.beavergrow.com
1•jp1016•22m ago•1 comments

Apple Pay Could Arrive in India by the End of This Year

https://www.macobserver.com/news/apple-pay-could-arrive-in-india-by-the-end-of-this-year/
1•saikatsg•23m ago•0 comments

Farmer to Banker

https://twitter.com/Alfred_Lin/status/2011803782955540990
1•tosh•25m ago•0 comments

LastPass Users Targeted with Backup-Themed Phishing Emails

https://www.securityweek.com/lastpass-users-targeted-with-backup-themed-phishing-emails/
2•Bender•26m ago•0 comments

Claude session limits getting small

5•pragmaticalien8•31m ago•1 comments

HAM Radio Operators in Belarus Arrested, Face the Death Penalty

https://www.404media.co/ham-radio-operators-in-belarus-arrested-face-the-death-penalty/
13•cdrnsf•32m ago•0 comments