Author: Harshit Daga

How to cope with the threats of System failures?

Systems are designed to respond to its users in any case. But, some of the times, due to some reasons system may fail. System failures can cause huge loss to its users as well as also creates some sort of fear into them; and with this fear, users lose trust in the system which definitely affects system’s goodwill and market value. For example, a few Continue Reading

How to lazily evaluate collections in Scala

The Scala language provides to ways to implement the collections. One is strict and other is non-strict or lazy. Whenever, the instance of a collections in scala(except for the Streams) is created, it creates the strict version of the collection which means memory is allocated at the same time. A simple example of strict collection is: val list = List(1,2,3,4,5,6,7,8,9,10) list: List[Int] = List(1, 2, Continue Reading

Apache Cassandra

Knolx: Introduction to Apache Cassandra

Hello everyone, Knoldus organized a KnolX session on Friday, 07 October 2016. In that session, we had an introductory session on Apache Cassandra. Cassandra is a distributed database which allows us to store data on multiple nodes with multiple replicas in such a way that even if a node goes down, another node can take charge of that node. The slides for the session are as Continue Reading

Knolx: Introduction to Akka-Http

Hi all, Knoldus has organized an one hour session on 9th March 2016 at 5:00 PM. Topic was Introduction to Akka-Http.  Many people have joined and enjoyed the session. I am going to share the slides here. Please let me know if you have any question related to linked slides.

Introduction to JNI- Java Native Interface

The Java Native Interface (JNI) is a native programming interface in JDK. It is used to call C/C++ libraries from the libraries written in Java and vice-versa. This is a java API which bridges the gap between C/C++ and Java. Why do we use Java Native Interface(JNI)? JNI calls are used when we already have a library which is written in C/C++ language and we Continue Reading

%d bloggers like this: