Skip to main content

Posts

Showing posts from 2018

Going deep into the Instagram’s feed ranking algorithm

Going deep into the Instagram’s feed ranking algorithm Ranking algorithms means feed posts showing up based on what Instagram thinks you want to see and not just the newest posts first. Let's check the Instagram’s giant feed handling –   They never revealed how the feed algorithm worked until they called upon a group of reporters to their San-Francisco office and pulled the curtains off from the Instagram feed ranking algorithm. They explained the reporters that there were three factors where an individual’s engagement to the app is taken care of, the three being: -

Load Balancer and Load balancing Algorithms

What is Load Balancer? Load balancer is a virtual or physical device which distributes network traffic to clustered servers. It improves responsiveness and increases availability of applications. Load balancer is an interface between client and server which acts as an advisor for the client network and request traffic. Passes the requests to the right server by using various load balancing algorithms. Which reduces the load on single server and prevents any one application server from becoming a single point of failure. It results applications availability and response time.

Easiest way to understand how the Ethereum Smart Contract work

Ethereum is one the fastest growing block chain with ever growing eco-system. It's beautiful in that, unlike Bitcoin, it's not just a currency, it's a complete platform for Decentralized Application (Dapp). Ethereum as currency just being one of the many application of the platform. Sheer enthusiasm about this currency in recent times has caused emergence of tonnes of technologies around it. Once you start reading about ethereum you will be hit by technical Jargons at 1 jargon per minute speed. Hence, this article is an attempt to help you visualize one aspect of the Ethereum system, ie. how smart contract work. Imagine you want to create a bank where users can manage their accounts. Also, any other third party bank should be able to integrate with your super awesome bank. So, you create a following piece of code. class Bank{     Map<String, Double> accountMap;     public void transferTo(String accountNumber, double amount){         double balance =