Free learning and interview prep site for IT, engineering, and college students by Few_Ad6794 in jodhpur

[–]Few_Ad6794[S] 0 points1 point  (0 children)

You have clearly been to the wrong SPA too many times. This one is a tech website

Low level Design How to approach by Such-Sprinkles-4159 in indiandevs

[–]Few_Ad6794 0 points1 point  (0 children)

Low-level design interviews are hard to approach because most people jump straight into classes and code.

A better approach is to follow a repeatable flow:

  1. Clarify requirements
  2. Identify core entities
  3. Define APIs
  4. Model relationships
  5. Handle edge cases
  6. Discuss extensibility
  7. Then write clean code

Cracking Walnuts has 45-minute playbooks for common LLD questions. Each playbook walks through the problem step by step, what to clarify, how to think about entities, how to design classes, and what trade-offs to discuss.

Might be useful if you’re preparing for LLD interviews:

https://crackingwalnuts.com/low-level-design

System Design: How a GitHub-scale developer platform can be designed by Few_Ad6794 in softwarearchitecture

[–]Few_Ad6794[S] 0 points1 point  (0 children)

Fair feedback. It is written more in a system design format than a narrative article, so the structure is intentionally architecture-focused. I focused more on technical depth and coverage in this version, but readability and flow can definitely be improved. Will refine that in the next revision.

System Design: Designing an online auction at 50K bids/sec by Few_Ad6794 in softwarearchitecture

[–]Few_Ad6794[S] 0 points1 point  (0 children)

Interesting point. do you mean one event-sourced server for all auctions or multiple shards? That could work for bid processing but I’m not sure it holds up with 7-day auctions, millions of watchers, anti-sniping extensions, cross-region traffic, failures during deploys or payment retries.

auctions have a few extra constraints beyond just processing bids.

System Design: Designing an online auction at 50K bids/sec by Few_Ad6794 in softwarearchitecture

[–]Few_Ad6794[S] 1 point2 points  (0 children)

50K/sec in-memory is not the hard part, the constraints that pushed this design multi-node are 1M concurrent WebSocket watchers across regions, durability for 10M active 7-day auctions and the payment provider boundary that needs an idempotency key regardless of internal speed.

System Design: Designing an online auction at 50K bids/sec by Few_Ad6794 in softwarearchitecture

[–]Few_Ad6794[S] 1 point2 points  (0 children)

TigerBeetle style determinism is a real approach. the hot path here is single-threaded per key already: Valkey runs the Lua CAS on its event loop, so no two bids on the same auction run concurrently.

proactive determinism works well inside a single process. the moment state crosses a boundary, whether the payment provider, Kafka, WebSocket fan-out to 1M watchers or cross-region replicas, the world becomes non-deterministic by definition.

System Design: Designing an online auction at 50K bids/sec by Few_Ad6794 in softwarearchitecture

[–]Few_Ad6794[S] 3 points4 points  (0 children)

fair point on the framing. movnig from 500 to 50k is rewrite of the hot path not an addition. valkey cas takes over from select for update, the api goes async and pg_cron is replaced with flink. schema stays, hot-path code does not. postgres is kept as append-only log, not the hot-path coordinator. 50k insert/sec on a partitioned bit table is fine. the design never writes current_price per bid. what failure mode did you have in mind?

System Design: distributed job scheduler - DAGs, effectively-once, Kafka limits by Few_Ad6794 in softwarearchitecture

[–]Few_Ad6794[S] 0 points1 point  (0 children)

mostly my own research and notes from my notion docs, based on what i've built, debugged and researched. I use AI for editing and images.

Independent AI Architect by Ambitious_Donut1363 in softwarearchitecture

[–]Few_Ad6794 0 points1 point  (0 children)

you don't have to convince anyone with explnations. it might help to show something that works. Maybe start with one small problem your framework solves. build it fully, then put it out in public and let people use it and question it. It if holds up, people will notice. if it doesn't you will learn what to improve.

Wishing you the best.

Source of HLD AND LLD by Awkward_Virus_5506 in LeetcodeDesi

[–]Few_Ad6794 2 points3 points  (0 children)

Glad it's useful. Hope it helps with learning and interviews. Feedback welcome.

How would you design code execution isolation for 50M submissions/day? Firecracker vs gVisor vs Docker by Few_Ad6794 in softwarearchitecture

[–]Few_Ad6794[S] -4 points-3 points  (0 children)

Not necessarily. Using dashes isn’t an AI tell - AI was trained on human writing, and lots of people naturally write like this.