Skip to main content

Posts

Showing posts with the label serverless

Serverless (01) — RPC to Serverless. How did we get here?

A software system can not work efficiently in a silo. To build a complete system, various applications need to communicate with each other. In the last 3 decades, I’ve seen many paradigm shifts in the principles of  Software   System Architecture  just   to incorporate the changes in intercommunication techniques.  Here is a quick summary of some major intercommunication technologies. Photo by  Jez Timms  on  Unsplash RPC-RMI-CORBA-SOCKETS RPC  ( Remote Procedure Calls ) and  RMI  ( Remote Method Invocations ) were the prehistoric communication techniques for Gen-Z. :-).  ORB/CORBA (Common Object Request Broker Architecture)  is the earliest thing that I can remember. But they had tight coupling with client and server details. I even remember in the first job I wrote a few Java applications, where I used to open server sockets in a different thread and used to ping those pre-known sockets from client applications. This all...

Serverless Framework(03) — Develop, deploy & troubleshoot serverless!

Serverless is the industry's buzzword these days, It doesn’t solve all the problems, but enough to become important. What exactly is server-less programming and how did we get where we are today, I have covered it   here . What this post is about? This post is not about when you should or should not use a serverless. I’m assuming you’ve decided to use serverless. This post is also not about which cloud solution should you use,  AWS Lambda, Google Cloud Functions,  or  Azure Functions.  I’m assuming you’ve chosen AWS Lambda. This is not even about comparing  AWS SAM  or  AWS CDK  &  Serverless framework. This post is about covering all the steps and showing how easy is to have an AWS lambda up and running with Serverless Framework. Install Serverless The easiest way to install Serverless is by running the following command, assuming you already have Node installed on your machine. If you don’t have  Node JS  installed, insta...