Author: Rituraj Khare

Open Systems Interconnection (OSI) Model

Reading Time: 4 minutes Open Systems Interconnection Model Introduction : The Open Systems Interconnection Model is a way to isolate communication problems between two remote computers. The abstract model have few layers, and each layer has certain functions. Those functions need to be performed by the services of the respective layer. Layers in Open Systems Interconnection Model : The process of communication between two endpoints in a network can Continue Reading

Grafana vs Prometheus

Reading Time: 3 minutes The open-source Prometheus monitoring tool offers a built-in instrument panel functionality. It considers Grafana its monitoring solution. Both the tools allow users to handle and monitor the data logs. For example, Graph time-series metrics, which are stored in the Prometheus database. So it depends on your monitoring requirements, and which tool you have to use. This article explains both of these solutions. It explains how they Continue Reading


Grafana and Metrics for Monitoring

Reading Time: 2 minutes What is Grafana? Grafana is a database analysis and monitoring tool. It allows you to create dashboard visualizations of key metrics that are important to you. Grafana is a substitute for people who share reusable dashboards. Grafana supports a huge number of sources of data. Since this tool is open source, when any new data has been received. Someone who is observing, is adding support for Continue Reading

Apache Spark

Brief Introduction to Apache Spark

Reading Time: 3 minutes What is Apache Spark: Apache Spark is an open-source data processing engine to store and process data in real-time across various clusters of computers using simple programming constructs. It supports various programming languages like Scala, Python, Java, and R. Spark Architecture: Uses of Apache Spark: It is used for- Applications of Data processing Batch processing Processing Structured data Machine learning Process graph data Processing Streaming data Features of Continue Reading

Method Invocation in Scala

Reading Time: 2 minutes Introduction: Method Invocation is a technique that shows various syntax in which, we precisely call methods of a class with an object. The naming conventions of Scala are the same as of Java, that is:- There should not be any space between the invocation object or target and the dot(.) nor a space between the dot and method name. Nor there should not be any Continue Reading

Liskov Substitution Principle and its significance

Reading Time: 3 minutes Solid Principles: Solid principles establish practices that grant software development with considerations for maintaining as well as extending as the project grows. Adopting these practices can also contribute to avoiding code smells, refactoring code, and Agile or Adaptive software development. Liskov Substitution Principle and its significance: “Objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program” Continue Reading

Higher Order Functions in Scala

Reading Time: 3 minutes Introduction: Some functions are called higher-ordered functions as they accept functions as parameters. You can also have a higher-order function as one that returns the functions. So basically, if there is a function that deals with a function, is kind of a meta-level, we call it higher order. Why do we use higher order functions..?? Because we want to be able to reuse our code Continue Reading

Recursion and Tail Recursion in Scala

Reading Time: 4 minutes Introduction: Recursion is quite common in the programming world. If you don’t know recursion, it means, solving a problem by breaking it into smaller sub-problems until you solve it trivially. You can easily spot recursion if you see a method calling itself with a smaller subset of input. Recursion and immutability are corner zone of functional programming. As we have seen earlier, while using loops, Continue Reading

How to use Exception Handling Mechanism

Reading Time: 4 minutes Introduction: One of the fundamental and important aspects of programming is Exception Handling. A program needs an environment to handle the potential errors and abnormal conditions. Programming does not end with writing code that executes and creates a result, as we also have to handle errors in a user-friendly manner. There are several types of errors that could occur when we run a program. Some Continue Reading