Hey everyone, this is the third article in series working on scale. If you haven’t read the previous ones please give it a look. In this article we will be talking about the things that people generally tend to ignore. These are timeouts, retries, throttling and failover. These four together are very important when it
Tag: servers
Reverse proxy vs forward proxy.
You may have heard the name of proxy servers and what they do. In this part of article we will be talking about the difference between reverse proxy server and forward proxy server. Why are they used and how you can setup a proxy server. Lets see Reverse proxy vs forward proxy. Forward Proxy Server: Forward
Unable to do ssh into machine.
Unable to do ssh into machine? I have seen this problem many time and i know this is one of the problems that everyone faces. Below are my personal list of things that you can try to solve this problem. Check for key permissions. This happens if you key or pem file does not have
Web Sockets and how they solve the problem caused by polling.
You must be aware of web services where you provide a url and when some hit those url they get some data. Now say there is a change in that data and you want to be aware of that change then what will you do. We can use polling that is keep calling the url
How to get number of threads per process?
When you are debugging the servers it is sometimes very important to get the count of thread each process is running, Here we will see different ways by which we can see the number of threads. Keep in mind that these commands are for ubuntu and may vary for different systems. Let us start and
How to implement gzip compression in nginx to speed up your website.
Recently I was looking into page speed of my website and noticed that I forgot to enable gzip compression in my nginx config. I took out some time to implement and thus I am writing about it here. Lets see how to implement gzip compression. Why is GZIP compression required. It compress your content and hence
Command to get top ten processes consuming most CPU
When you are running a web server it is really important to keep the track of process which are consuming most resources. We will see the command to get top ten processes consuming most CPU Command to get top ten processes consuming most CPU Such tracking is important when there is a DOS attack and you
How to get most frequent ip address in your logs.
When you are running a web server it is really important to keep the track of ip from which you are getting most number of hits. We will see How to get most frequent ip address in your logs How to get most frequent ip address in your logs Such tracking is important when there
What is blue green deployment.
If you are around devops people or people who are working with deployments in your industry. You must have heard of the name blue green deployment. Most of the companies in the world use this technique to get the least down time for their respective products. This deployment is old but still one of the