Obaid KhaninStackademicInterfaces in Golang: A Deeper LookInterfaces in Golang are fairly different from other languages. In Go, the interface is a custom type that is used to specify a set of one…Apr 141Apr 141
Obaid KhaninPython in Plain EnglishThreads in Python, and the Global Interpreter LockA program under execution is a process. A program is a collection of instructions usually stored in a file, a process is the execution of…Nov 7, 2023Nov 7, 2023
Obaid KhaninBits and PiecesMaintaining State in Horizontally Scaled ServersHow can you maintain state in horizontally scaled servers?Oct 30, 20231Oct 30, 20231
Obaid KhanHorizontally Scaling Websockets using RedisI was recently studying about notification systems using Websockets and PubSub. I made a tiny implementation of a notification system…Feb 18, 2023Feb 18, 2023
Obaid KhanAdding Two Factor Authentication to your Django/React appI have observed that there are quite a lot of tutorials about adding two factor authentication in Nodejs or Django applications. I couldn’t…Jan 21, 20232Jan 21, 20232
Obaid KhanAdding Google Login to your Django API manually (No auth packages)When I was creating one of my projects DSAndeavour, I decided to add Google login to my web app. The tech stack involved was…Dec 29, 20221Dec 29, 20221
Obaid KhanMigrating your PostgreSQL Database from Heroku to Render.comRecently I was migrating one of my side-projects from Heroku to Railway and Render. I was deploying my API on Railway and my Postgres…Nov 29, 20221Nov 29, 20221