Round-robin DNS

Wiki Round-robin DNS is a technique of load distribution, load balancing, or fault-tolerance provisioning multiple, redundant Internet Protocol service hosts, e.g., Web server, FTP servers, by managing the Domain Name System's (DNS) responses to address requests from client computers according to an appropriate statistical model. In its simplest implementation, Round-robin DNS works by responding to DNS requests not only with a single potential IP address, but… Continue reading Round-robin DNS


December Problem Solving

 1 December - Minimum number of jumps to reach end | Set 2 (O(n) solution). SO  2 December - find sum(S) of all contiguous sub-array's max difference, SO 3 December - The Enlightened Ones. HE 4 December - Minimize Cash Flow among a given set of friends who have borrowed money from each other. GFG… Continue reading December Problem Solving

PHP imp

why should one prefer call_user_func_array over regular calling of function?  SO call_user_func_array is mostly used in dynamic contexts, when you don't know which function you will call and what arguments you are going to pass beforehand. In which scenario regular calling method will fail but call_user_func_array will not ? If you don't know beforehand how… Continue reading PHP imp

OAuth 2

OAuth 2 is an authorization framework that enables applications to obtain limited access to user accounts on an HTTP service, such as Facebook, GitHub, and DigitalOcean. It works by delegating user authentication to the service that hosts the user account, and authorizing third-party applications to access the user account. OAuth 2 provides authorization flows for… Continue reading OAuth 2