Token Bucket Algorithm in Scala with Cats IO monad
In this article we will explain what is the token bucket algorithm, when is it used and how to implement it using Scala and making use of the library cats and specifically the IO monad.
In this article we will explain what is the token bucket algorithm, when is it used and how to implement it using Scala and making use of the library cats and specifically the IO monad.
In this article I am going to demonstrate how to convert imperative, mutable code written in Java into functional style to achieve immutability, type safety, clear error handling and maintainability in a step by step guide.
In this article we will try to provide an informal definition of functional programming and explain some basic terms.
In the previous article we outlined what we are going to design and implement and the features our final deliverable will have. In this article we are going to examine the proposed architecture utilizing AWS and Docker Swarm. We will...
In this series of articles, we will design and implement a complete URL shortener service called Pinokio. We will design the architecture, discuss the decisions made, compare different architectural solutions, and implement the system using the Java programming language and...