{"id":9639,"date":"2019-02-07T06:48:43","date_gmt":"2019-02-07T06:48:43","guid":{"rendered":"http:\/\/www.esds.co.in\/blog\/?p=9639"},"modified":"2019-02-25T11:57:21","modified_gmt":"2019-02-25T11:57:21","slug":"understand-relation-faas-serverless","status":"publish","type":"post","link":"https:\/\/www.esds.co.in\/blog\/understand-relation-faas-serverless\/","title":{"rendered":"Understand the Relation of FaaS with Serverless"},"content":{"rendered":"<p style=\"text-align: justify;\">One thing you should keep in mind before starting to read this article and that is, <strong>Serverless architecture is not equal to FaaS (Functions as a Service)<\/strong>. <em>Serverless is not necessary to use FaaS, but FaaS is an essential component to use serverless computing.<\/em> Serverless computing is gaining attention from all over the world because of the several cloud vendors who have hyped about it so much. But, the hype doesn\u2019t exist for the sake of it, it exists because serverless promises the enhanced business implementation with low costs and that\u2019s why it is attracting eyeballs of the tech-rookies!\u00a0 Well, I consider that you read our <strong><a href=\"https:\/\/www.esds.co.in\/blog\/serverless-architecture-next-big-thing-cloud-industry\/\">previous article<\/a><\/strong> about what is serverless architecture, its structure and the way it works. Let\u2019s cover some more aspects of it here and its vital component, i.e., FaaS. Function as a Service \/ Mobile Backend as a Service is the thing which drives serverless computing.<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.esds.co.in\/blog\/understand-relation-faas-serverless\/#What_are_Functions_as_a_Service_FaaS\" >What are Functions as a Service (FaaS)?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.esds.co.in\/blog\/understand-relation-faas-serverless\/#The_Ideologies_of_FaaS\" >The Ideologies of FaaS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.esds.co.in\/blog\/understand-relation-faas-serverless\/#Key_characteristics_of_FaaS\" >Key characteristics of FaaS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.esds.co.in\/blog\/understand-relation-faas-serverless\/#Upsides_of_Serverless_Architecture\" >Upsides of Serverless Architecture<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.esds.co.in\/blog\/understand-relation-faas-serverless\/#From_the_business_point_of_view_%E2%80%93\" >From the business point of view \u2013<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.esds.co.in\/blog\/understand-relation-faas-serverless\/#From_the_developers_point_of_view_%E2%80%93\" >From the developer\u2019s point of view \u2013<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.esds.co.in\/blog\/understand-relation-faas-serverless\/#Downsides_of_Serverless_Architecture\" >Downsides of Serverless Architecture<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.esds.co.in\/blog\/understand-relation-faas-serverless\/#Summary\" >Summary<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n<h3><span class=\"ez-toc-section\" id=\"What_are_Functions_as_a_Service_FaaS\"><\/span><strong>What are Functions as a Service (FaaS)?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">FaaS is a serverless application where the developers\/engineers build separate business logic as a function for each event. These functions get triggered in milliseconds and execute the specific set of requests in an approx. 300-second timeout as told by most cloud vendors.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"The_Ideologies_of_FaaS\"><\/span><strong>The Ideologies of FaaS<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Complete server management<\/li>\n<li>Appeal based billing<\/li>\n<li>Event-driven and promptly scalable<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Key_characteristics_of_FaaS\"><\/span><strong>Key characteristics of FaaS<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Autonomous, Server-side, &amp; Logical functions<\/strong><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">The function is what the developers have already been used to do in code. Functions are basically a set, or units of logic serving one specific need by taking some required inputs. It gives out the required result after processing those necessary inputs.<\/p>\n<ul>\n<li><strong>Stateless<\/strong><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Being serverless means the things are stateless. After execution of the code, you can\u2019t save that file into your storage forever. If the same function is called twice, they can run on different containers.<\/p>\n<ul>\n<li><strong>Transient<\/strong><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">The purpose of FaaS is to do their work fast by spinning up quickly and shut down after that. They can\u2019t keep hanging like that. The underlying containers are in process during the task.<\/p>\n<ul>\n<li><strong>Triggers on event<\/strong><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Functions can get invoked directly but usually, they are summoned by the events from the services like HTTP requests, inbound notifications, or database interactions. Basically, FaaS serves as a glue in between the services of the cloud environment.<\/p>\n<ul>\n<li><strong>Gives Default Scalability<\/strong><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Stateless functions can initialise multiple containers which allow many functions to run parallel if required so that it can serve all the coming requests without any gap.<\/p>\n<ul>\n<li><strong>Fully managed by your CSP<\/strong><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Your cloud service provider completely manages the <a href=\"https:\/\/www.esds.co.in\/blog\/serverless-architecture-next-big-thing-cloud-industry\/#sthash.CEsUB7Ir.dpbs\"><strong>Function as a Service<\/strong><\/a> and related solutions. The support varies in all different range of languages like .NET. Python, Node.js, etc.<\/p>\n<p><a href=\"https:\/\/esds.co.in\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9651 size-full\" src=\"https:\/\/www.esds.co.in\/blog\/wp-content\/uploads\/2019\/02\/970x90.png\" alt=\"\" width=\"970\" height=\"90\" srcset=\"https:\/\/www.esds.co.in\/blog\/wp-content\/uploads\/2019\/02\/970x90.png 970w, https:\/\/www.esds.co.in\/blog\/wp-content\/uploads\/2019\/02\/970x90-150x14.png 150w, https:\/\/www.esds.co.in\/blog\/wp-content\/uploads\/2019\/02\/970x90-300x28.png 300w, https:\/\/www.esds.co.in\/blog\/wp-content\/uploads\/2019\/02\/970x90-660x61.png 660w\" sizes=\"auto, (max-width: 970px) 100vw, 970px\" \/><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Upsides_of_Serverless_Architecture\"><\/span><strong>Upsides of Serverless Architecture<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h4><span class=\"ez-toc-section\" id=\"From_the_business_point_of_view_%E2%80%93\"><\/span><strong><em>From the business point of view \u2013<\/em><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ul>\n<li>Serverless is highly cost-effective as it measures the cost on the basis of a total number of executions and the time of execution, so you actually pay as you go based on each millisecond, instead of the hours.<\/li>\n<li>High agility due to smaller dispatch-able units assists in getting faster delivery of the features and solutions in the markets. This agility can cause a rise in the ability to adapt to changes.<\/li>\n<li>Talking of the cost factor, you don\u2019t need to hire the backend engineers which in turn, saves more cost. The same reduction goes with the operational costs as well.<\/li>\n<\/ul>\n<h4><span class=\"ez-toc-section\" id=\"From_the_developers_point_of_view_%E2%80%93\"><\/span><strong><em>From the developer\u2019s point of view \u2013<\/em><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ul>\n<li>Reduction in liability as they don\u2019t have to take care of a backend infrastructure<\/li>\n<li>Zero administration of the system<\/li>\n<li>Swift operational management.<\/li>\n<li>Easy acceptance of microservices, nano-services, and SOA principles<\/li>\n<li>Quicker set up ability<\/li>\n<li>Highly auto-scalable and hence can handle multiple concurrent requests<\/li>\n<li>Due to out of the box monitoring, it allows innovation<\/li>\n<\/ul>\n<p><strong><em>From the user\u2019s point of view \u2013<\/em><\/strong><\/p>\n<ul>\n<li>Businesses are adopting and deploying the new products and features faster due to the competitive edge, and hence customers are enjoying the new products and features.<\/li>\n<li>Users are getting their own storage backend on almost every possible application.<\/li>\n<li>Such apps save the caches on the user\u2019s machines and it can be a reason for having a good offline experience.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Downsides_of_Serverless_Architecture\"><\/span><strong>Downsides of Serverless Architecture<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong><em>From the business point of view \u2013<\/em><\/strong><\/p>\n<ul>\n<li>Reduction in the control<\/li>\n<li>Need of trust factor from third-party providers due to vendor lock-in<\/li>\n<li>Third party\u2019s trust is essential for additional exposure risks<\/li>\n<li>Risks of securities and disaster recovery<\/li>\n<li>Such disadvantages can be removed by using open-source options but then they can\u2019t get the cost benefits mentioned earlier<\/li>\n<\/ul>\n<p><strong><em>From the developer\u2019s point of view \u2013<\/em><\/strong><\/p>\n<ul>\n<li>When the technology is naive, it gives rise to several unclear practices<\/li>\n<li>Increase in the architectural complexity<\/li>\n<li>The need of discipline against function trail<\/li>\n<li>Due to multi-tenancy, the fellow functions can take over the system resources when not monitored<\/li>\n<li>Local testing gets trickier<\/li>\n<li>The local site gets severe restrictions<\/li>\n<li>The duration of execution can get capped<\/li>\n<li>The absence of operational tools<\/li>\n<\/ul>\n<p><strong><em>From the user\u2019s point of view \u2013<\/em><\/strong><\/p>\n<p style=\"text-align: justify;\">If an app is not built precisely, then the user experience can be poor because of the request latency increases<\/p>\n<h4><span class=\"ez-toc-section\" id=\"Summary\"><\/span><strong>Summary<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p style=\"text-align: justify;\">Serverless architecture is definitely very electrifying, but it too comes with a set of boundaries. The strength and success of architectures rely on the business requirements and not solely on technology.\u00a0 Therefore, serverless is a perfect fit when used developed and used properly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One thing you should keep in mind before starting to read this article and that is, Serverless architecture is not equal to FaaS (Functions as a Service). Serverless is not necessary to use FaaS, but FaaS is an essential component to use serverless computing. Serverless computing is gaining attention from all over the world because&#8230; <\/p>\n<div class=\"clear\"><\/div>\n<p><a href=\"https:\/\/www.esds.co.in\/blog\/understand-relation-faas-serverless\/\" class=\"gdlr-button small excerpt-read-more\">Read More<\/a><\/p>\n","protected":false},"author":57,"featured_media":9663,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[15],"tags":[1345,1170,347,178,299,1259,179,446,738,344,180,1854,1851],"class_list":["post-9639","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-computing","tag-cloud-computing","tag-cloud-hosting-2","tag-cloud-infrastructure","tag-cloud-providers","tag-cloud-security","tag-cloud-servers","tag-cloud-services","tag-cloud-solutions","tag-cloud-storage","tag-cloud-technology","tag-data-center","tag-function-as-a-service-faas","tag-serverless-architecture"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/posts\/9639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/users\/57"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/comments?post=9639"}],"version-history":[{"count":8,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/posts\/9639\/revisions"}],"predecessor-version":[{"id":9652,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/posts\/9639\/revisions\/9652"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/media\/9663"}],"wp:attachment":[{"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/media?parent=9639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/categories?post=9639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/tags?post=9639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}