Posts

DHCP: Dynamic Host Configuration Protocol

Image
Suppose, you own a cyber cafe and you have a network in which there are 5 computers. Now you want to add a new computer to the network. So you configure the IP configuration on the computer and assign a static IP address to it followed by the subnet mask, default gateway, and DNS server address.  Later, you thought of increasing your business and bought 10 more computers. Now to add the newly bought 10 computers, you need to configure the IPs for each and every one of them. You are a smart guy so you configured 10 random IPs to these computers. But now when you start these computers, one of the computers was not able to connect to the network. That's bad !! This happened due to the IP conflict. In a network it is very important to have unique IP addresses for every device connected. But in your case two computers in the network mistakenly had the same IP address. To avoid this cumbersome activity and to restrict your network from IP conflict you should use a DHCP server. DHCP to th

Concurrency vs Parallelism

Image
You are probably reading this post as you are familiar with multithreading and multiprocessing but having a feeling of being somewhat confused with the concurrent and parallel way of execution. Basically, Concurrency and Parallelism are related to the way an application executes. It is a parameter that is taken into consideration while designing various applications. So, let us dive deep into this and see what these terms are and what is the exact difference between them. Concurrency When an application is dealing with multiple tasks at the same time i.e. it makes progress on more than one task, it is said to be concurrent. Still confused, right?? Dealing with multiple tasks means that if an application has only one processor for execution, the processor will not be able to process multiple tasks at the same time. In this case, the scheduler kicks in and schedules the tasks such that the processor makes progress on one task, and then context switches to another ta

What happens when you watch stuff on Netflix?

Image
While watching a Netflix movie have you ever wondered how your favorite video streaming app operates? How does it earn money? How is it able to show online streaming videos without hindrance? This article focusses on this very topic. Netflix is a huge on-demand video streaming service provider out there. To start with lets first have a look at Netflix statistics as of today. Netflix's net revenue is $20.16 billion. Netflix has more than 182 million subscribers, including 69 million in the US. Netflix operates in more than 200 countries. Netflix plays more than 1 billion hours of video each week. Netflix hosts almost 35,000 hours of content. Netflix accounts for over 37% of peak internet traffic in the United States. Netflix ranks #197 in Fortune 500. Source What we can conclude from above Netflix is a giant in video-streaming. It has a lot of money. It has a huge subscriber base. It has a rich library of video content. Basically, Netflix earns f