arrow_back अभ्यास
Phase 6 • Week 26

DBMS Transactions, Redis Caching, Concurrency Drills, Summer Plan Lock, HLD Begins

Weekly MUST Budget Standard
27.0h / 27.0h cap
Hour Calibration
actual hours logged
Rule: slippage > 1.25x triggers Scope-Cut Rung 2
Week Execution 0%
0/ 15 tasks 0.0h
target

Week Objective & Target Output

Target Output
March 29 – April 4, 2027 — Focus: Tarjan's & Kosaraju's Algorithm; Karpathy: "Let's build GPT from scratch" (Part 2: Full Transformer); Redis Caching in Spring (Cache-Aside, TTL, Stampede); LLD Machine Coding Session 4 (90-min Round); HLD Foundations & Scalability.
Weeks: W26 Active W27 W28 W29 W30

MUST — Critical Path

10 Tasks • ~27.0h
DSA (Java) 1 tasks
DSA DSA Daily Quota (Week 26) 4 problems
Solve 4 new problems from NeetCode 150 — 1-D Dynamic Programming; time-box each at 25 min before any hint (2.5h includes editorial on misses), then log pattern and miss reason in the Journal. Never repeat a problem already in the ledger.
2.5h
Competitive Programming 1 tasks
CP Contest & Upsolving (Week 26) LC #
Codeforces Div.2/3 (fortnightly) + LeetCode Weekly Contest + mandatory upsolving. Ratings are tracked metrics, never gates.
2.5h
Backend (Spring Boot) 1 tasks
SPRING Redis Caching in Spring (Cache-Aside, TTL, Stampede)
Add Redis to PlacementPilot: cache-aside with @Cacheable, TTL and eviction policy, cache-stampede protection (lock or jittered TTL), measure hit ratio. Why: caching is the most common HLD follow-up.
4.0h
Core CS (LLD) 1 tasks
LLD LLD Machine Coding Session 4 (90-min Round)
Implement a complete object-oriented system in compiled Java on LLDCoding.com / Workat.tech under a strict 45-minute timer (e.g. Design a Cache with LRU Eviction or Tic-Tac-Toe Game Engine). Include at least one thread-safety mechanism (synchronized, ConcurrentHashMap, or ReentrantLock). Architecture §6.1
2.5h
Core CS (HLD) 1 tasks
HLD HLD Foundations & Scalability LC #
Vertical vs horizontal scaling, load balancers (L4 vs L7, round robin, least connections, consistent hashing), caching strategies (read-through, write-through, write-back, cache invalidation), CAP Theorem, PACELC Theorem. Produce a standardized 1-page HLD interview blueprint template (clarify requirements, estimation, API, data model, architecture, deep dive) to be reused in all subsequent HLD drills and mocks. The template MUST include a worked back-of-envelope estimation example (DAU → QPS → storage → bandwidth → number of servers → cache hit ratio from Zipf distribution). Every subsequent HLD case study should start with 5 minutes of quantitative estimation before drawing any boxes. Architecture §6.2 Also cover the standard follow-ups: CDN and edge caching, consistent hashing with virtual nodes, retries with exponential backoff and jitter, circuit breakers and bulkheads, and rate-limit failure behaviour (429 + Retry-After). Primary sources: Alex Xu Vol 1 chapters 1–5 and Hello Interview core concepts.
4.0h
Professional 1 tasks
PRO Problem-Solving Journal Spaced Review (Week 26)
Re-solve 3 tagged graph problems.
2.0h
Recruiting Pipeline 2 tasks
PIPELINE Summer Plan Lock
Decide the summer 2027 plan with evidence from the Recruiting Pipeline: internship offer vs GSoC acceptance vs capstone sprint [VERIFY GSoC dates]; record the decision, fallback and the Week 35–38 consequences.
1.0h
PIPELINE Recruiting Pipeline Weekly (Week 26)
Calendar check against the Opportunity Calendar (Architecture §16); send ≥ 5 personalised outreach messages (alumni, seniors, recruiters) and log each in the Tracker; follow up open threads; ask for a referral 1–2 days after any OA invite; apply within 72 h of any new posting on the Target-40.
1.5h
Core CS (DBMS) 1 tasks
DBMS DBMS Transactions & Isolation Levels
ACID, isolation levels (Read Committed, Repeatable Read, Serializable) and the anomalies each prevents (dirty read, non-repeatable read, phantom, write skew), MVCC basics, optimistic vs pessimistic locking, database deadlocks; reproduce two anomalies with two psql sessions. Primary source: the PostgreSQL documentation chapter on transaction isolation; reproduce a lost update and a write-skew anomaly in two psql sessions, then fix each with the right isolation level or SELECT ... FOR UPDATE.
4.0h
Core CS (Java) 1 tasks
JAVA Concurrency Build Drills LC #1114
Implement from memory, with tests: (1) bounded blocking queue with ReentrantLock + two Conditions, (2) thread-safe LRU cache, (3) token-bucket rate limiter guarded by ReentrantLock, (4) Print in Order (LC #1114) and Print FooBar Alternately (LC #1115) with semaphores. Resource: Java Concurrency in Practice chapters 1–5 and 14. Why: every LLD rubric checks thread safety.
3.0h

SHOULD — Depth & Mastery

(3 Tasks)
Execute when MUST pace is on track
HLD Alex Xu Vol 1 Chapter 1
Scale from Zero to Millions of Users. Architecture §6.2
2.0h
OS Tarjan's & Kosaraju's Algorithm
Strongly Connected Components (SCC) and Bridges in Graph. [3 problems]
2.5h
AI/ML "Let's build GPT from scratch" (Part 2: Full Transformer)
Feedforward network, residual connections, LayerNorm, Transformer block stacking, positional embeddings, training loop on Shakespeare dataset, generate text. Push to ml-from-scratch. Architecture §6.1
3.5h

STRETCH — If Ahead

(2 Tasks)
Bonus reps & competitive advantage
AI/ML FastAPI Wrapper for RAG
Expose your RAG pipeline via a lightweight FastAPI REST endpoint.
2.0h
CAPSTONE Capstone 1 Minimal Interface
Wrap your Week 24 RAG pipeline in a minimal Streamlit web UI or Jupyter notebook with interactive query input, retrieved chunks display, and generation. Architecture §6.1
3.0h
verified_user

Weekly Clearance Gate

0 / 7 Cleared
[T: Redis Caching in Spring (Cache-Aside, TTL, Stampede)] Have you completed “Redis Caching in Spring (Cache-Aside, TTL, Stampede)” (Add Redis to PlacementPilot: cache-aside with @Cacheable, TTL and eviction policy,…)?
Evidence: GitHub PR link with passing CI run.
[T: LLD Machine Coding Session 4 (90-min Round)] Did you complete LLD Machine Coding Session 4 with working, compiling Java code in under 45 minutes?
Evidence: class diagram and code link in your design repo.
[T: HLD Foundations & Scalability] HLD: Have you completed “HLD Foundations & Scalability” (Vertical vs horizontal scaling, load balancers (L4 vs L7, round robin, least connections,…)?
Evidence: 1-page write-up in your design repo.
[T: Summer Plan Lock] Recruiting Pipeline: Have you completed “Summer Plan Lock” (Decide the summer 2027 plan with evidence from the Recruiting Pipeline: internship offer…)?
Evidence: Tracker rows with dates and links.
[T: Recruiting Pipeline Weekly (Week 26)] Recruiting Pipeline: Have you completed “Recruiting Pipeline Weekly (Week 26)” (Calendar check against the Opportunity Calendar (Architecture §16); send ≥ 5 personalised…)?
Evidence: Tracker log shows ≥ 5 personalised outreach messages this week.
[T: DBMS Transactions & Isolation Levels] DBMS: Have you completed “DBMS Transactions & Isolation Levels” (ACID, isolation levels (Read Committed, Repeatable Read, Serializable) and the anomalies…)?
Evidence: written answers in your notes repo.
Health & Guardrails: 1 full rest day taken every 2 weeks?
tune

If Behind / Life Interruption Protocol

Triage Rule

When academic exams spike or weekly time slips, execute this contingency plan:

shield Protect (Non-Negotiable)
Tarjan's & Kosaraju's Algorithm + Karpathy: "Let's build GPT from scratch" (Part 2: Full Transformer) + Recruiting Pipeline Weekly (Week 26)
schedule Defer (Safe to Shift)
Alex Xu Vol 1 Chapter 1 → weekend; DSA Daily Quota (Week 26) → Week 27
edit_note

Week 26 Technical Notes & Journal

#LeetCode #Java #DSA #Week26