UNLOCKED CODING
45.5K subscribers
30 photos
2 videos
5 files
29 links
Download Telegram
What is a CDN
Content Delivery Network is a group of geographically distributed servers that work together to provide fast delivery of Internet content.
Instead of every user downloading data from a single central server (which might be halfway across the world), a CDN allows them to download the content from a "local" server near them.
* Goal: Reduce latency (delay) and improve load speeds.
* Key Concept: It moves the content physically closer to the user.

The Flow: How it Works

1) User Request: You type a URL (e.g., e.com/image.jpg) into your browser
2) DNS Resolution: Instead of pointing directly to the main server (Origin), the DNS routes your request to the nearest CDN Edge Server based on your location.
3) Cache Check (Hit vs. Miss):
4) Cache Hit: If the Edge Server already has the image saved, it sends it to you immediately. (Fastest)
5) Cache Miss: If the Edge Server does not have the image, it requests it from the Origin Server, saves a copy for future users, and then sends it to you.
⚑47🐳16πŸ”₯11πŸ’‹7β˜ƒ6πŸ‘Ύ6❀‍πŸ”₯2🫑2
Adaptive Bitrate Streaming is a video delivery technique where the player dynamically switches video quality based on your network speed, device, and buffer health. Translation: instead of freezing dramatically at 99%, it quietly drops from 1080p to 720p and keeps going.

How it works
1. Encoding
The same video is encoded at multiple bitrates and resolutions.
Example: 240p, 360p, 720p, 1080p.
2. Chunking
Each version is split into small segments (2–10 seconds).
3. Manifest file
A playlist describes all available qualities and segment URLs.
Think of it as a menu, not the food.
4. Smart player logic
The player constantly checks:
Current bandwidth
Buffer level
CPU / device capability
Then it picks the best possible segment right now.

Common ABR protocols
MPEG-DASH
HTTP Live Streaming (HLS)
Project
Video Player with multiple quality options (adaptive bitrate streaming)
Frontend: React.js or Next.js
Backend: Node.js or Go
Transcoding: FFmpeg Cron jobs
Storage: Amazon S3 or Cloudflare R2
CDN: Cloudflare
πŸ”₯40πŸ’‹10πŸ†5πŸ‘Ύ4⚑3β˜ƒ2🐳2
WEB WORKER

A Web Worker lets JavaScript run in the background, on another thread, so your main UI thread can keep doing its job.

Why they exist

JavaScript in the browser is single-threaded.

So when you do heavy work:-The page dies. Gracefully.
Web Workers fix this by moving heavy work off the main thread.

Can Do

Heavy calculations
Encryption / decryption
Video processing
Anything CPU-intensive
❌ Cannot do

Access DOM
Touch window, document, alert
Directly modify UI

Data is copied or transferred, not shared (unless using SharedArrayBuffer)

Types of Web Workers

1.Dedicated Worker
One page β†’ one worker (most common)
2. Shared Worker
Multiple tabs β†’ one worker
Rare. Slightly cursed.
3. Service Worker
Offline, caching, push notifications

Real-world usage

Video players (HLS, DASH)
Crypto / hashing
Image processing
Large JSON parsing
CAPTCHA behavior analysis
Analytics that should not freeze UI
❀‍πŸ”₯34🐳6πŸ†5⚑2πŸŽ‰2πŸ”₯1
How DRM Works
1. Content Encryption
Media is split (DASH/HLS) and encrypted using AES (128/CTR) with a Content Encryption Key (CEK).

2. Packaging & Metadata
Manifests (MPD/M3U8) carry DRM data like KIDs and PSSH to identify the DRM system.

3. Playback Initialization
The client detects encrypted media and loads a CDM via EME. JavaScript never sees keys.

4. License Request
The CDM sends a license challenge with device info, KIDs, and nonces to the server.

5. License Response
The server validates access and returns encrypted CEKs with usage rules, signed.

6. Secure Decryption
Keys decrypt inside secure hardware (TEE). Plain media never enters normal RAM.

7. Output Protection
Decrypted frames use secure paths to display. HDCP blocks external capture.
🫑39⚑7β˜ƒ4❀‍πŸ”₯4πŸŽ‰4🐳1πŸ’‹1
What is a Role-Based System?

A Role-Based Access Control (RBAC) system is a way to control who can do what in an application.
Assign roles (like Admin, User, Editor) Each role has permissions Users get access based on their role

🎯 Example
Admin β†’ Can create, edit, delete users
Editor β†’ Can edit content
User β†’ Can only view content
πŸ” How It Works (Step-by-Step)
1. User logs in
2. System checks their role
3. Based on role β†’ allows or blocks actions

πŸ” Real-Life Usage: Admin panels, Banking apps, School portals, Company dashboards
πŸ†10πŸ”₯6πŸ’‹4
Job opportunity - Sde Roles
expected salary - 9k intern, 32k Fresher

https://forms.gle/RTB85JRqubdfeva19
❀‍πŸ”₯12πŸ”₯2
How to get placed in 2026?
There are mainly 3 paths:

1) Mass Hiring Companies
Most basic path.
Same path for both college placements and off-campus, just slightly harder off-campus.
Focus on:
- DSA
- Aptitude
- Basic CRUD-level development
For higher packages:
- DSA matters more than fancy projects
- Solve a lot of questions consistently

2) Product Companies
Two paths here:
A) Through College Placement
- Heavy DSA focus
- Strong development skills (Full Stack / Backend / Data-related)
- Some companies ask System Design too
- DSA is still the highest priority

B) Off-campus
Very hard, especially for BCA/BSc students because ATS filters many profiles.
Focus on:
- Strong development
- Build real projects
- Networking & referrals
- Personalized cold DMs
- Excellent DSA + LLD
Also:
- Avoid focusing only on DS/AI/ML for off-campus. ( imp )
- Hiring is extremely limited compared to web/backend/full stack roles
- Entry-level DS/ML roles usually prefer strong math background, MTech/BTech from top colleges, or prior experience

3) Startups
(Not including top startups or mass recruiters)
Best approach:
- Focus mainly on development
- Build things fast
- DM founders directly
- Show projects instead of resume

Internships:
- Tier 3 BTech students β†’ try for good Indian product-based internships, PPO chances are good
- BCA/BSc students β†’ harder because ATS filtering is brutal
- Use personalized DMs
- Ask for referrals
- If nothing works, start from service-based firms for experience

Remote internships:
- Most β‚Ή5k/month remote internships are not very valuable in real learning or career growth

Networking:
- Grow your LinkedIn
- Connect with seniors & people already working in companies
- Stay active on X/Twitter too
GitHub:
- Should never look empty
- Commit regularly
- Build publicly
- Even private repo consistency helps - u can run fake cron for this

After AI:
DSA is STILL relevant.
Don’t listen to random Instagram creators saying coding is dead.
Start doing development + dsa now.

Experience shared by Unlocked
Still doubt https://t.me/unlocked_chat
πŸ”₯51🫑9❀‍πŸ”₯6πŸ†5β˜ƒ4πŸŽ‰3⚑1πŸ˜‡1
Full Stack Project Ideas

Sorted by Difficulty
Beginner β†’ Intermediate

1. Social Proof Notification Engine
β†’ β€œSomeone from Delhi purchased this course” style popups
β†’ Realtime notifications + conversion optimization
2. Review Widget Platform
β†’ Embeddable review/testimonial widgets for websites
β†’ Multi-tenant widgets + analytics + customization
3. AI Chat Widget SaaS
β†’ Configurable AI chatbot for websites
4. E-Commerce Referral System
β†’ Referral tracking + rewards + affiliate workflows
5. Instagram Automation Platform
β†’ Built using Meta APIs
β†’ Auto posting, analytics, scheduling tools
6. RBAC Company Management System
β†’ Enterprise role & permission management
7. Multi-Tenant Blogging Platform
β†’ SEO-first blogging engine with custom domains
β†’ Markdown editor + CMS dashboard
8. Multi-Tenant CAPTCHA SaaS
β†’ CAPTCHA API platform with analytics & bot detection
9. LMS Platform
β†’ S3 + CDN + video pipeline + auth system
β†’ Course streaming + instructor dashboard
10. Multi-Tenant Portfolio Builder
β†’ Drag-drop portfolio builder + custom domains
β†’ Themes + deployment pipeline

Intermediate β†’ Advanced

11. AI Slides Generator
β†’ Prompt β†’ AI-generated presentations
β†’ Similar to Gamma
12. AI β€œSlop UI” Detector
β†’ Detect overused gradients/pills/emojis
β†’ Suggest cleaner UI improvements
13. AI UI Review Agent
β†’ Upload screenshots β†’ AI suggests UI/UX improvements
14. AI Bug Detection System
β†’ Analyze logs/errors automatically
β†’ AI suggests root cause & fixes
15. Developer Evaluation Workflow System
β†’ Analyze GitHub + LeetCode + Resume automatically
β†’ AI scoring + recruiter dashboard
16. AI Workflow Automation Platform
β†’ Trigger.dev + AI workflows + automations
β†’ Similar to n8n/Zapier
17. Collaborative Cloud Docs
β†’ Real-time multi-user editing system
18. Real-Time Auction Platform
β†’ Live bidding using WebSockets
β†’ Anti-sniping timers + payment workflows
19. CDN/Image Optimization Service
β†’ Resize/compress/cache images dynamically
β†’ Edge caching + signed URLs
Advanced β†’ Very Hard

20. Distributed Cron Job Platform
β†’ Run millions of scheduled jobs reliably
β†’ Retries + queues + worker orchestration
β†’ Similar to Trigger.dev / Temporal
21. Cloud IDE
β†’ Sandbox-based online coding environment
β†’ Terminal + isolated execution + containers

Full stack 2026 Project Idea's
By unlocked
❀‍πŸ”₯32πŸ†8😘6🐳4⚑3πŸŽ‰2πŸ”₯1🫑1
More Project Idea - 2026 (Hard)

1) Prediction Market Platform
Core Features: Event creation, YES/NO market trading, Real-time order book, Market resolution, User portfolios, Price charts, Wallet integration, Trade history, Liquidity pools, Market comments/chat, Push notifications
Advanced Features: Copy trading, Market analytics, Automated market makers, Multi-chain support, Reputation system
Hard Engineering Areas: Matching engine, Real-time websocket scaling, Financial consistency, Event resolution fairness, Manipulation prevention

2) Decentralized Exchange (DEX)
Core Features: Token swaps, Liquidity pools, LP tokens, Slippage calculation, Wallet connect, Transaction history, Price impact calculation, Multi-token routing, Pool explorer
Advanced Features: Yield farming, Cross-chain swaps, Limit orders, Perpetual futures, Staking, Governance DAO, Arbitrage analytics
Hard Engineering Areas: Smart contract security, Blockchain indexing, Precision math, Gas optimization, MEV protection

3) Centralized Crypto Exchange (CEX)
Core Features : Spot trading, Order matching engine, Order book, Market/limit orders, Wallet system, Deposits/withdrawals, User balances, Portfolio dashboard, Real-time charts, Admin controls
Advanced Features : Futures trading, Margin trading, Liquidation engine, Risk engine, Referral system, Staking, P2P trading, Copy trading
Hard Engineering Areas : Low-latency matching engine, Concurrency handling, Financial accuracy, Wallet security, Hot/cold storage, Risk calculations

4) Stock Trading Platform
Core Features : Stock buying/selling, Portfolio management, Live charts, Watchlists, Order placement, Transaction history, P&L tracking, News feed, Notifications
Advanced Features : Options trading, Algo trading APIs, AI portfolio analysis, Social investing, Tax reports, Screener engine
Hard Engineering Areas : Market data streaming, Broker integration, Realtime updates, Regulatory logging, High availability

5) Multi-Tenant ERP Platform
Core Features : Authentication, RBAC system, Company workspaces, HR management, Payroll, CRM, Inventory management, Billing/invoicing, Reporting dashboards
Advanced Features : Workflow builder, AI analytics, Automation rules, ERP plugins/extensions, Audit logs, Multi-language support
Hard Engineering Areas : Complex DB relations, Tenant isolation, Role hierarchies, Large-scale CRUD optimization, Reporting performance

6) Ride Sharing / Logistics Platform
Core Features: Rider/driver apps, Live GPS tracking, Trip booking, Driver matching, Payments, Trip history, ETA calculations, Notifications, Ratings/reviews
Advanced Features: Dynamic pricing, Route optimization, Carpooling, Driver incentives, Fraud detection, Fleet management
Hard Engineering Areas: Geospatial queries, Real-time location sync, Dispatch algorithms, Websocket scaling, Traffic prediction

7) Search Engine
Core Features: Web crawler, Search indexing, Search UI, Ranking engine, Snippet generation, Full-text search, Query autocomplete
Advanced Features: Semantic search, AI answers, Personalized ranking, Voice/image search, Vector search, Search analytics
Hard Engineering Areas: Distributed indexing, Ranking algorithms, Huge data storage, Efficient querying, Web crawling scale

8) Event Ticketing Platform
Core Features: Event creation, Seat selection, Booking system, Payment gateway, QR tickets, User dashboard, Refund handling, Notifications
Advanced Features: Anti-bot system, Queue/waiting rooms, Dynamic pricing, NFT tickets, Fraud detection, Live event analytics, Seat locking (MOST IMP)

suggestion idea's by Unlocked. - easy one at https://t.me/Unlocked_Coding/245
⚑15❀‍πŸ”₯5πŸ”₯4🐳1πŸ†1
Company Wise HR Contacts - HR Contacts.pdf
232.6 KB
πŸ†73πŸ‘Ύ14⚑6πŸŽ‰6🐳5πŸ”₯2
javascript+es6+unlocked.pdf
502.3 KB
JavaScript Core Interview Question by unlocked - best for Mern Stack, Sde1, Frontend Interview
🐳21πŸ†10❀‍πŸ”₯5🫑4⚑3