Encryption of production databases can be a very challenging task. It is a very time-consuming operation and during that process, things may go wrong, which is the last thing that you want to do in a production environment. First of all, let’s look into the risks of doing such a procedure.

The Risks


Yesterday I came across to a problem when the decorator design pattern was really needed, but NodeJS does not support it natively. I’ve decided to implement my own and share it with you. Let’s start.

The problem

There is one single backend that has multiple clients each of them can make a request to the backend and receive a response. Writing each request handler for every client is a headache and can cause a lot of duplicate code because the data is almost the same except the format. …


Introduction

Hello, I’m Melik. I’ve been working In Krisp since the foundation of the company and during that period I’ve written a couple of APIs for audio processing. And what I’ve learnt is that a huge problem arises when you want to recreate the infrastructure that you have been managing by hand.

We’ve been using AWS and all our infrastructure was there. I’ve created the first API by configuring it by hand. And every time I needed something I went to the console and created all the resources that I need. …


Recently I’ve been doing a web project which had to use WebSockets. And it was a very tough task for someone like me who was very unfamiliar with WebSockets to use them freely. So I decided to write this blog post and share with you what I’ve learned.

In the scope of this post, I’ll talk about WebSocket protocol, authentication mechanisms for WebSockets and how to use WebSockets in node js.

WebSocket Protocol

Imagine a scenario where you are building a chat application using HTTP protocol on that case how would you know if you have a new message or not? Because…

Melik Karapetyan

Principal engineer at Krisp

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store