System Design Maps
Architecture maps per system — diagrams, trade-offs, and where they break.
System design, technical patterns, and behavioral prep — one place to think like a senior.
Demonstrate genuine accountability, self-awareness, and the kind of learning that prevents recurrence.
tech-conceptsWhy two tokens, lifetime trade-offs, refresh rotation with reuse detection, and the XSS vs CSRF browser storage dilemma.
tech-conceptsVì sao dùng hai token, đánh đổi về thời gian sống, refresh rotation kèm reuse detection, và thế lưỡng nan XSS so với CSRF khi lưu token trong trình duyệt.
toolsFrameworks, routers, code-gen, and DI tools for building services.
problem-solvingSystematically explore all candidates and prune invalid branches early.
behavioralThể hiện chiều sâu kỹ thuật, khả năng giải quyết vấn đề bài bản khi mọi thứ còn mơ hồ, sự kiên trì, và tác động đo lường được.
behavioralCho thấy khả năng phản biện một cách tôn trọng, dựa trên dữ liệu, cùng tinh thần "bất đồng nhưng vẫn cam kết".
tech-conceptsCách slice header, append và cơ chế nội bộ của map hoạt động — aliasing, rò rỉ bộ nhớ và các cạm bẫy về concurrency.
problem-solvingJust enough complexity analysis to reason about trade-offs in interviews.
problem-solvingDefine what you're searching for — the validation function is the most important thing.
problem-solvingCore bitwise ops — XOR cancellation, lowest-set-bit tricks, masks, and bitmask enumeration.
tech-conceptsWorker pool, fan-out/fan-in, pipeline, và errgroup — khi nào dùng cái nào và làm sao tránh leak.
tech-conceptsKiến thức về backend và hệ thống, trình bày dưới dạng hỏi đáp phỏng vấn.
tech-conceptsMutex, RWMutex, WaitGroup, Once, Pool — cách dùng đúng và những lỗi kinh điển.
tech-conceptsHow and when cached data is removed or refreshed.
tech-conceptsDữ liệu trong cache được xóa hoặc làm mới như thế nào và khi nào.
tech-conceptsHow applications read and write data relative to a cache.
tech-conceptsConsistency, Availability, and Partition tolerance trade-offs in distributed systems.
tech-conceptsCác đánh đổi giữa Consistency, Availability và Partition tolerance trong hệ phân tán.
tech-conceptsStream row-level database changes by tailing the transaction log rather than polling tables.
tech-conceptsStream các thay đổi ở mức dòng của database bằng cách bám theo transaction log thay vì polling bảng.
tech-conceptsChannel unbuffered so với buffered, ngữ nghĩa của close, select, và các cạm bẫy deadlock.
tech-conceptsKhi nào dùng channel để giao tiếp và khi nào dùng mutex để bảo vệ shared state.
tech-conceptsUnbuffered vs buffered channels, close semantics, select, and deadlock pitfalls.
tech-conceptsWhen to use channels for communication and when to use mutexes for shared state protection.
tech-conceptsỨng dụng đọc và ghi dữ liệu như thế nào trong tương quan với cache.
behavioralCho thấy bạn biết phát triển người khác bằng cách điều chỉnh phương pháp cho phù hợp, kiên nhẫn, và nhân rộng ảnh hưởng của mình qua những người bạn dìu dắt.
tech-conceptsThe two underlying metrics that SOLID, DRY, and every modularity principle ultimately serve — and why you can't (and shouldn't) drive both to zero.
tech-conceptsHai thước đo nền tảng mà SOLID, DRY và mọi nguyên tắc về modularity rốt cuộc đều phục vụ — và vì sao bạn không thể (và không nên) kéo cả hai về không.
problem-solvingHow to talk through a problem and present code under observation.
tech-conceptsWhy composition is the default for sharing behaviour, when inheritance is still right, and how LSP is the litmus test between them.
tech-conceptsVì sao composition là lựa chọn mặc định để chia sẻ hành vi, khi nào inheritance vẫn đúng, và LSP là phép thử phân định giữa hai bên như thế nào.
tech-conceptsWorker pools, fan-out/fan-in, pipelines, and errgroup — when to use each and how to avoid leaks.
behavioralDemonstrate mature conflict resolution — empathy, communication, and putting the shared goal over ego.
tech-conceptsPropagating cancellation, deadlines, and request-scoped values across goroutine boundaries.
tech-conceptsLan truyền cancellation, deadline và các giá trị theo phạm vi request qua ranh giới goroutine.
behavioralCho thấy tinh thần làm chủ, khả năng thúc đẩy kết quả, điều phối con người và tháo gỡ vướng mắc — lãnh đạo mà không cần quyền hạn chính thức.
toolsDatabases, queues, caches, and object stores I rely on.
tech-conceptsData race là gì, vì sao chúng gây ra undefined behavior, race detector, và happens-before.
tech-conceptsWhat data races are, why they cause undefined behavior, the race detector, and happens-before.
tech-conceptsHow indexes speed up queries, their internal structures, and when they hurt more than they help.
tech-conceptsIndex tăng tốc query như thế nào, cấu trúc bên trong của chúng ra sao, và khi nào chúng gây hại nhiều hơn lợi.
behavioralCho thấy bạn biết ưu tiên dứt khoát, đưa ra những đánh đổi rõ ràng, và giao tiếp mạch lạc dưới áp lực.
tech-conceptsPrecise semantics of defer (LIFO, argument evaluation timing), panic propagation, and recover boundaries.
tech-conceptsNgữ nghĩa chính xác của defer (LIFO, thời điểm đánh giá đối số), sự lan truyền của panic, và ranh giới của recover.
tech-conceptsAt-most-once, at-least-once, and exactly-once guarantees in messaging systems.
tech-conceptsCác bảo đảm at-most-once, at-least-once và exactly-once trong hệ thống messaging.
tech-conceptsThe handful of patterns that actually show up in day-to-day backend code — what each solves, when to reach for it, and when not to.
tech-conceptsNhóm ít ỏi các pattern thực sự xuất hiện trong code backend hằng ngày — mỗi cái giải quyết vấn đề gì, khi nào nên với tới, và khi nào thì không.
toolsMy current GitOps delivery pipeline — GitHub Actions, ECR, ArgoCD, EKS, and Terraform.
problem-solvingApply range updates in O(1); reconstruct via prefix sum.
behavioralShow respectful, data-backed pushback and the ability to disagree and commit.
problem-solvingSplit the problem in half, solve each half recursively, then merge.
problem-solvingMy ordered path through data structures & algorithms for interviews.
behavioralThể hiện sự thẳng thắn nhưng vẫn đồng cảm khi đưa ra phản hồi, và giữ thái độ cầu thị cùng hành động tiếp nối khi tiếp nhận phản hồi.
problem-solvingCache overlapping sub-problems identified by their recurrence relation.
tech-conceptsGo errors-as-values idioms — wrapping, sentinel vs typed vs opaque, errors.Is/As, and panic boundaries.
tech-conceptsHow distributed replicas converge and what guarantees weaker-than-strong consistency provides.
tech-conceptsCác replica phân tán hội tụ như thế nào và mức nhất quán yếu-hơn-strong cho bạn những bảo đảm gì.
behavioralCho thấy khả năng tạo đồng thuận và thúc đẩy sự áp dụng từ những người và những đội mà bạn không quản lý — bằng dữ liệu, quan hệ và mục tiêu chung.
tech-conceptsHow Go's concurrent tri-color GC works, what controls it, and how the compiler decides stack vs heap.
tech-conceptsConcurrent tri-color GC của Go hoạt động thế nào, điều gì điều khiển nó, và compiler quyết định stack hay heap ra sao.
tech-conceptsGo generics — type parameters, constraints, GC-shape stenciling, and when to use vs interfaces vs concrete types.
tech-conceptsGenerics trong Go — type parameter, constraint, GC-shape stenciling, và khi nào dùng generics thay vì interface hay kiểu cụ thể.
behavioralDemonstrate directness paired with empathy when giving feedback, and non-defensiveness with follow-through when receiving it.
toolsHow the three compare, and which to reach for in a coding interview — and why.
tech-conceptsCách Go lập lịch goroutine, mô hình G-M-P, và những chi phí bạn phải trả.
tech-conceptsGoroutine leak là gì, cách phát hiện, và các pattern để ngăn chặn.
tech-conceptsWhat goroutine leaks are, how to detect them, and patterns to prevent them.
tech-conceptsHow Go schedules goroutines, the G-M-P model, and the costs you pay.
problem-solvingGeneralised trees with cycles — DFS, BFS, adjacency list, visited set.
problem-solvingGreedy algorithm pattern — exchange argument, sort-then-scan, and when to fall back to DP.
behavioralShow technical depth, structured problem-solving under ambiguity, persistence, and measurable impact.
problem-solvingThe universal supporting data structure — frequency, memoization, O(1) access.
problem-solvingTop is the most important thing — find the logic with respect to the top element.
notesConventions for adding notes and keeping the card grid useful.
tech-conceptsMake unsafe operations safe to retry with client-supplied keys.
tech-conceptsLàm cho các thao tác không an toàn trở nên an toàn để retry nhờ key do client cung cấp.
behavioralShow you can drive alignment and adoption across people and teams you don't manage — through data, relationships, and shared goals.
toolsContainer, orchestration, IaC, and CI/CD tools I use to ship.
tech-conceptsInterface của Go hoạt động ra sao dưới lớp vỏ, bug nil-interface kinh điển, và các nguyên tắc thiết kế.
tech-conceptsHow Go interfaces work under the hood, the classic nil-interface bug, and design principles.
problem-solvingInterval merging, sweep-line for peak overlap, and scheduling patterns.
problem-solvingA 6-step framework so you never freeze on a new coding problem.
tech-conceptsStructure, signing vs encryption, validation steps, revocation problem, and the attacks that break JWT implementations.
tech-conceptsCấu trúc, ký (signing) so với mã hóa (encryption), các bước validation, bài toán thu hồi token, và những kiểu tấn công phá vỡ triển khai JWT.
toolsHow the two dominant messaging systems compare, and when to choose each.
behavioralThể hiện sự chủ động, khả năng định hình một vấn đề mơ hồ, và tinh thần làm chủ vượt ra ngoài phạm vi được giao.
toolsProgramming and data-definition languages in my daily workflow.
behavioralDemonstrate ownership, driving outcomes, coordinating people, and removing blockers — leadership without formal authority.
problem-solvingCore linked-list patterns — dummy head, fast/slow pointers, in-place reversal, and merging.
behavioralShow you can develop others by tailoring your approach, staying patient, and multiplying your impact through the people you grow.
tech-conceptsQueue và stream dựa trên log khác nhau ra sao về ngữ nghĩa và tình huống sử dụng.
tech-conceptsHow queues and log-based streams differ in semantics and use cases.
behavioralThể hiện tinh thần dám nhận trách nhiệm, khả năng tự nhìn lại mình, và kiểu học hỏi khiến sai lầm không lặp lại.
system-designDesign a social home timeline that fans out posts to followers' feeds with sub-200ms read latency at billions-of-reads scale.
tech-conceptsNormal forms that eliminate redundancy and update anomalies, and when to deliberately break the rules.
tech-conceptsCác normal form giúp loại bỏ dư thừa và update anomaly, và khi nào nên cố tình phá luật.
tech-conceptsDelegated authorization framework — grant flows, PKCE, roles, and the pitfalls that lead to token theft.
tech-conceptsFramework ủy quyền truy cập (delegated authorization) — các grant flow, PKCE, các vai trò, và những cạm bẫy dẫn tới đánh cắp token.
toolsMetrics, logs, traces, and profiling tools to understand running systems.
tech-conceptsAuthentication layer on top of OAuth 2.0 — id_token vs access_token, JWKS validation, and the confused-deputy attack.
tech-conceptsLớp xác thực đặt trên OAuth 2.0 — id_token so với access_token, validation qua JWKS, và kiểu tấn công confused-deputy.
behavioralShow bias for action, the ability to structure ambiguity, and ownership beyond your assigned lane.
system-designDesign a financial-grade payment system that processes charges, refunds, and payouts with zero double-charges and a complete audit ledger.
toolsHow the two dominant open-source relational databases compare, and when to choose each.
problem-solvingPre-compute cumulative sums to answer range queries in O(1).
behavioralDemonstrate calm under pressure, mitigation-first thinking, clear communication, and blameless follow-through.
system-designToken-bucket rate limiting at the API gateway, and where it breaks.
system-designDesign a realtime messaging system supporting 1:1 and group chat with sub-200ms delivery, presence, and offline push at hundreds-of-millions-of-users scale.
toolsHow the three API paradigms compare, and when to reach for each.
tech-conceptsCoordinate multi-service business transactions using local transactions and compensating actions.
tech-conceptsĐiều phối các business transaction đa service bằng local transaction và compensating action.
tech-conceptsTwo complementary scaling strategies — replication duplicates data for availability, sharding partitions it for capacity.
tech-conceptsHai chiến lược scaling bổ trợ cho nhau — replication nhân bản dữ liệu để có tính sẵn sàng, sharding phân mảnh dữ liệu để có dung lượng.
tech-conceptsHow slice headers, append, and map internals work — aliasing, memory leaks, and concurrency pitfalls.
problem-solvingMaintain a variable-length window that grows and shrinks to satisfy a condition.
tech-conceptsHow SOLID's five principles form a system — not a checklist — for high cohesion, low coupling, and changeable OO code.
tech-conceptsNăm nguyên tắc SOLID hợp thành một hệ thống chặt chẽ — không phải một checklist — để đạt cohesion cao, coupling thấp và code OO dễ thay đổi.
tech-conceptsWhen to reach for a relational database vs. a NoSQL store, and the real trade-offs between them.
tech-conceptsKhi nào nên chọn một relational database thay vì một kho NoSQL, và những đánh đổi thực sự giữa chúng.
behavioralStructure behavioral answers as Situation, Task, Action, Result, Learned — the five-beat framework that signals seniority.
behavioralStructure behavioral answers as Situation, Task, Action, Result, Learned — the five-beat framework that signals seniority.
problem-solvingFrequency maps, sliding windows on strings, and common character tricks.
problem-solvingTime-boxed roadmaps and a curated must-do problem set for interview prep.
behavioralThể hiện sự bình tĩnh dưới áp lực, tư duy ưu tiên khắc phục trước, giao tiếp rõ ràng, và khâu xử lý hậu sự cố không đổ lỗi.
behavioralCách bạn dùng AI như một người phản biện thiết kế và để kiểm thử áp lực — chứ không chỉ là công cụ sinh code. Những ý trả lời ở tầm senior về các chế độ hư hỏng, bug âm thầm, và second-order effects.
tech-conceptsMutex, RWMutex, WaitGroup, Once, Pool — correct usage and classic mistakes.
tech-conceptsBackend & systems knowledge in interview Q&A form.
toolsTest frameworks, linters, load tools, and mocking libraries.
behavioralShow you can prioritize ruthlessly, make explicit trade-offs, and communicate clearly under pressure.
problem-solvingKahn's algorithm for ordering DAGs; Dijkstra for weighted shortest paths.
tech-conceptsReliably publish events by writing them in the same DB transaction as the business change.
tech-conceptsPublish event một cách tin cậy bằng cách ghi chúng trong cùng DB transaction với thay đổi nghiệp vụ.
tech-conceptsACID guarantees, read phenomena, the four isolation levels, and how MVCC makes them practical.
tech-conceptsCác đảm bảo của ACID, những hiện tượng đọc, bốn isolation level, và cách MVCC biến chúng thành khả thi trong thực tế.
problem-solvingThe gateway to the recursion family — base cases, recurrence relations, DFS & BFS.
problem-solvingPrefix tree for fast word and prefix lookup.
problem-solvingThe main technique for sub-array conditions — slow/fast or opposite-ends pointers.
tech-conceptsA distributed protocol that guarantees atomic commit or abort across multiple participants.
tech-conceptsMột distributed protocol đảm bảo commit hoặc abort atomic trên nhiều participant.
problem-solvingDisjoint Set Union with path compression and union by rank for near-O(1) connectivity.
system-designDesign a read-heavy URL shortening service with analytics and sub-50ms redirect latency.
behavioralHow you use AI as a design reviewer and stress-tester — not just a code generator. Senior-grade talking points on failure modes, silent bugs, and second-order effects.
system-designDesign a VOD platform that ingests creator uploads, transcodes them into adaptive bitrate renditions, and delivers segments globally with sub-second start times at petabyte scale.
tech-conceptsCác idiom errors-as-values của Go — wrapping, sentinel vs typed vs opaque, errors.Is/As, và ranh giới panic.
behavioralThể hiện cách xử lý xung đột chín chắn — sự đồng cảm, khả năng giao tiếp, và đặt mục tiêu chung lên trên cái tôi.