Himaanshu Shukla·Mar 7#SystemDesign: API Gateway vs. Load BalancerIn cloud and microservices architectures, a common misconception (which I also had initially) is that an API Gateway and a Load Balancer…
Himaanshu Shukla·Jul 7, 2024#Collections: Part 4- A Guide to Hash Table in JavaWhat is a Hashtable? Java Hashtable class implements Map, which maps keys to values. It operates on the concept of Hashing, where each key…A response icon1A response icon1
Himaanshu Shukla·Jul 6, 2024#Collections: Part 3- A Guide to HashMap in JavaHow null key is handled in HashMap? Since equals() and hashCode() are used to store and retrieve values, how does it work in the case of…
Himaanshu Shukla·Jul 6, 2024#Collections: Part 2- A Guide to HashMap in JavaWhat is Hash Map in Java? In Java, a HashMap is a data structure that implements the Map interface and stores key-value pairs. It allows…A response icon1A response icon1
Himaanshu Shukla·Jul 6, 2024#Collections: Part 1 A Guide to Map in JavaWhat is a Map in Java? In Java, a Map is an interface that represents a collection of key-value pairs where each key is unique within the…
Himaanshu Shukla·Dec 28, 2023#WebSockets: Part 3 Key components of the Java WebSocket APIIn Part 1, we discussed some basic Socket programming interview questions. In Part 2 we discussed some basics of WebSockets. In part 3 we…
Himaanshu Shukla·Dec 27, 2023#WebSockets: Part 2 WebSockets Interview Questions in JavaIn Part 1, we discussed some basic Socket programming interview questions. In part 2 we will discuss WebSockets.
Himaanshu Shukla·Dec 26, 2023#WebSockets: Part 1 Socket Programming Interview Questions in JavaRecently in one of my freelance projects, I was asked to replace existing Java Sockets with the websockets. In this series of tutorials, I…
Himaanshu Shukla·Jun 18, 2022For loop or Foreach, which one is faster in Java?When I was looking for a job in 2019, one of the questions I was asked was whether we should iterate through an ArrayList using a for or…A response icon5A response icon5