Scala

Supervision and Monitoring in Akka

Reading Time: 2 minutes 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 which choice is need to be selected. When a parent receives the failure signal from it’s child, depends on the nature of failure the parent Continue Reading

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

Reading Time: 4 minutes 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 inbox whenever it is published ! So we established our basic understanding in our last blog post of what is IOT and how it is Continue Reading

Scala-IOT : Introduction to Internet Of Things.

Reading Time: 4 minutes Recently this word IOT is gaining lot of popularity. And we see a lot of news on it like the world is moving towards IOT , and its the next big thing and smart cities are no longer a fiction  and many other news like that. As we are also a part of this world 😉 so we start digging into this and start exploring Continue Reading

Neo4j with Scala : User Defined Procedure and APOC

Reading Time: 5 minutes In the last blog Getting Started Neo4j with Scala : An Introduction which got the overwhelming response from Neo4j and Dzone. We discussed about how to use Neo4j with Scala. For recap Blog and the Code. Now we are going to take one step ahead . As we know that in the Relational Database, Procedure provide advantages of better performance, scalability, productivity, ease of use Continue Reading

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

Reading Time: 5 minutes 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 then you can take a look on this blog, which displays how to do the same task using Spray. If you are new to all Continue Reading

Introduction to Kafka Connect

Reading Time: < 1 minute Knoldus organized a half an hour session on 29 July 2016 at 4:00 PM. It covers a brief introduction to Apache Kafka Connect, giving insights about the benefits of kafka connect, its use cases. It also covers the motivation behind building Kafka Connect and an introduction to its architecture. Here is the video for the same.

RDF – Basic Building Blocks of Semantic Web

Reading Time: 4 minutes In the first post, we talked about the general description of Semantic Web and how it can be useful. In this post, we would try to look at RDF which is the basic building block. RDF is Resource Description Framework which was defined as standard for encoding metadata by W3C in 1999. The idea for this standard is to make metadata readable by machines. The Continue Reading

Scala-Kafka-Avro (Producing and Consuming Avro messages)

Reading Time: 3 minutes This post will show you how to write and read messages in Avro format to/from Kafka. Instead of using with plain-text messages, though, we will serialize our messages with Avro. That will allow us to send much more complex data structures over the wire. Avro Apache Avro is a language neutral data serialization format. A avro data is described in a language independent schema. The Continue Reading

Scala Future Under The Hood

Reading Time: 3 minutes In the previous post, i was discussing about Scala ExecutionContext. As we know, for multithreading we need to maintain thread pools using ExecutionContext and by default ForkJoinPool is used because for accessing “multi core” processor. There are multiple thread pools are available in our java.util.concurrent.Executors utility class and as per our requirement we can create new one also. After all, Scala have concept of Future. Continue Reading

Spark Session: New Entry point in Spark 2.0

Reading Time: 2 minutes Finally, after a long wait, Apache Spark 2.0 got released on 26 July 2016, Tuesday. This release is built upon the feedback got from industry, in past two years, regarding Spark and its APIs. This means it has all what Spark developers loved to use and all that which was not liked by developers has been removed. Since, Spark 2.0 is a major release of Apache Spark, Continue Reading

An Invitation From Scala String Interpolation

Reading Time: 6 minutes “Every generation needs a new revolution.” – Thomas Jefferson This blog narrates the tale of an awesome change that was introduced in Scala 2.10 that made life of a Scala programmer repose and the change was the introduction of “String Interpolation” which is a mechanism that enables to embed or bind a variable references(our simple vars and vals) or a result yielding expressions(like match case, if-else, Continue Reading

Customizing String Interpolation – An Example

Reading Time: 4 minutes OVERVIEW This blog is continuation of – ‘An Invitation From Scala String Interpolation‘. Here we will explore how to define a custom string interpolator. OBJECTIVE In this blog the custom interpolator being designed works exactly like the ‘s interpolator’ with an extra ability to write the “post interpolation content” into a file and finally returning the status message whether the file write was successful or Continue Reading