The main goal of Firebase was to make it possible to develop apps with as much Client Code as possible. The aim was to make the code easier and faster and everybody knows Firebase has revolutionized the way Android apps were programmed.

But still some functions like accessing third party API, performing battery intensive operations etc require server side coding. In such scenarios, the code needs to do server side coding and deal with the hassle of finding and maintaining appropriate server tier extra charges and all the mumble jumble that comes along with the server code.

But, now this is the worry of the past with the launch of beta version of Cloud Functions of Firebase.
With the Cloud Functions, rather than worrying about server code, all you have to do is write small pieces of Javascript code and deploy them to Google Cloud and that’s it. You can execute it by triggering events from any of the Firebase features. In simple terms, if the app needs a code that requires server side coding, you can use Cloud Functions to perform the same task without having to deal with the server.
When your Cloud Function is deployed, Google’s servers listen for events associated with the function and execute the function when it is triggered. Under heavy load, Google automatically allocates new virtual servers and creates new instances to execute the function faster. Once the load decreases, instances are cleaned up.

 

Advantages

No Maintainance: Just one command and your code is deployed to Google Servers. Scaling up or freeing resources is automatically handled by Firebase.
Logic Security: The code deployed through Cloud Functions is totally secure from reverse engineering and fully insulated from Client to avoid any kind of tampering.
Long story short, Cloud Functions add power to the already powerful Firebase to create apps that are unimaginably versatile and powerful.

Read more about Firebase Cloud Function on firebase.google.com

Related Posts

Hot news

SiteGround Labor Day Sale extended (70% off on all hosting)

Hurry up! Labour Day Sale on SiteGround will save you 70% on your plans. SiteGround is a great web hosting solution with 99.9% uptime and great customer support.

Technology

Grammarly – Does your writing need it?

Grammarly, a grammar checker tool has been around for some time now. And thousands of people are using it to write effortlessly without the embarrassing typos and grammatical errors.

Hot news

Android Oreo – Key Features and everything else..

Android Oreo is here. There are many new features and I have made a category wise list of the most noteworthy features that you might be interested.

Subscribe and get a free eBook on 8 Tips to level up your Android Development Skills.

(We hate spam as much as you do)

You have Successfully Subscribed!

%d bloggers like this: