Thread Safe LIFO Data Structure Implementations 1. Introduction In this tutorial, we’ll discuss various options for Thread-safe LIFO Data structure implementations. In the LIFO data structure, elements are inserted and retrieved according to the Last-In-First-Out principle. This means the last inserted element is retrieved first. In computer science, stack is… Continue Reading java-lifo-thread-safe

Control the Session with Spring Security 1. Overview In this article, we’re going to illustrate how Spring Security allows us to control our HTTP Sessions. This control ranges from a session timeout to enabling concurrent sessions and other advanced security configs. Further reading: Retrieve User Information in Spring Security How… Continue Reading spring-security-session

Guide to the ConcurrentSkipListMap 1. Overview In this quick article, we’ll be looking at the ConcurrentSkipListMap class from the java.util.concurrent package. This construct allows us to create thread-safe logic in a lock-free way. It’s ideal for problems when we want to make an immutable snapshot of the data while other… Continue Reading java-concurrent-skip-list-map

Introduction to Creational Design Patterns 1. Introduction In software engineering, a Design Pattern describes an established solution to the most commonly encountered problems in software design. It represents the best practices evolved over a long period through trial and error by experienced software developers. Design Patterns gained popularity after the… Continue Reading creational-design-patterns