Studio-Scala

Basic String Operations and Interpolation in Scala

Reading Time: 3 minutes In this blog post, we will talk about strings and some basic string operations. Then, we will discuss string interpolation in Scala. What are Strings ? A string in Scala is a collection of characters. In Scala, string objects are immutable, meaning they can not be changed after they have been created. What are string operations ? Task performed on a string to get any Continue Reading

Recursion v/s Loops in Scala

Reading Time: 3 minutes Loops need mutation, As it keeps changing the value of the variable, Scala hates mutation. Why? What is Mutation? A mutation is changing an object, variable and is one of the common side effects. Now the question arises why does scala hate mutation? Mutation might result in ambiguity, unanticipated errors, and a difficult time debugging the problem. Mutation makes it more difficult to decipher code. Continue Reading

Basic things related 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. Spark has consistent and composable API’s and Spark supports multiple languages like Python, Java, Scala And R. Developers and data sientists incorporate Spark into their applications to rapidly query, analyze, and transform data at large scale. Continue Reading

Best Way of Optimization: Bucketing in Hive

Reading Time: 4 minutes Apache Hive is an open-source data warehouse system used to query and analyze large datasets. Data in Apache Hive can be categorized into the following three parts : Tables Partitions Buckets What is Bucketing in Hive? Bucketing in the hive is the concept of breaking data down into ranges, which are known as buckets, to give extra structure to the data so it may be Continue Reading

Future Type Operation with Scala

Reading Time: 6 minutes Introduction Scala Future represents a result of an asynchronous computation that may or may not be available yet. When we create a new Future, Scala spawns a new thread and executes its code. Once the execution is finished, the result of the computation (value or exception) will be assigned to the Future. Type Future Operations Map When we have a Future instance, we can use the map method to transform its successful result Continue Reading

How To Use Pattern Matching

Reading Time: 3 minutes Overview In this blog, we will show a functional feature of Scala which is pattern matching. If you have used Java or .NET in the past, it may at first sight appear similar to switch statements. But, Scala’s pattern matching is a lot more powerful! Different ways of Pattern Matching 1. Pattern matching – a very basic example Suppose you want to test a variable called donutType. In the case that its value Continue Reading

Concurrency and Parallelism In Akka

Reading Time: 3 minutes After going through the previous blogs, we are now familiar with the basics of Akka. Moving forward let us have a look at concurrency and parallelism in Akka actors. Concurrency and parallelism are related concepts, but there are small differences. Message Processing in Akka Actors First, let us have a look at message processing in Akka actors. Akka follows single-threaded illusion. That means each actor Continue Reading

Sonarqube: What it is and why to use it?

Reading Time: 3 minutes SonarQube is a universal tool for static code analysis that has become more or less the industry standard. Keeping code clean, simple, and easy to read is also a lot easier with SonarQube. Have you ever heard of SonarQube? Would you like to know What it is? And how to use it? And its benefits to the production phase of software development. Then you are Continue Reading

Introduction to Microservices

Reading Time: 3 minutes What are microservices ? Microservices is a specific method of designing software systems to  structure a single application as a collection of loosely coupled services. Microservices are those services that works together but deployed and managed independently. In this model we split the application into smaller mini applications called services. And then we deploy these mini applications on different machines(servers). These applications shared the resources Continue Reading

The Apigee Edge – Intelligent API Platform

Reading Time: 3 minutes In this blog, we will try to explore how we can create a proxy on Apigee edge. So, let’s get started. What is Apigee Edge You can use Apigee Edge to create API proxies, build HTTP-based RESTful APIs easily, configure API policies as needed to control traffic and error handling,.and document those APIs along the way. Now let’s have an overview of a proxy, as Continue Reading

Apache Kafka with Spring Boot

Reading Time: 3 minutes Overview of Apache Kafka Apache Kafka is A high-throughput distribute streaming platform. It’s a publish-subscribe messaging rethought as a distributed commit log A streaming platform has three key capabilities: Publish and subscribe to streams of records, similar to a message queue or enterprise messaging system Store streams of records in a fault-tolerant durable way Process streams of records as they occur. Apache Kafka’s Distributed Architecture Continue Reading

Applying Cache and Rate Limiting features in APIGEE

Reading Time: 2 minutes Introduction In today’s world protecting our APIs from unwanted hits is a must, In the upcoming 5 min, we will learn how to protect our backend database of API from unwanted hits/calls with the help of the Apigee gateway tool.For basics of Apigee go through https://blog.knoldus.com/getting-started-with-apigee/ We will discuss two policies RateLimiting and Cache Mechanism here Rate Limiting in APIGEE Let’s understand the rate-limiting policy, Continue Reading

INTRODUCTION TO REACTJS

Reading Time: 5 minutes Hello everyone , In this blog I am talking about Reactjs and its basics covering what,why,features of Reactjs and its building blocks. What is ReactJs? ReactJs is an open source javascript library, developed in order to build user interfaces both in web and mobile systems.It lets you compose complex UIs from small and isolated pieces of code called “components”. In such scenarios, React can render Continue Reading