Let’s create a basic Lagom CRUD application with MySQL using Event Sourcing and CQRS.
People often get confused in Event Sourcing and CQRS(Command Query Responsibility Segregation) thinking that both are same. But they are different techniques which can be combined together to create more resilient and elastic applications.
In this blog, we will discuss the difference between CQRS and Event sourcing and how they can be combined.
The goal of this blog is to explain the basic rules you should keep in mind when designing your schema for Cassandra. If you follow these rules, you’ll get pretty good performance out of the box. Let’s first discuss keys in Cassandra: Primary Key – Made by a single column. CREATE TABLE blogs ( key text PRIMARY KEY, data text ); Composite Key – Generated Continue Reading
Hi, In this blog we will discuss some of the challenges we faced while migrating lagom version from 1.3.x to 1.4.x that can be helpful if you are thinking to migrate your lagom version. But firstly we will see the versions we should have for Scala, Play and Akka. Play and Akka Versions While migrating Play and Akka version too needs to upgrade. With Lagom Continue Reading
Scala 3.0, an upgrade to the object-oriented, functional Scala language that started out on the JVM, will be a big step towards realizing the full potential of ideas. The intent is to publish the final Scala 3.0 soon after Scala 2.14. At the current release schedule that means early 2020. Let’s discuss 2.12 and 2.13 with the new Dotty compiler in Scala 3.0. Scala 2.12 Continue Reading
In the last blog, we discussed some basics of Apigee. If you haven’t created your proxies yet then, read the blog Apigee101: Constructing your own Proxy and create one. Now, let’s discuss how we can handle faults through Apigee which can’t be handled by our services but first we should know what Fault Handling is. So, Let’s get started Handling Faults Many error conditions can Continue Reading
In this blog, we will discuss what Apigee is and how we can create our own proxies. But before we get an understanding of Apigee, let’s discuss API first. What is an API? API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other. Each time you use an app like Facebook, send an Continue Reading
The Vavr library, formerly known as Javaslang, is a functional library for Java that provides immutable data types and functional control structures. Maven Dependency Include maven dependency to use VAVR in your project. Ensure that version of Java is 1.8 minimum. Now, let’s take an overview of features that VAVR library provides where JAVA lacks. LIST A List is an eagerly-evaluated sequence of elements. Lists Continue Reading
Blockchain has the potential to change the way that the world approaches big data, with enhanced security and data quality. Most of the people know nothing about how Blockchain technology works. For this very reason, I decided to give a gentle introduction to Blockchain technology. Before describing Blockchain First, We will discuss the problem that Blockchain solved. Suppose, Your friend say Alex calls you and Continue Reading
In the previous blog, we discussed about Fabric Certificate Authority(CA) Architecture, Initializing Fabric Certificate Authority Server and Configuring the database. Now, we will discuss how to use fabric-ca-client command. We can interact with Fabric-CA Server via Fabric-CA Client and there can be multiple Fabric-CA Intermediate Servers. Each Intermediate Fabric-CA server can be configured Fabric-CA server cluster. So, to start Fabric-CA-Client we need to start the Fabric-CA-Server first. Continue Reading
Every operation in Hyperledger must be signed cryptographically with certificates. You can generate certificates yourself using OpenSSL or by using third party. Before moving further into details of CA lets first explore Hyperledger Fabric a little. 😉 Hyperledger Fabric Hyperledger Fabric founded in 2015 which is an umbrella for open source projects some of which are Blockchain Distributed Ledger Frameworks such as Fabric, Sawtooth and Continue Reading
As we know Spark is used at a wide range of organizations to process large datasets. It seems like spark becoming main stream. In this blog we will talk about Assimilation of Spark Streaming With Kafka. So, lets get started. How Kafka can be integrated with Spark? Kafka provides a messaging and integration platform for Spark streaming. Kafka act as the central hub for real-time streams of Continue Reading