Functional Programming

Still with Spring? 9 reasons to Akka

As a niche consulting and development organization we end up in a lot of enterprises who would like to modernize, would like to build web-scale products but they are not ready to look beyond Spring. It is a strongly debated topic and there are reasons for still going the Spring way but the reasons are less and less as we go ahead. For starters, this Continue Reading

kafka with spark

Tuning a Spark Application

Having trouble optimizing your Spark application? If yes, then this blog will surely guide you on how you can optimize it and what parameters should be tuned so that our spark application gives the best performance. Spark applications can cause a bottleneck due to resources such as CPU, memory, network etc. We need to tune our memory usage, data structures tuning, how RDDs need to Continue Reading

HDFS: A Conceptual View

There has been a significant boom in distributed computing over the past few years. Various components communicate with each other over network inspite of being deployed on different physical machines. A distributed file system (DFS) is a file system with data stored on a server. The data is accessed and processed as if it was stored on the local client machine. The DFS makes it convenient to share information Continue Reading

Alpakka – Connecting Kafka and ElasticSearch to Akka streams

In our previous blog, we had a look at what Akka streams are and how they are different from the other streaming mechanisms we have. In this blog, we will be taking a little step forward into the world of Akka Streams. In order to work with Akka streams, we need a mechanism to connect Akka Streams to the existing system components. That is where Alpakka Continue Reading

Introduction to Akka Streams-Part 2

In the previous blog Introduction to Akka Streams-Part 1, I have given a brief introduction about Akka Streams and its components. In this blog, I’ll be discussing the features of Akka Streams. Akka Streams is an implementation of Reactive Streams. The features of Akka Streams: Reusable pieces, Time based processing, Backpressure are discussed below in detail. Reusable pieces In many streams API, we can not Continue Reading

AMPS (Advanced Message Processing System)

Hi readers, in this blog, I will talk about what are AMPS, how it works, and then finally will talk about how to run it with a working example. So let’s get started…!! What are AMPS(Advanced Message Processing System)? AMPS from 60East Technologies is a fast messaging engine that supports both publish-subscribe messaging and queuing. It is not just a simple messaging engine it is Continue Reading

Pagination in Angular

What if, you have to scroll down infinitely through a large chunk of data. Well, I don’t think you have plenty of time to explore that ocean of information. So here comes Pagination which divides the content into separate pages. In angular, we have a library called ngx-pagination which is supported in Angular 2.3.0+. This can be added to your application by installing the library. npm Continue Reading

How We can do Fearless Concurrency in RUST

Handling concurrent programming safely and efficiently is another of Rust’s major goals. Concurrent programming, where different parts of the program execute independently, and parallelly. Creating Thread-In RUST:- In RUST to create a new thread, we call the thread:: spawn function and pass it in a closure containing the code we want to run in the new thread. Example: Filename: src/main.rs use std::thread; use std::time::Duration; fn Continue Reading

RUST – Ownership

One of the very distinctive features that make Rust stand out among the other languages is the way it does memory management. Memory management in C happens by either declaring a variable or by allocating a chunk of space at runtime. The same then can be freed using explicit function calls. So basically the control resides with the developer which may result in error-prone code. Continue Reading

Introduction to Error Handling in RUST

Like most programming languages, Rust encourages the programmer to handle errors in a particular way. If we talk in a general way Rust gives you an acknowledgment about an error and gives you an option to define some action for it before compile. This makes your program more robust by ensuring that you’ll discover errors and handle them appropriately. Rust group errors into two major Continue Reading

Testing Node.Js Application with Gatling

In one of our project we needed to test a node.js application, so in this blog, I’ll be discussing node.js application using Gatlingjs. Gatlingjs Gatlingjs is an npm library to run gatling from a node.js project by placing the simulation files in your project repository. Prerequisites In order to setup Gatling, your system should have JDK8 and Scala installed so following are the links to Continue Reading

Cassandra Data Modeling

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

WHY RUST? (Episode 1 )

“Rust is a systems programming language that runs at gunfire speed, prevents segfaults, and guarantees thread safety.” Rust & its paternity First, Rust is heavily influenced by Cyclone (a safe dialect of C and an imperative language), with some aspects of object-oriented features from C++. But, it also includes functional features from languages like Haskell and OCaml. The result is a C-like language that supports Continue Reading

%d bloggers like this: