首页 > 其他分享 >[Microservices] Serverless Overview

[Microservices] Serverless Overview

时间:2024-04-13 15:33:25浏览次数:23  
标签:Serverless Microservices functions code computing Overview applications infrastr

Intriduction to Severless Computing

Define serverless computing and describe its concepts

  • Serverless computing is the concept of building and running applications that do not require server management
  • It describes a finer-grained deployment model where applications, bundled as one or more functions, are uploaded to a platform and then executed, scaled , and billed in response to the exact demand needed at the moment.

Serverless = FaaS + BaaS

FaaS paltform are used to run functions

BaaS represents backend cloud services, such as databases obkect storage, and message queues

Identify key characteristics of serverless computing

Serverless architecture concepts

  • Abstracts infrastructure and software environment
  • Code runs in a cloud platform
  • Cloud provider manages the hardware and software setup, security, performance
  • Billed only for usage
  • Developers only need to focus on applications and code in the form of functions

Serverless characteristics

  • Hostless
  • Elastic
  • Load balanced
  • Stateless
  • Event driven
  • Highly available
  • Usage-based/granular billing

Developer's role

Focus on application developemnt

Build functions using a popular programming language

  • Extend functionality
  • Perform better testing 
  • Optimize apps and functions
  • Improve user experience

Cloud provide responsibilities

Cloud providers manage common infrastructure and maintenance task such as:

  • Maximizing utilization
  • Minimizing costs
  • Server management
  • Autoscaling
  • High availability
  • Security
  • Performance(low latency)
  • Monitoring and logging

Serverless Pros and cons

  • In traditional computing, developement and operations team sr u adn maintain infrastructure
  • Setup and deployment are time-consumin, complex, and expersive
  • Arrival of cloud, containers, and serverless computing means developers can focus on writeing high-quality code
  • Developers can build and run applications in milliseconds without worrying about infrastructiure, scalability, and fault tolerance
  • Challenges include vendor lock-in, 3rd-party dependencies, and networking

Serverless computing benefits

  • Reduced costs
  • Built-in HA and FT
  • Increased dev productivity
  • Code runs when triggered
  • Fast run time
  • Built-in code editor
  • Pay as you go
  • Language independent
  • Third-party auth and DB services
  • Faster time to market
  • Innovate and experiment
  • Green computing

Serverless computing constraints

  • Unsuitable for long-running processes
  • Vendor lock-in risks
  • Cold starts
  • Latency unsuitable for tim-critical apps
  • Security concerns
  • Complex monitoring and debugging
  • Language support dependency
  • Server optimization loss 
  • No state persistence

标签:Serverless,Microservices,functions,code,computing,Overview,applications,infrastr
From: https://www.cnblogs.com/jbite9057/p/18132927

相关文章

  • 【SERVERLESS】搭建ServerLess服务
    目录一、前言二、什么是ServerLess?三、ServerLess技术选型四、ServerLess基础服务搭建Mac安装示例:Windows安装说明:五、生成ServerLess应用六、ServerLess部署验证并访问函数应用七、ServerLess进阶演示八、ServerLess最后总结一、前言​通常我们在做ServerL......
  • 【SERVERLESS】基础知识
    Serverless架构即“无服务器”架构,它是一种全新的架构方式,是云计算时代一种革命性的架构模式。与云计算、容器和人工智能一样,Serverless是这两年IT行业的一个热门词汇,它在各种技术文章和论坛上都有很高的曝光度。目前行业可能更多处在容器Docker+Kubernetes,利用IaaS、P......
  • [Microservices] Microservices Anti-Patterns
    Whiletherearemanypatternsfordoingmicroserviceswell,anequallysignificantnumberofpatternsexistthatcanquicklygetanydevelopmentteamintotrouble.Thefollowingaresomeofthedon’tswhiledevelopingmicroservices:Don’tbuildmicroservi......
  • [Microservices] Microservices Patterns
    Singlepageapplication(SPA)Enabledbymorepowerfulbrowsers,fasterBackendforFrontend(BFF)ProvidesuperiorsupportcomparedtoagenericbackendInsertsalayerbetweenuserexperienceandtheresourcesEnablescustomixeduserexperiencesfordif......
  • [Microservices] Twelve-Factor App Methology
    ModernsoftwaredevelopmentDeliveryasaservice CentrallyhostedandaccessedthroughtheinternetWebapps,software-as-a-serviceTwelve-factorappmethodologyissuitedforwebappsCode->Deploy->Operate Factor1:Codebase:Codefactor......
  • AI 绘画平台难开发,难变现?试试 Stable Diffusion API Serverless 版解决方案
    StableDiffusion模型,已经成为AI行业从传统深度学习时代走向AIGC时代的标志性里程碑。越来越多的开发者借助stable-diffusion-webui(以下简称SDWebUI)能力进行AI绘画领域创业或者业务上新,获得高流量及商业价值,但是面对多客户、高并发的复杂场景,使用原生StableDiffusio......
  • Knative 助力 XTransfer 加速应用云原生 Serverless 化
    作者:元毅公司介绍XTransfer是一站式外贸企业跨境金融和风控服务公司,致力于帮助中小微企业大幅降低全球展业的门槛和成本,提升全球竞争力。公司连续7年专注B2B外贸金融服务,已成为中国B2B外贸金融第一平台,目前全球的贸易企业也都已开始使用XTransfer。业务场景XTransfer......
  • 爆款游戏如何借助 RocketMQ Serverless,打造流畅体验并节省 98% 成本?
    作者:鼎岳、稚柳、勇猛、家泽一款游戏作品之所以能在市场上引爆热潮,铸就爆款传奇,除了独树一帜的创新设计理念、引人入胜的故事情节和丰富多样的玩法机制之外,最核心的要素就是为玩家提供极致流畅且无与伦比的游戏体验。这种体验涵盖了从游戏载入速度、画面帧率稳定性、操作响应灵敏......
  • RDS for MySQL Serverless公测上线:弹性伸缩,最高可降成本超80%
    本文分享自华为云社区《RDSforMySQLServerless公测上线:弹性伸缩,最高可降成本超80%》,作者:GaussDB数据库。随着科技的快速发展,我们正在迅速步入一个全新的数字化时代。数字化时代,数据是最宝贵的资源。数据库作为存储数据的仓库,重要性更是不言而喻。一、业务背景及痛点为了确......
  • 【Serverless】云存储新建账号无法创建存储实例解决方案
    ​ 【问题描述】一些开发者想要使用AGC云存储服务,在开通服务后,需要创建一个存储实例,但是在点击创建按钮时,出现了未知错误的报错提示,创建失败。​【解决方案】获取到了开发者的浏览器报错日志后,发现了在创建Bucket时返回了“138012:invokeqmserror”的错误。​​随后在咨询......