arrow_back अभ्यास
Phase 9 • Week 41

Choosing the stack, URL Shortener Design, Spring AI setup

verified_user

Weekly Production Deliverable

Target Output
Deliverable: Stack decided (Spring AI), URL Shortener design underway, working Spring AI endpoint with streaming and error handling.
Weeks: W41 Active W42 W43 W44 W45

Monday

0 / 2 done
DSA Weekly timed contest (LeetCode/Codeforces)
1.5h
AI/ML Spring AI vs LangChain4j Evaluation
Read docs (docs.spring.io/spring-ai, docs.langchain4j.dev), decide architecture: Spring AI 2.0 (Spring-native, first-class Model Context Protocol support)
2.5h

Tuesday

0 / 2 done
DSA Redo 2 hard problems cold from weakest topic
1.5h
CORE Fresh HLD Practice: System Design of a URL Shortener & Live-Streaming App
URL Shortener requirements & Base62/KGS design + System Design of a Live-Streaming App (Video ingestion, RTMP/HLS protocols, CDN distribution, low-latency live chat)
2.5h

Wednesday

0 / 2 done
DSA Redo 2 hard problems from second weak topic
1.5h
AI/ML Spring AI ChatClient & Prompt Architecture
Read Spring AI's ChatClient fluent API, PromptTemplate parameterization, system messages, streaming responses via Server-Sent Events
2.5h

Thursday

0 / 2 done
DSA Light mixed practice, any topic
1.5h
CORE URL Shortener High-Level Architecture
Encoding algorithms (Base62 encoding vs Key Generation Service - KGS), database schema design (SQL vs NoSQL), API definitions
2.5h

Friday

0 / 2 done
DSA Second weekly contest
1.5h
AI/ML Capstone Corpus & Knowledge Base Definition
Curate technical corpus (your study notes, engineering docs, TSEC syllabus); sketch ingestion, chunking, and embedding strategy
2.5h
Weekend High-Load Execution • 8.0h Daily Deep Focus Lab

Saturday

0 / 3 done
DSA Review both contests' mistakes
1.5h
AI/ML Spring AI Setup & Prompt Template Lab (4.0h)
Set up Spring AI 2.0 starter; configure ChatClient with custom system prompts, fluent API, and temperature tuning.
4.0h
JAVA Spring AI Setup & First Endpoint
Add Spring AI starter via start.spring.io; configure provider API keys; build a "Hello World" ChatClient endpoint in Spring Boot
2.5h

Sunday

0 / 3 done
DSA Full mixed revision
1.5h
AI/ML Streaming Tokens & Reactive Endpoints Lab (4.0h)
Stream LLM responses via Spring WebFlux / Server-Sent Events (SSE) to frontend; handle client disconnects.
4.0h
JAVA Streaming & Structured Error Handling
Stream tokens via SSE; implement error handling for timeouts, rate limits, and fallback responses; push scaffold to GitHub
2.5h
edit_note

Week 41 Technical Notes & Journal

#LeetCode #Java #DSA #Week41