Tag: functional programming

Scala Futures – Concurrency Interpreted!
Scala

Scala Futures – Concurrency Interpreted!

Think - Parallel , multi threaded, distributed, Asynchronous, non-blocking programming.first thing that comes to your mind for short-lived concurrent processes is “Scala Futures” .Future’s allow you to run values off main thread ,and handle values which are running in the background /yet to be executed by mapping them with callbacks .if you are from Java background , you might be aware of java.util.concurrent.Future yes?there are several challenges in using this,1- threads are always blocked while retrieving values.2- wait time for the completion of computation.3- get method is the only way to retrieve values.Weary andantagonistic way of writing concurrent code.we have Future’s in Scala(Better one’s)-scala.concurrent.Futurewith Scala Futures you can achi...
Introduction to Akka Typed with Scala for beginners.
Akka, Scala

Introduction to Akka Typed with Scala for beginners.

Learn to Build distributed and fault tolerant systems with me and Dead-pool.Learn best in class technology upon which many cutting edge frameworks are build(Play Framework, lagom, cloudFlow, etc …) the list goes on…I would like to share my insights on how to get there. when i started my journey to learn Scala and Akka, i had to refer numerous articles and videos to get where i am today, i don't want the beginners to go through the same pain, these articles are created by keeping complete get go stuff in mind.What is Akka and why you should learn it with Scala?ever wondered how to build highly distributed and complex systems with ease and type safety? continue reading…Akka is a “toolkit” for building highly concurrent( ability of different parts or units of a program, algor...