Actor Hierarchy

Posted on Leave a commentPosted in Architect, Java

Akka Architecture by default supports parent-child Actor structures. On startup Akka already creates several actors for you: http://doc.akka.io/docs/akka/current/java/guide/tutorial_1.html Root guardian – to handle all the actors System guardian – Akka System guardian User guardian – user in this case is you, user guardian manages all the actors created by the developer. Usually you can only […]

Akka Actor Model

Posted on Leave a commentPosted in Architect, Java

Akka Actor Model  Dealing with highconcurrency, highly scalable applications. Again, just want to emphasize this site does not aim to give a complete comprehension of given topic, but rather an overview, or review of certain topics. It is still recommended to do a reading on the actual documentation. Recommended Reading: http://doc.akka.io/docs/akka/current/java/guide/tutorial_1.html What is Actor Architecture? In […]

Set vs List vs Map

Posted on Leave a commentPosted in Architect, Java

Basic Question in Java is usually what is the difference between Set/List/Map. Set – is used usually used when you want to keep a collection of items that have no duplicates. Plain and simple. So think set when you want a unique collection of items. Variations TreeSet (interface: SortedSet) – sorts the value in the […]

React JS Notes

Posted on Leave a commentPosted in Architect, Technologies

This is not suppose to be a comprehensive guide on how to use React JS, but more of a cheat sheet if you need a refresher on how react works. React Key concepts components structured – Files are separated in what they call components, and each part of the page would have their own js […]

Docker Introduction

Posted on Leave a commentPosted in Architect, Java

What is Docker?  “Docker is the world’s leading software container platform. Developers use Docker to eliminate “works on my machine” problems when collaborating on code with co-workers. Operators use Docker to run and manage apps side-by-side in isolated containers to get better compute density. Enterprises use Docker to build agile software delivery pipelines to ship […]

Completable Future – Futures Library

Posted on Leave a commentPosted in Architect, Java

Writing Async calls with Java 8 Say hello to Java 8 asynchronous library. This enables us to prepare calls that do not immediately return a response. CompletableFuture works like a promise, saying that this process will eventually end, but do not wait on it. Let’s dive in to the details, below is the most basic […]

Reactive Microservices

Posted on Leave a commentPosted in Architect, Java

Reactive microservices “its not the big fish which eats the small fish, its the fast fish that eats the slow fish” In traditional programming sense, we are all familiar with monolithic applications, meaning one big chunk of war or ear that contains all your business logic and connects to one data storage, usually a relational […]

java.util.function library

Posted on Leave a commentPosted in Architect, Java

As in previous topic, we can use functional interfaces to use in lambda expression see topic on: Java 8 interfaces However Java 8 goes on more to provide us mechanism to easier create lambda expressions. See java.util.function library. No need to create an functional interface and just overwrite existing ones in this library. This library […]

Java 8 Interfaces

Posted on Leave a commentPosted in Architect, Java

There are several changes for interfaces, including the addition of static and default methods. Interfaces in java 8 is more and more similar to abstract method.  Consider the example below: Key notes: static static methods inside interfaces are only accessible inside the interface. No way to access from outside the interface, see initializeTestData() method above. default default […]