Author: Shubham Agarwal

Authentication in Akka-Http

Reading Time: 2 minutes Hi All, In this blog, I will try to explain what is Authentication and why we need this and how you can do authentication in Akka HTTP What is Authentication:- Authentication is the process of establishing a known identity for the user, whereby ‘identity’ is defined in the context of the application. This may be done with a username/password combination, a cookie, a pre-defined IP or Continue Reading

Getting Started with MongoDB #3

Reading Time: 4 minutes Hello everyone! In my previous blog, I explained CRUD operations in MongoDB you can find this blog Here. In this blog, I will explain some leftover parts like sorting, projection, comparison query operator, Logical query operator and many more Before starting let’s insert a document first >db.students.insertMany([ { “name”:”Shubham”, “age”:24, “address”:”Noida” }, { “name”:”Rahul”, “age”:20, “address”:”Noida” }, { “name”:”Karan”, “age”:18, “address”:”Noida” }, { “name”:”Aman”, “age”:20, “address”:”Noida” Continue Reading

MongoDB #2 – CRUD

Reading Time: 3 minutes Hello everyone! In my previous blog I explained about what is MongoDB and why we need to go with it you can find in this blog. https://www.codeproject.com/KB/database/1037052/image006.png In this blog, I will try to explain CRUD operations on MongoDB using MongoShell.

Getting started with MongoDB

Reading Time: 3 minutes Hi everyone! in this blog, I will try to explain what is MongoDB and why to use MongoDB What is MongoDB? MongoDB is one of the powerful NoSql DataBase. It does not use the usual rows and columns that we are so much associated with the relational database management. It is an architecture that is built on collections and documents. This database uses a document Continue Reading

How Spark Internally Executes A Program

Reading Time: 3 minutes Hello everyone! In my previous blog, I explained the difference between RDD, DF, and DS you can find this blog Here In this blog, I will try to explain How spark internally works and what are the Components of Execution: Jobs, Tasks, and Stages. As we all know spark gives us two operations for solving any problem. Transformation  Action When we do the transformation on any Continue Reading

Indexing in DynamoDB

Reading Time: 4 minutes Hello everyone! In this blog, I will try to explain Indexing in DynamooDb. What is Indexing in DynamoDb:- Amazon DynamoDB provides fast access to items in a table by specifying primary key values.But if you want to fetch the data of attributes other than the primary key then Indexing comes in picture. DynamoDb provides two types of indexing – Global secondary index Local secondary index When Continue Reading

No need to predict your application load in advance with Amazon DynamoDB

Reading Time: 2 minutes Hello everyone! In this blog, I will try to explain what is Amazon DynamooDb and how it is powerful than other NoSQL databases. What Is Amazon DynamoDB? Amazon DynmoDb is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. We do not need to predict our application load in advance. In order to have a clear understanding, let us take a Continue Reading

JLINK in Java-9

Reading Time: 3 minutes What is JLINK (java linker)   – JLINK is java’s new command line tool through which we can create our own customised JRE. usually, we run our program using default JRE which is provided by Oracle or JAVA people but in case if you wants to create your own JRE than you can go with JLINK concept. Why our own JRE –  I think you people have Continue Reading

Working With XML

Reading Time: 2 minutes Hi All, In this blog, I will share some basic information that will help you more to work with an XML file.The first thing to know about XML in Scala is that Scala can process XML literals. so you don’t need to have any specific dependencies for working with XML. you can directly put the whole XML to Scala REPL and  Scala will automatically interpret them as Continue Reading

Akka HTTP Routing

Reading Time: 2 minutes In this blog, I try to describe some basic routes of Akka-HTTP, redirection of the route and how to handle extra parameters that come in route. so before writing the routes, you have to set the environment for it. implicit val system = ActorSystem(“my-system”) implicit val materializer = ActorMaterializer() implicit val executionContext = system.dispatcher These are the variables that are you need to define provisionally Continue Reading

Difference between RDD , DF and DS in Spark

Reading Time: 3 minutes In this blog I try to cover the difference between RDD, DF and DS. much of you have a little bit confused about RDD, DF and DS. so don’t worry after this blog everything will be clear. With Spark2.0 release, there are 3 types of data abstractions which Spark officially provides now to use: RDD, DataFrame and DataSet. so let’s start some discussion about it. Continue Reading

RealTimeProcessing of Data using kafka and Spark

Reading Time: 3 minutes Before Starting it you should know about kafka, spark and what is Real time processing of Data.so let’s do some brief introduction about it. Real Time Processing – Processing the Data that appears to take place instead of storing the data and then processing it or processing the data that stored somewhere else. Kafka – Kafka is the maximum throughput of data from one end to another . Continue Reading

Send an Email Through the Amazon SES SMTP Interface with scala

Reading Time: 2 minutes The following procedure shows you how to use AWS Toolkit for IntelliJ to create an AWS SDK project and modify the scala code to send an email through Amazon SES. In this getting started tutorial, you send an email to yourself so that you can check to see if you received it. For further experimentation or load testing, use the Amazon SES mailbox simulator. Prerequisites Continue Reading