허허의 오늘은 뭐 먹지?

FaaS(Function-as-a-Service)란? 본문

SW/메모

FaaS(Function-as-a-Service)란?

luminovus 2021. 4. 26. 19:27

FaaS (Function-as-a-Service)

서버없이 컴퓨팅 Serverless Computing이라고 하고

기능 및 함수단위로 서비스한다고 해서 서비스로서의 함수라고 함

관련 서비스 : AWS Lambda, Google Cloud Functions, MS Azure Functions

장점

- 빠른 개발이 가능함.

- 서버 관리의부 부담이 없음. 서버를 관리하거나  실행할 필요가 없고 서비스를 하는 코드에만 집중할 수 있고 작은 기능 단위로 개발해서 연결할 수 있음.

- 적은 비용 (사용한 만큼만 지불)

단점

- Cold Start 문제

  오랫동안 실행하지 않거나 갑자기 많은 요청이 온 경우 함수 실행이 지연됨. Wamer로 주기적으로 수행하거나 함수에 동시성을 부여함

 

FaaS와 Serverless의 차이점

Initially, FaaS and serverless meant more or less the same thing, but serverless has expanded to mean a larger set of architectural patterns and practices that make extensive use of common services in addition to custom business logic encoded in FaaS.

 

참고 : www.redhat.com/ko/topics/cloud-native-apps/what-is-faas

반응형
Comments