architectures · design-patterns

Chain of Responsibilty

2 minute read

Blog - Java Pathshala Actually bad habit. Throw your Responsibilty to others. Is what this pattern says - NO :). - The Chain of Responsibility is known as a behavioural pattern, as it's used to manage algorithms, relationships and responsibilities between objects. Complete java exception framework is built on *chain of responsibilities* Read More ›

architectures · caching

Issues With Caching

less than 1 minute read

Blog - Java Pathshala Caching can encounter challenges that include, for example, the problem of cache warm-up, where cache needs to be loaded with enough active data to reduce cache misses and allow it to start improving I/O response times. Read More ›

architectures · caching

Eviction policy

less than 1 minute read

Blog - Java Pathshala A cache eviction policy is an algorithm according to which an existing element is removed from a cache when a new element is added. The eviction policy is applied to ensure that the size of the cache does not exceed a maximum size. Read More ›

architectures · principles

Dependency Inversion Principle

1 minute read

Blog - Java Pathshala The ability to supply (inject) an external dependency into a software component. It's simply HOLLOYWOOD Law : Don’t call us, we’ll call you! Read More ›

architectures · design-patterns

Prototype Pattern

less than 1 minute read

Blog - Java Pathshala Allows making new instances by copying an existing instance ! Cheap Objects Read More ›