SlideShare a Scribd company logo
Native addon을 포함하여
Node.js + Typescript + Serverless
빌드 및 배포하기
별첨. 2018 Serverless data reports
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
변규현
스타트업 재직중
AWSKRUG 서버리스 그룹
관심사
DevOps
Serverless
AWS
Well architected service
Node.js
공부중...
Machine Learning
BlockChain(Ethereum)
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
Typescript의 도입 이유?
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
Javascript만으로 힘들어서…
왜?
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
다른 점이 보이시나요?
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
Type이 없으면 undefined를
자주 만날 수 있습니다!
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
그밖에... 다른 이유는 크게 없어요
편하게 빨리 개발하고 싶었어요 😅
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
Typescript 도입 방법!
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
필요한 npm module만 기억하세요
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
typescript(기본 모듈)
@types/*(타입정의)
ts-node(로컬 실행)
tsconfig.json(설정)
ts-loader(webpack에 사용)
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
설정은 DEMO만 참고하면 됩니다 😉
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
그럼 Node.js에서 Native Addons란?
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
Node.js Addons are dynamically-linked shared objects,
written in C++, that can be loaded into Node.js
using the require() function, and used just
as if they were an ordinary Node.js module.
They are used primarily to provide an interface
between JavaScript running in Node.js and C/C++ libraries.
https://nodejs.org/api/addons.html
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
그럼 왜 Native addon를 써야할까요?
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/node-gpp.html
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
성능이 필요한 부분은
Native addon을 사용!
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
Native addon들은
로컬 및 서버에선 어렵지 않게
작동합니다.
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
그런데 서버리스에서는?
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
Can’t resolve error!!
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
이유는 무엇일까요?
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
LD_LIBRARY_PATH
=
동적 라이브러리 위치
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
Host에 라이브러리가 있는지 모르니
node_modules에서
Native addon을 동적으로 가져오자!
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
배포된 Lambda에서
LD_LIBRARY_PATH가
node_modules인데
왜 안될까요?
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
일반적인 OS에서 빌드한
Native addon은 Lambda 에서
동작하지 않아요
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
왜 이런 차이가 날까요?
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
OS마다 아키텍처 형태 및
타겟파일(dll, so)이 달라요
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
해결 방법은 생각보다 간단해요!
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
람다이미지로
Native addon을
빌드하면 동작하겠죠?
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
https://github.com/lambci
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
docker run --rm 
-v "$PWD":/var/task 
lambci/lambda:build-nodejs8.10
docker run --rm 
-v "$PWD":/var/task 
lambci/lambda:build-nodejs8.10 
<Build Command>
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
bit.ly/NMDeMo
DEMO
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
이대로 끝내기 아쉬워서 준비했습니다.
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
Serverless Data Report!
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
https://serverless.com/blog/serverless-by-the-numbers-2018-data-report/
Event sources
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
https://serverless.com/blog/serverless-by-the-numbers-2018-data-report/
APIs dominate
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
https://serverless.com/blog/serverless-by-the-numbers-2018-data-report/
How many functions per service?
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
https://serverless.com/blog/serverless-by-the-numbers-2018-data-report/
Top languages
74.94%
Node.js !!
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
https://serverless.com/blog/serverless-by-the-numbers-2018-data-report/
Fastest-growing
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
https://serverless.com/blog/serverless-by-the-numbers-2018-data-report/
Golang adoption curve
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
https://serverless.com/blog/serverless-by-the-numbers-2018-data-report/
Golang adoption curve
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
Go 언어가 올라오고 있지만
아직 Node.js는 건재합니다 😌
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
References
- https://serverless.com/blog/serverless-by-the-numbers-2018-data-report/
- https://github.com/novemberde/serverless-todo-demo
- http://bit.ly/NMDeMo
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
감사합니다!
2019.02.14 | AWSKRUG Serverless Group | Native addon on Nodejs of AWS Lambda | Byun Kyuhyun
Email: novemberde1@gmail.com
Blog: https://novemberde.github.io
Github:https://github.com/novemberde

More Related Content

What's hot (20)

PDF
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS User Group - Thailand
 
PDF
JJUG CCC 2018 : Lessons Learned: Spring Cloud -> Docker -> Kubernetes
Mauricio (Salaboy) Salatino
 
PDF
AWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase Productivity
AWS User Group - Thailand
 
PDF
AWS Lambda Containers - bridging the gap between serverless and containers on...
Yun Zhi Lin
 
PDF
Cloud Native Java in Kubernetes
Mauricio (Salaboy) Salatino
 
PDF
Function as a Service with Knative and riff
VMware Tanzu
 
PDF
Building Serverless Machine Learning models in the Cloud
Alex Casalboni
 
PPTX
Amazingly Simple Serverless Go
Yun Zhi Lin
 
PDF
Building your own calendly using amazon app sync
Dhaval Nagar
 
PDF
Whizlabs webinar - Deploying Portfolio Site with AWS Serverless
Dhaval Nagar
 
PDF
Serverless Architecture on AWS
Rajind Ruparathna
 
PDF
Infrastructure as a code: a cloud approach
ThinkOpen
 
PDF
Introduction to the Serverless paradigm
Alex Casalboni
 
PDF
Unlimited Frameworks
Terui Masashi
 
PDF
Amazon EKS - Aws community day bengaluru 2019
Akash Agrawal
 
PPTX
AKS Azure Kubernetes Services Workshop Jorge Arteiro
Jorge Arteiro
 
PDF
Serverless framework와 CircleCI를 통한 NoOps 맛보기
Kyuhyun Byun
 
PPTX
Azure Functions Real World Examples
Yochay Kiriaty
 
PDF
Intro to js august 31
Thinkful
 
PPTX
Practical Cloud
Lynn Langit
 
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS User Group - Thailand
 
JJUG CCC 2018 : Lessons Learned: Spring Cloud -> Docker -> Kubernetes
Mauricio (Salaboy) Salatino
 
AWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase Productivity
AWS User Group - Thailand
 
AWS Lambda Containers - bridging the gap between serverless and containers on...
Yun Zhi Lin
 
Cloud Native Java in Kubernetes
Mauricio (Salaboy) Salatino
 
Function as a Service with Knative and riff
VMware Tanzu
 
Building Serverless Machine Learning models in the Cloud
Alex Casalboni
 
Amazingly Simple Serverless Go
Yun Zhi Lin
 
Building your own calendly using amazon app sync
Dhaval Nagar
 
Whizlabs webinar - Deploying Portfolio Site with AWS Serverless
Dhaval Nagar
 
Serverless Architecture on AWS
Rajind Ruparathna
 
Infrastructure as a code: a cloud approach
ThinkOpen
 
Introduction to the Serverless paradigm
Alex Casalboni
 
Unlimited Frameworks
Terui Masashi
 
Amazon EKS - Aws community day bengaluru 2019
Akash Agrawal
 
AKS Azure Kubernetes Services Workshop Jorge Arteiro
Jorge Arteiro
 
Serverless framework와 CircleCI를 통한 NoOps 맛보기
Kyuhyun Byun
 
Azure Functions Real World Examples
Yochay Kiriaty
 
Intro to js august 31
Thinkful
 
Practical Cloud
Lynn Langit
 

Similar to Native addon을 포함하여 Node.js + Typescript + Serverless 빌드 및 배포하기 (9)

PDF
우분투의 현재와 미래(장태희) - 11/05 Open Technet Summit Fall(Ubuntu Korea Community)
Taehee Jang
 
PDF
Firecracker, 서버리스 컴퓨팅을 위한 오픈소스 microVM 기술
Han Jin Ryu
 
PDF
Firecracker, 서버리스 컴퓨팅을 위한 오픈소스 microVM 기술 :: 류한진 - AWS ...
AWSKRUG - AWS한국사용자모임
 
PPTX
[AWSKRUG 아키텍처 모임] 세일즈부스트 인프라스트럭처 사례 공유
Soowan Lee
 
PDF
모바일 웹 디버깅
Jae Sung Park
 
PDF
[212] large scale backend service develpment
NAVER D2
 
PDF
5.node js
Geunhyung Kim
 
PDF
Oracle Blockchain Platform_Wonjo Yoo
Oracle Korea
 
PDF
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
Amazon Web Services Korea
 
우분투의 현재와 미래(장태희) - 11/05 Open Technet Summit Fall(Ubuntu Korea Community)
Taehee Jang
 
Firecracker, 서버리스 컴퓨팅을 위한 오픈소스 microVM 기술
Han Jin Ryu
 
Firecracker, 서버리스 컴퓨팅을 위한 오픈소스 microVM 기술 :: 류한진 - AWS ...
AWSKRUG - AWS한국사용자모임
 
[AWSKRUG 아키텍처 모임] 세일즈부스트 인프라스트럭처 사례 공유
Soowan Lee
 
모바일 웹 디버깅
Jae Sung Park
 
[212] large scale backend service develpment
NAVER D2
 
5.node js
Geunhyung Kim
 
Oracle Blockchain Platform_Wonjo Yoo
Oracle Korea
 
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
Amazon Web Services Korea
 
Ad

More from Kyuhyun Byun (14)

PPTX
Golang Project Guide from A to Z: From Feature Development to Enterprise Appl...
Kyuhyun Byun
 
PDF
Go 도입 후 4년 간 기록
Kyuhyun Byun
 
PPTX
성장하는 엔지니어가 되는 법- 주니어편.pptx
Kyuhyun Byun
 
PDF
성장하는 서버 개발자 되기 - Wanted Livetalk
Kyuhyun Byun
 
PDF
당근마켓 고언어 도입기, 그리고 활용법
Kyuhyun Byun
 
PDF
RDS에서 Aurora PostgreSQL Migration한 후기
Kyuhyun Byun
 
PDF
RDS에서 Aurora PostgreSQL 마이그레이션하기
Kyuhyun Byun
 
PDF
CircleCI로 Serverless API의 CI/CD 환경 구축하기
Kyuhyun Byun
 
PDF
Serverless websocket 톺아보기
Kyuhyun Byun
 
PDF
0원으로 시작하는 서버리스 데이터 수집 및 분석
Kyuhyun Byun
 
PDF
포털 검색어 순위 수집 및 분석 후기
Kyuhyun Byun
 
PDF
ALB+EC2 to API gateway + Lambda
Kyuhyun Byun
 
PDF
Docker와 DevOps에서 Serverless와 NoOps로의 여정
Kyuhyun Byun
 
PPTX
Ec2 docker docker-compose
Kyuhyun Byun
 
Golang Project Guide from A to Z: From Feature Development to Enterprise Appl...
Kyuhyun Byun
 
Go 도입 후 4년 간 기록
Kyuhyun Byun
 
성장하는 엔지니어가 되는 법- 주니어편.pptx
Kyuhyun Byun
 
성장하는 서버 개발자 되기 - Wanted Livetalk
Kyuhyun Byun
 
당근마켓 고언어 도입기, 그리고 활용법
Kyuhyun Byun
 
RDS에서 Aurora PostgreSQL Migration한 후기
Kyuhyun Byun
 
RDS에서 Aurora PostgreSQL 마이그레이션하기
Kyuhyun Byun
 
CircleCI로 Serverless API의 CI/CD 환경 구축하기
Kyuhyun Byun
 
Serverless websocket 톺아보기
Kyuhyun Byun
 
0원으로 시작하는 서버리스 데이터 수집 및 분석
Kyuhyun Byun
 
포털 검색어 순위 수집 및 분석 후기
Kyuhyun Byun
 
ALB+EC2 to API gateway + Lambda
Kyuhyun Byun
 
Docker와 DevOps에서 Serverless와 NoOps로의 여정
Kyuhyun Byun
 
Ec2 docker docker-compose
Kyuhyun Byun
 
Ad

Recently uploaded (20)

PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PDF
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
PPTX
Library_Management_System_PPT111111.pptx
nmtnissancrm
 
PPTX
Smart Doctor Appointment Booking option in odoo.pptx
AxisTechnolabs
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PDF
Latest Capcut Pro 5.9.0 Crack Version For PC {Fully 2025
utfefguu
 
PPTX
BB FlashBack Pro 5.61.0.4843 With Crack Free Download
cracked shares
 
PDF
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PDF
Salesforce Experience Cloud Consultant.pdf
VALiNTRY360
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
Best Web development company in india 2025
Greenusys
 
PPTX
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
PDF
Ready Layer One: Intro to the Model Context Protocol
mmckenna1
 
PDF
Simplify React app login with asgardeo-sdk
vaibhav289687
 
PPTX
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PPTX
Prompt Like a Pro. Leveraging Salesforce Data to Power AI Workflows.pptx
Dele Amefo
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
Library_Management_System_PPT111111.pptx
nmtnissancrm
 
Smart Doctor Appointment Booking option in odoo.pptx
AxisTechnolabs
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
Latest Capcut Pro 5.9.0 Crack Version For PC {Fully 2025
utfefguu
 
BB FlashBack Pro 5.61.0.4843 With Crack Free Download
cracked shares
 
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
Salesforce Experience Cloud Consultant.pdf
VALiNTRY360
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Best Web development company in india 2025
Greenusys
 
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
Ready Layer One: Intro to the Model Context Protocol
mmckenna1
 
Simplify React app login with asgardeo-sdk
vaibhav289687
 
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
Prompt Like a Pro. Leveraging Salesforce Data to Power AI Workflows.pptx
Dele Amefo
 

Native addon을 포함하여 Node.js + Typescript + Serverless 빌드 및 배포하기