We learn about web sockets and how they solve the problems caused by pooling. You can read it here if you missed it. In this article we are going to talk about the implementation of web sockets. Web Sockets and how they solve the problem caused by pooling. For the article I am assuming that
Category: Servers
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
Continuous Integration for your open Source project.
You must have heard of travis or jenkins if not you can read about them if you click on their name. Now you want continuous integration or lets leave this word. Lets say you want to run some command whenever you are committing something on github. Say you want to run test case, code quality
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
Do you know about Netflix Simian Army?
When we talk about micro services, cloud infrastructure and ability of the infrastructure which is resilient, Netflix is one of the top companies which comes into scene. Netflix always work in the direction of making its infrastructure more resilient to make it always available cause it has to serve a lot of traffic. In this
Go server less with AWS LAMBDA.
Yes, server less with AWS LAMBDA, this could be of great future use. If you are facing problems in managing servers what could be more easy to manage than no server. These are the words of Amazon CTO. Here we will be talking about aws service lambda which allows you to run your scripts or server
Normal AWS SQS Queues and FIFO queues.
While working in one of the project I recently came across the problem. The problem was that the data I push in queue is not coming in the same order I push it in. I thought of it as a callback problem with my JS code but when I tried more I came to realise
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
How to maintain consistency while uploading to AWS S3
In how to maintain consistency while uploading to AWS S3, We are talking about amazon web services storage service, popular by the name S3. We can upload file to it and retrieve it when ever required. It is also used by many big companies to serve their static files like CSS and JS. How to maintain
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