What is the OAuth 2.0 Authorization Code Grant Type?

The Authorization Code Grant Type is probably the most common of the OAuth 2.0 grant types that you’ll encounter. It is used by both web apps and native apps to get an access token after a user authorizes an app. This post is the first part of a series where we explore frequently used OAuth 2.…

Nest.js Caching With Redis

What is Redis Caching is a technique that you’ll hear about a lot in the world of highly scalable and performance system nowadays. And when I mention caching, I hope that the first word that pop out of your head is Redis. Beside caching, Redis is used for some other use cases: Pub/Sub Queues Real…

Dockerfile Best Practices

I have been using Docker directly or indirectly for years now. During that time I shot myself in the foot multiple times by not following suggestions and good practices. I have collected tips and practices and separated them into multiple categories. I am calling these categories Dockerfile, images…

Differences between WebSocket and Socket.IO

WebSocket and Socket.IO are probably two of the most popular solutions for implementing real-time communications in the modern web. But how do they differ? When building a real-time application, there’s a moment where you have to choose how to implement the realtime data exchange between client and…

Websocket Horizontal Scaling The Right Way

It’s very easy to integrate (or similar websocket libraries) into your web application and deploy it on one server. But when you need to think about horizontal scalability (aka, adding more servers), it is a whole different story. As a developer, you probably know the difference between vertical…

Page 3 Of 12