Welcome to my cyber home.
Here, I share my knowledge so it may help somebody out there (maybe you?)
Welcome to my cyber home.
Here, I share my knowledge so it may help somebody out there (maybe you?)
Static Factory Methods Consider using Static Factory Methods Instead of Constructors The static factory method is a method that returns an instance of the class. Example In this example, we will build some HTML elements using Java. Here is the base class. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 class HtmlElement { private final String tag; private final String content; public HtmlElement(String tag, String content) { this....
Once your application (website) reaches the limits of your server, you should decide how to scale. In this post, we will focus on Vertical Scaling only....
In this post, we will take a step back, and discuss how could we start small and simple with our website before considering any scalability options, and we will discuss when should we start considering them...
Scalability usually means the ability to handle more users, clients, data transactions, or requests without affecting the user experience....