Aloha!

SNS vs SQS

While working with AWS, many a times you may need to decouple the interaction between your applications.
But the problem you might face is, you are not sure if you should work with SNS or SQS. So let’s try to understand the differences between the two services!

What is SQS?

SQS or Simple Queue Service is a web service that makes it easy to coordinate work across distributed application components.

Say whaaat…????

So let’s say you have two applications and you want to decouple the interaction between these applications. You can do this by, adding a service which can hold the messages…


Aloha!

So it’s Sunday evening and I’ve been wondering what to do. After not a lot of thinking, I decided to FINALLY build a Serverless REST API on AWS.

So here we go…

We’ll be using:

  1. API Gateway for deploying and serving HTTP RESTful endpoints.
  2. AWS Lambda to run code without provisioning or managing servers.
  3. DynamoDB, the NoSQL amazon database, to Store/Delete/Read JSON records.

First thing’s first, let’s start by creating our DynamoDB Table which we’ll use to Store/Delete/Read, from our API.


Aloha

Architecture Description and Deployment Pattern

Architecture of Serverless REST Services for Scale on AWS

The client requests are first received at low latency because of Cloudfront. The requests are then filtered by WAF and passed on to Cognito for both AuthZ and AuthN. The approved and valid requests are then routed by API Gateway to respective endpoint functions hosted on AWS Lambdas. Most of the GET requests are fulfilled by data cached at API Gateway. Remaining requests are taken care of by independent GET Lambda spun up for each request. These GET Lambdas fetch results by making calls to Read-Replicas thus eliminating a huge load on Master RDS. All write requests from PUT/POST/DELETE…


Aloha

In the previous post we looked at basic reasons behind the success of Deep Learning and got the understanding of commonly used activation functions. In this post we’ll be looking at mathematics behind Deep Learning. Most of the beginners in the field of Deep Learning are usually people who know (Deep Learning -Mathematics). This is probably the case because they are unable to understand the basic intuition behind the Mathematics part of Deep Learning. I’ll try to cover most of it in this post. So without wasting anymore time Lets Begin!

Derivative: The derivative of a function of a…


Aloha

In the last post, I gave you an overview of Deep Learning. In this post we’ll try to focus on the main reason behind the success of Deep Learning, i.e, Neural Networks.

Almost all the major companies use Deep Learning for tasks involving speech recognition, speech synthesis and machine translation. As far as machine translation is concerned, since deep learning encodes language to its vectorial features, it is even possible to learn translations between pairs of languages on which the model has not been trained. …


Aloha!

Welcome to this series of blogs wherein I’ll try to explain the difference between Deep Learning and Machine Learning. For this, I’ll be referring the following books :

  1. Machine Learning Probabilistic Perspective By Kevin Murphy.
  2. Deep Learning By Ian Goodfellow and Yoshua Bengio (Link).

Introduction

Today, Artificial intelligence(AI) is a thriving field with many practical applications and active research topics. The true challenge to artificial intelligence is to solve problems that human solve intuitively and by observing things like spoken accent and faces in an image.

The solution to the above problem is to allow computers to learn from experience and…

Aashray Jain

An Uncluttered Soul.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store