Why you should never use sticky sessions

By George Koniaris No comments

Sticky sessions grant the ability to route incoming requests to a specific server, based on their session identifier. We usually find them in applications that keep their state in a non-sharable service. An example is keeping state in memory or the server’s hard disk. In this article, we will discuss what sticky sessions are. We […]

5 tips to improve your sprint planning process

By George Koniaris 2 comments

It’s Monday. The meeting room’s screen is already on, showing the backlog of your company. A distinctive smell of coffee pervades the entire office. The scrum master and the product owner are already in place. They call in the tech team so they can finally start the weekly sprint planning.

NodeJS logging, from beginner to expert.

By George Koniaris No comments

In this tutorial, we will discuss how to correctly perform logging on NodeJS. We will start from simple console logs, moving to more advanced features, one step at a time. At the end of this read, you will be able to create a custom logger using the Winston npm library and add transports where logs […]

How to securely store JWT tokens.

By George Koniaris 8 comments

In the last years, JWT tokens are widely used as an authentication and authorization method for web applications. They allow backend developers to authenticate users, without making a single query to the database server or any other type of storage. They are super easy to use and they also use the most common format currently […]