Design Forum
Lambda Expressions and Exception Handling
This short article will explore a few options to handle checked and unchecked exceptions in lambda expressions.
Streams and Iterables
In this short article, we'll explore various StreamSupport methods that allow us to wrap an Iterable instance as a stream of elements.
Implementing a Custom Thread Pool
In this article, we'll explore some multithreading concepts by writing our very own custom thread pool to manage several tasks and threads.
Maintaining equals and compareTo contract
Any change in the collection being used should not impact the behavior of a class.
Logging - information vs noise
In this post, we will try to curate best practices that we should during application development for the logging track
LRU Cache
Least recently used (LRU) eviction policy defines the eviction criteria to control the number of entries present in a cache.
Optimistic vs Pessimistic Locking
In this post, we will explore the differences between optimistic and pessimistic locking and the respective use-cases.
Remote Proxy Pattern
Assuming the actual instance to be a remote service instance, we can use the design pattern to implement a client server model allowing us to segregate the complex business logic as a separate layer.