MS Azure: Building Scalable apps with Azure

Deepak Kumar
Dec 28, 2018 · 2 min read

We’ve all heard the phrase “highly-scalable” when it comes to web apps. More and more apps are running in the cloud, and as result scalability is becoming a crucial part of delivering a great experience to your customers, no matter how many there are.

But, let's know what is scalable apps before moving to Azure Part.

A scalable web app is one that is able to smoothly handle an ever-increasing user base (or sudden increase in traffic, without hiccups or performance issues. This growth does not require huge changes to the code or server architecture.

Adding instances of your server is the way to go, but your server must support running multiple instances to begin with. This involves two important design decisions:

  1. Stateless Server Technology
    A “stateless” server is one that is not dependent on any data being stored in memory or even the file system. The best example of this is user login sessions. If a user logs into a server, the server should store a session token in the database and not in memory.
  2. Highly Partitioned Databases
    The problem with using a traditional, locally hosted database for a rapidly growing app is that the database can only grow so far. If the app is heavy on user-uploaded content, this is particularly troublesome.
  3. Improve the app service plan — On your Azure dashboard, you can simply scale up the app service plan to improve its scalability.

Benefit on Scalable apps :

  1. No Downtime — Another benefit of using either an Azure Web App or an Azure Cloud Service is that updates to your app can be made without any server downtime whatsoever. A “staging” and a “production” slot can be designated. The updated code can be applied to the staging slot and, once you are satisfied that the update is stable

========================================

In this Series, There will be 5 more blogs coming soon !!

  1. How to make account of MS Azure?
  2. How to deploy a website on MS Azure?
  3. How to scale up or scale down app service in MS Azure?
  4. How to add Custom Domain to the web app in MS Azure?
  5. How to build Scalable apps with MS Azure.

Happy Reading !!

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade