frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Architecture+cost drivers for a deterministic rule/metric engine 1,200metrics

2•Trackdiver•9h ago
I’m designing a large-scale deterministic analytics engine and would appreciate architectural + cost/effort advice from people who’ve built similar systems.

The core challenge: • ~1,200 domain-specific metrics • All rule-based (no ML), fully deterministic • Metrics share common primitives but differ in configuration • Metrics combine into composite indices • Outputs must be auditable and reproducible (same inputs → same outputs) • I want metrics definable declaratively (not hard-coded one by one)

The system ingests structured event data, computes per-entity metrics, and produces ranked outputs with full breakdowns.

I’m specifically looking for guidance on: • Architectures for large configurable rule/metric engines • How to represent metric definitions (DSL vs JSON/YAML vs expression trees) • Managing performance without sacrificing transparency • Avoiding “1,200 custom functions” antipatterns • What you’d do differently if starting this today

Cost / effort sanity check (important): If you were scoping this as a solo engineer or small team, what are the biggest cost drivers and realistic milestones? • What should “Phase 1” include to validate the engine (e.g., primitives + declarative metric format + compute pipeline + 100–200 metrics)? • What’s a realistic engineering effort range for Phase 1 vs “all 1,200” (weeks/months, 1–2 devs vs 3–5 devs)? • Any common traps that make cost explode (data modeling mistakes, premature UI, overengineering the DSL, etc.)?

I’m not looking to hire here — just trying to sanity-check design decisions and expected effort before implementation.

Thanks in advance for any insight.

Ask HN: How can we solve the loneliness epidemic?

328•publicdebates•7h ago•612 comments

Ask HN: One IP, multiple unrealistic locations worldwide hitting my website

28•nacho-daddy•5h ago•14 comments

Ask HN: Share your personal website

830•susam•1d ago•2207 comments

Ask HN: How are you doing RAG locally?

347•tmaly•1d ago•139 comments

Ask HN: What did you find out or explore today?

195•blahaj•1d ago•359 comments

Ask HN: What are your best purchases under $100?

26•krishadi•4h ago•100 comments

Ask HN: Is Codex login down for all workspace (non-personal) users?

2•amluto•1h ago•0 comments

Ask HN: Estimating % of dev using coding assistants

5•japoneris•3h ago•4 comments

Ask HN: Why do AI code editors suck at closing tags?

8•cryptography•17h ago•3 comments

Ask HN: What is the best way to provide continuous context to models?

66•nemath•22h ago•37 comments

Ask HN: How to make spamming us uncomfortable for LinkedIn and friends?

10•zx8080•12h ago•6 comments

Ask HN: What to teach my kid if AI does math and CS?

7•devShark•8h ago•13 comments

Ask HN: How do you safely give LLMs SSH/DB access?

77•nico•1d ago•104 comments

Ask HN: Anyone else finding it impossible to land a job?

12•Arch485•8h ago•17 comments

Ask HN: A pattern we noticed in how website leads are handled

2•lucascorrei4•3h ago•1 comments

Ask HN: Distributed SQL engine for ultra-wide tables

22•synsqlbythesea•1d ago•18 comments

Ask HN: Any real prompt injections in the wild?

6•singularity2001•15h ago•2 comments

Ask HN: Iran's 120h internet shutdown, phones back. How to stay resilient?

112•us321•2d ago•95 comments

Ask HN: Are the layoffs at Tailwind a trend that can be extrapolated?

2•qcardona•1h ago•1 comments

Ask HN: For those of you building AI agents, how have you made them faster?

2•arkmm•5h ago•1 comments

Ask HN: Audio analysis models, how to train to learn sound patters?

4•thedangler•9h ago•1 comments

Where does data help in real estate – and where does it fail?

2•D___R___•6h ago•0 comments

Ask HN: How to overcome the limit of roles in LLM's

2•weli•7h ago•0 comments

GitHub Is Down

18•dfajgljsldkjag•7h ago•16 comments

Ask HN: Why does Google still provide an open redirect for phishers?

21•throwaway89201•1d ago•9 comments

Ask HN: What are you working on? (January 2026)

256•david927•4d ago•867 comments

The $LANG Programming Language

261•dang•2d ago•69 comments

Architecture+cost drivers for a deterministic rule/metric engine 1,200metrics

2•Trackdiver•9h ago•0 comments

Tell HN: 1B Jobs on GitHub Actions

2•dorianmariecom•8h ago•1 comments

Turning weeks of medical device documentation into minutes

2•feargalosull•9h ago•0 comments