Category Archives: Akka

Rejection Handling in Akka Http.

While working on one my project which uses Akka Http for routing, I came across a situation where we had to use custom Rejection Handler. It was a worthy thing to be shared with all and hence this blog ūüėČ … Continue reading

Posted in Akka, akka-http, Scala | 2 Comments

Akka Persistence using MongoDB – Part I

Akka is a powerful actor based tool kit for Concurrency, Parallelism and Clustering. But for every concurrent applications, Akka actors are not fit because Futures are another alternative for performing Concurrency. Most of the developers follow simple rules for using … Continue reading

Posted in Scala, Akka, MongoDB, NoSql, Tutorial | Tagged , , , , , , , , | Leave a comment

Cassandra with Spark 2.0 : Building Rest API !

In this tutorial , we will be demonstrating how to make a REST service in Spark using Akka-http as a side-kick¬† ūüėȬ† and Cassandra as the data store. We have seen the power of Spark earlier and when it is … Continue reading

Posted in Akka, akka-http, apache spark, Cassandra, Scala, scalatest, Spark | Tagged , , , , , , , , , , , , , | 2 Comments

Akka with java

Hello friends , In last few days i was working on a project with akka using java . This was really an amazing experience in akka . Here we will discuss that how to use Akka¬†in java and write the … Continue reading

Posted in Akka, Java, Scala | Leave a comment

A Simple Example of WebSocket based Microservice Architecure using Akka-HTTP in Scala

In my previous blog, I explained how you can implement WebSocket server using Akka-HTTP. As you know, ¬†Microservice architecture has become very popular in recent years. This architecture fits perfect 1) When you want to give support of your application … Continue reading

Posted in Akka, akka-http, Scala, Web Services, websocket | Tagged , , , , | Leave a comment

Supervision and Monitoring in Akka

What is supervision? Describes a dependency relationship between actors, the parent and child releationship. Parent is unique because it has created the child actor, so the parent is responsible for reacting when failures happens in his child. And parent decides … Continue reading

Posted in Akka, Scala | Tagged , , , | 5 Comments

Scala-IOT : What is Mqtt ? How it is lightweight ?

We have already stepped in the world of IOT ! And if you do find it fascinating then stay tuned to this series , or you can signup for our newsletter so you can directly get a message in your … Continue reading

Posted in Akka, akka-http, IOT, Scala | Tagged , , , , , , , , , , , , , , | 4 Comments

Scala, Couchbase, Spark and Akka-http: A combinatory tutorial for starters

Couchbase and Apache Spark are best so far¬†, for the in-memory computation. I am using akka-http because its new in the business. If you are not a big fan of akka-http and don’t think it is yet ready for production … Continue reading

Posted in Akka, akka-http, apache spark, couchbase, Future, Scala, Spark | Tagged , , , , , , | 5 Comments

Akka-http Logging: Logging the Response Time of the Rest API

Sometimes while developing REST API’s we want to log the response time of¬† our REST APi for the sake of better tuning. We are going to discuss the same case here and will see how to do that in Akka-http … Continue reading

Posted in Akka, akka-http, Scala | Tagged , , , , , | 2 Comments

Building Analytics Engine Using Akka, Kafka & ElasticSearch

In this blog , I will share my experience on building scalable, distributed and fault-tolerant¬† Analytics engine using Scala, Akka, Play, Kafka and ElasticSearch. I would like to take you through the journey of ¬†building an analytics engine¬†which was primarily … Continue reading

Posted in Akka, akka-http, Amazon, Amazon EC2, Apache Kafka, Architecture, AWS, AWS Services, Batch, Best Practices, big data, Cassandra, database, Elasticsearch, Java, Non-Blocking, NoSql, Reactive, S3, Scala, Streaming, Web | 9 Comments