frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: SLOK – SLO composition with traffic-weighted service chains in K8s

1•lep_qq•2h ago
I've been building a Kubernetes operator for SLO management (SLOK) and just shipped a feature I haven't seen elsewhere: WEIGHTED_ROUTES composition.

The problem

Most SLO tools treat a user journey as a simple chain: if any service fails, the whole thing fails. But real traffic doesn't work that way. In a checkout flow, 90% of users might skip the coupon service entirely. If the coupon service has 99.5% availability, does that really pull your checkout SLO down to 99.5%? No — because most of your users never touch it.

The model

WEIGHTED_ROUTES lets you describe which percentage of traffic flows through which service chain. Each chain is an implicit AND (all services in the chain must succeed). The composed error rate is:

e_total = 1 - Σ( weight_i × Π(1 - e_j) ) For the checkout example (90% skip coupon, 10% use it):

e_total = 1 - ( 0.9 × (1 - e_base) × (1 - e_payments) + 0.1 × (1 - e_base) × (1 - e_coupon) × (1 - e_payments) ) SLOK translates this formula directly into Prometheus recording rules wired into the standard multi-window burn rate pipeline.

The YAML

kind: SLOComposition spec: target: 99.9 window: 30d objectives: - name: base ref: { name: checkout-base-slo } - name: payments ref: { name: payments-slo } - name: coupon ref: { name: coupon-slo } composition: type: WEIGHTED_ROUTES params: routes: - name: no-coupon weight: 0.9 chain: [base, payments] - name: with-coupon weight: 0.1 chain: [base, coupon, payments] alerting: burnRateAlerts: enabled: true The operator generates the PrometheusRules automatically. You get burn rate alerts on the composed SLO, not just on individual services.

Other things SLOK does

AND_MIN composition (worst-case across services) Built-in SLI templates for http-availability, http-latency, kubernetes-apiserver Automatic error budget tracking exposed in .status Event correlation: when a burn rate spike is detected, SLOK creates an SLOCorrelation resource listing recent Deployments, ConfigMap changes, and cluster events that may have caused it — with an optional LLM-enhanced summary (Llama 3.3 70B via Groq) WEIGHTED_ROUTES is alpha. Feedback on the API shape is welcome.

Repo: https://github.com/federicolepera/slok

Show HN: Bashd – Helper scripts for bulk CLI file management

https://github.com/terpinedream/Bashd
1•terpinedream•1m ago•0 comments

No-backprop SNN scores 98.2% on Split-MNIST task-incremental, age 14

https://github.com/theGcmd/SNNcontinual-learning
1•theGcmd•2m ago•0 comments

Major data leak forum dismantled in international cybercrime operation

https://www.europol.europa.eu/media-press/newsroom/news/major-data-leak-forum-dismantled-in-globa...
1•dryadin•3m ago•0 comments

Show HN: Scout-and-Wave – Parallel agent coordination via prompts

https://github.com/blackwell-systems/scout-and-wave
2•daynablackwell•3m ago•0 comments

New RAGLight feature: deploy a RAG pipeline as a REST API with one command

https://github.com/Bessouat40/RAGLight
2•bessouat40•3m ago•1 comments

Monday CEO "If you think about any company, 90% of the context isn't documented"

1•kalturnbull•4m ago•0 comments

The Best AI Tools That Respect Your Privacy

https://decrypt.co/359454/best-ai-tools-respect-privacy
3•eustoria•4m ago•0 comments

Agent frameworks are solving the wrong problem

https://github.com/MrPrinceRawat/kanly
2•mrprincerawat•4m ago•1 comments

Ask HN: Will using LinkedIn with OpenClaw get me banned?

2•Vishal19111999•5m ago•0 comments

A taxonomy of text output (from tools that want to be too clever)

https://utcc.utoronto.ca/~cks/space/blog/sysadmin/ProgramTextOutputTaxonomy
1•ingve•6m ago•0 comments

Ask HN: Will using WhatsApp with OpenClaw get my account banned?

2•Vishal19111999•6m ago•0 comments

Who Writes the Bugs? A Deeper Look at 125,000 Kernel Vulnerabilities

https://pebblebed.com/blog/kernel-bugs-part2
1•MBCook•6m ago•0 comments

The uncomfortable truth about getting people off US tech

https://blog.dougbelshaw.com/getting-off-us-tech/
1•eustoria•7m ago•0 comments

Eight Sleep raises $50M at $1.5B valuation

https://techcrunch.com/2026/03/04/eight-sleep-raises-50m-at-1-5b-valuation/
1•simonebrunozzi•7m ago•0 comments

Show HN: Non-Human Assistant with near AGI capabilities

https://github.com/AmplifyCo/novabot
1•amplifyco•7m ago•0 comments

Show HN: QLoRA fine-tuning in .zse INT4 format by ZSE

1•zyoralabs•7m ago•0 comments

Bluesky's Firehose in 3D

https://firehose3d.theo.io/
1•thrance•12m ago•0 comments

Tape as Context

https://tape.systems/
1•recrush•12m ago•0 comments

Stockpile witholding funds, support is non-existent

1•kaishiro•14m ago•0 comments

How Tech Turned Against Women

https://www.ft.com/content/60e2a900-8999-46cc-8107-4f468f442aae
3•mooreds•14m ago•1 comments

Show HN: CodexBar for Android – Monitor Claude quotas on your phone

https://github.com/hyunnnchoi/CodexBar-android
1•hyunnnchoi•15m ago•0 comments

Lovable Alternative for Product Teams

https://www.omniflow.team
1•stellaartois•15m ago•1 comments

DARPA to develop biological chips for low-power AI training at the edge

https://www.datacenterdynamics.com/en/news/darpa-o-circuit-program-aims-to-develop-unconventional...
1•giuliomagnifico•15m ago•0 comments

The Taxonomy of Pointers (2025)

https://mcyoung.xyz/2021/05/24/ptr-taxonomy/
3•vinhnx•16m ago•0 comments

Why we'll never see a yokozuna in the Super Bowl

https://www.japantimes.co.jp/sports/2026/02/11/sumo/sumo-vs-nfl/
1•PaulHoule•16m ago•0 comments

The Art of Formatting Code (2025)

https://mcyoung.xyz/2025/03/11/formatters/
1•vinhnx•16m ago•0 comments

The Prolific Output of Wes McKinney in the Age of Agentic Engineering

https://posit.co/blog/the-prolific-output-of-wes-mckinney-in-the-age-of-agentic-engineering/
4•richmeister•17m ago•0 comments

Brian Cox: The terrifying possibility of the Great Filter [video]

https://www.youtube.com/watch?v=rXfFACs24zU
1•whicks•17m ago•0 comments

Ask HN: What are your favorite debugging techniques?

1•algocli•18m ago•0 comments

Netlabs – Videos on Routing and Cisco

https://www.youtube.com/channel/UCGqARa8dvW37TSoBw4bThQA
1•getwiththeprog•18m ago•1 comments