Over the past few years, Serverless has become the fastest-growing cloud service model. Almost all cloud vendors have Serverless offerings that support a wide range of use cases, including APIs, RealTime Messaging, Data Processing, Dev Ops, etc.

Similarly, VueJS has become one of the leading frontend frameworks as of now. While writing this article, I was quite surprised to see that VueJS has more Github stars than Angular or React.

Image for post
Image for post
Image by Gerd Altmann from Pixabay

In this article, I’ll show you how easy it is to build a real-time chat application using VueJS at the frontend and a GraphQL API deployed on AWS AppSync at…


Image for post
Image for post
Photo by Chris Leipelt on Unsplash

Building applications has never been easy as it is today. Adopting cloud and the models like serverless have reduced the friction with developing and deploying applications to a great extent. Architectural styles like microservices have been widely embraced by most of the organizations, and as a result of all these movements, the way we design or architect an application also has evolved from one or two components to several components that run on top of different environments like dockers or Lambda like Function as a Service platforms. There are several moving parts in a single application. …


Image for post
Image for post
Photo by Jefferson Santos on Unsplash

Most internet applications available today supports self signup where the users can sign themselves up and start using the application without any other human involvement. Every thing is automated and handled quitely and nicely without much effort.

However, once an application is enabled for general public, it is exposed to both legitimate and fraudulent users. The very basic way to distinguish between these two types is adding verification steps while signing up to verify the authentication parameters provided (like email). But having verification steps may be enough at the early stages of an application and will sooner be not enough…


Image for post
Image for post
Photo by Alina Grubnyak on Unsplash

Mico-services has become a popular term within the IT industry today, and as I see it’s a good approach to build systems, however there are both ups and downs if you choose that approach and it’s your responsibility to select the best approach for your context.

I am going to discuss a practical challenge (I prefer to say like that since it’s a mess if we don’t tackle it in the correct way) that we face when working with the so called microservices, and going to explain a production ready solution I have used.

Inter-microservices communication is an obvious challenge…


Image for post
Image for post
Photo by Alex Jones on Unsplash

AWS Cloud Development Kit (CDK) is a really cool developer framework recently introduced by AWS specially targeting the developer community. And there are lot of articles already explaining what it is. So rather repeating the same stuff I thought of explaning a practical use case of CDK in which we can dig bit deeper into the components and features it provides. Anyways in case you didn’t came across it, let me briefly explain what CDK is and why it was introduced.

What is CDK?

Using CDK we can provision AWS resources just like we are writing an application. The fabulous thing is that…


Image for post
Image for post
Source : https://www.signitysolutions.com/chatbot-development/amazon-lex

Bot” is a popular and booming term these days and for sure an interesting technology for all with different knowledge backgrounds. Unlike the old times where you had to build everything including the machine learning models, now there are lot of platforms and frameworks to ease and speed up the bot building process. Depending on the business use case and requirement we have several options to choose from. If you are running on the cloud, all major vendors like Amazon(Lex), Microsoft(Bot Framework), Google(Dialogflow), IBM(Watson Assistant) etc, have published their own bot platforms to be used as a service. …


Image for post
Image for post
Image Ref : image.freepik.com

Before I begin, let me give a small disclaimer,

The information on this article is totally my interpretation of the GDPR and contains no legal advices whatsoever

When I first heard about GDPR it felt like a pain in the a_ _ to be honest. However when I dig more into details on what it really is, I felt like, Oh shit why this is only for EU region ? Why not for others ? As I understood it’s all about how we respect others privacy data. …


This is a 100% serverless implementation of an asynchronous api designed for low latency and high availability

Before I jump into the design let’s look at why we would need this kind of a API and where can we use it. The first use case that comes to my mind is a web hook listener, this was my original requirement too. However, we can generalize it as, whenever we need an API endpoint(s) to asynchronously process the requests we receive in a resilient and reliable manner, we can go for an implementation like this.

In a scenario like above what…


Image for post
Image for post
Image Ref : lynda.com

Why Migrate ?

Before going into details some of you might wonder why on earth we need to migrate from DynamoDB to MongoDB in the first place, since both are well performing, stable and reliable NoSQL database engines. However both have their pros and cons based on the use case we have. In my case following are the highlighted features of MongoDB that lead me to make the decision to migrate.

  • Powerful query engine (specially the aggregation pipeline)
  • No throughput limits (DynamoDB’s provisioned throughput was a real pain)
  • Friendly pricing scheme offered by MongoDB Atlas

You can read a more detailed comparison of…


Micro-services is a very hot topic these days. Almost all cloud infrastructure providers now support building and deploying micro-services. Some have their own proprietary tools and some uses open source tools. However, despite the label or the name, they have given for the tool or the service, all of these have the same core functionality and operates almost in the same way. For the interest of this article, I’ll be using AWS tools to build up the solution architecture.

The context here is, that we have a set of micro-services which exposes API endpoints, and we need to properly expose…

Asanka Nissanka

AWS Certified Solutions Architect. More details https://www.linkedin.com/in/asankanissanka/

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