WebSocket scaling for live classes, chat and polls
How to scale WebSockets: connections per server, load balancing long-lived connections, Redis pub/sub fan-out, reconnect storms, and when SSE or polling is simpler.
Ideas & updates
Security, piracy and engineering deep dives, plus practical ideas for growing your institute. From the team building Upclass.
How to scale WebSockets: connections per server, load balancing long-lived connections, Redis pub/sub fan-out, reconnect storms, and when SSE or polling is simpler.
No: Base64 is a public, keyless encoding anyone can reverse. How it works, why 'Base64-encrypted' passwords, tokens and links leak, and what to use instead.
The DMCA is US law, yet Indian educators file DMCA forms every day. Why that works, India's own notice-and-takedown rules, and a notice template for both.
What each Cache-Control directive does, no-cache vs no-store, ETags and revalidation, and ready-to-use headers for static files, HTML, APIs and HLS video.
Hashing gives data a fixed-length fingerprint that can't be reversed. How SHA-256 works, what makes a hash secure, why MD5 and SHA-1 are broken, and hashing leak evidence.
Safe harbour explained for course owners: when a platform loses protection, what actual knowledge means after Shreya Singhal and Myspace, and grievance deadlines.
How edge caches decide hits and misses, what Cloudflare caches by default, cache rules for HTML, APIs and HLS, measuring hit ratio, and purging safely.
Why fast hashes fail for passwords, how salts and work factors stop cracking, current bcrypt, scrypt and Argon2id settings, peppers, and upgrading legacy MD5 hashes.
How Indian courts block pirate sites and mirrors without naming the operator, what Neetu Singh v. Telegram achieved for educators, and what a suit takes.
Quantum computers threaten RSA and elliptic curves, not AES. NIST's new standards, harvest now decrypt later, hybrid key exchange in browsers, and a plan for platforms.
How two devices agree on a secret key in public: the colour-mixing analogy, a small-number worked example, forward secrecy, man-in-the-middle attacks and post-quantum hybrids.
Set up Nginx proxy_cache, microcache dynamic pages for one second, bypass logged-in users, and stop pile-ups with cache locks and stale-while-updating.
Upclass for institutes
Your courses, live classes and tests in your own branded app, with piracy protection on every lecture. Plans start at ₹1,999/month.