WebFlux is one of the standout features of Spring 5.0, which is a functional web framework alternative to Spring-MVC, built on top of Reactive principles. This post will look at how to build a basic chat application using WebFlux on the server to handle incoming WebSockets and React on the front end. What is Reactive Streams & WebFlux…Johan Zietsman
Random bits of knowledge and laughable mistakes from a real world code monkey.
Including DFS, BFS, Binary Search Trees & Self Balancing Trees. In part 1 of this series I looked at common search and sort algorithms used on lists. Part 2 focused on hash functions, sets and maps. In this post I will look at trees, depth and breadth first search, binary search trees and self balancing trees. Basic Terminology A tre…Johan Zietsman
In Part 1 of this series I looked at common search and sorting algorithms used on Lists. This post will look at Hash functions and how they are applied to Sets and Maps to offer constant time lookup performance. Hash Functions A Hash function takes a value and produces a number that is often used as an index in an Array. For example, when…Johan Zietsman
Including Binary Search, Bubble, Merge and Quick Sort. Every developer will, or have at some point, encountered this dreadful experience... the intimidating tech interview. In this series of posts I will cover some of the typical topics that arise in tech interviews, starting with searching and sorting algorithms most commonly applie…Johan Zietsman
Do you need to setup Single Sign-on (SSO) for a microservice architecture? Unsure how to share authentication state between stateless microservices? This post will try to answer these questions using Spring Boot, Spring Security (OAuth2) and JSON Web Tokens (JWT). OAuth OAuth defines a standard contract of providing token based authe…Johan Zietsman