SlideShare una empresa de Scribd logo
1 de 18
Descargar para leer sin conexión
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 1
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
區塊鏈資料分析公司
- 將鏈上與交易所交易整理為會計資料
- 幣安孵化器
2
馮彥文
- fb.me/tempofeng
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
從 Server 到 Serverless
Gamelet
Tomcat /
Colocation /
MySQL
3
2011 2014 2016
Cubie
WAR /
EC2 /
Cassandra
Komma Space
WAR /
Elastic Beanstalk /
DynamoDB
Decore
Java,Kotlin,Typescript /
Lambda /
DynamoDB
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Ethereum Blockchain Data > 200G
4
• 資料存取速度
• 帳戶資料多寡不平衡
• 架構越簡單越好
• DynamoDB
• Lambda
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
MySQL > NoSQL
5
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Gamelet:Facebook 平台遊戲
6
Colocation
從 MySQL 轉換到 NoSQL
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
因 Alter table 停機一天半
7
從 MySQL 轉換到 NoSQL
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
為什麼要用 DynamoDB (或是其他的 nosql 資料庫)?
1. 不需要設計 data schema
2. 可一直橫向擴充,不需 Sharding(分片)
3. 不管資料大小,讀取或寫入都是接近固定的時間
8
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
用「需要事先規劃的 Query」換取「固定的存取速度」
9
可新增多筆
Global/Local
Secondary Index
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
DynamoDB vs Relational Database
• DynamoDB 資料存取是固定時間
• RDBMS Transaction 比 DynamoDB Transaction 靈活
• DynamoDB Index 只能使用一組 Hash Key 與 Sort Key,一次 Query 只能使用一組
Index
10
Department Name Age {Name, Age}
Engineering Tom Lee 42 {Tom Lee, 42}
Engineering Ann Chen 27 {Ann Chen, 27}
Marketing May Wu 41 {May Wu, 41}
Engineering Jack Chen 42 {Jack Chen, 42}
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
rockset.com
• Smart Schema (Index) + Hadoop
• Query returns in MS
11
Streaming ingest
Rockset
Write API
Bulk ingest
Schemaless ingest
No pipelines or ETL needed
Real-time indexing
Apps
Dashboards
SQL
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Dedicate Servers >
Elastic Beanstalks >
Lambda
12
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Elastic Beanstalk > Lambda
13
Komma Space
WAR /
Elastic Beanstalk /
DynamoDB
Decore
Java,Kotlin,Typescript /
Lambda /
DynamoDB
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Elastic Beanstalk > Lambda
14
Two people team ……
- 非常容易部署
- 對小服務相當便宜
- 可擴展的架構 - 15 分鐘限制
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda Deployment
• Javascript, Typescript
• https://serverless.com/
• Java, Kotlin
• https://github.com/classmethod/gradle-aws-plugin
• https://github.com/tempofeng/lambda-local
15
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Stacks in Decore
16
Rest, GraphQL
Lambda DynamoDB
Step Functions
Lambda Lambda
Lambda
Rockset
Client App
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cold Start
17
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you
18

Más contenido relacionado

La actualidad más candente

Migrate an existing application RESTful API’s to GraphQL using AWS Amplify an...
Migrate an existing application RESTful API’s to GraphQL using AWS Amplify an...Migrate an existing application RESTful API’s to GraphQL using AWS Amplify an...
Migrate an existing application RESTful API’s to GraphQL using AWS Amplify an...
Amazon Web Services
 
DevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayDevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon Way
Amazon Web Services
 
Becoming A High Frequency Enterprise
Becoming A High Frequency EnterpriseBecoming A High Frequency Enterprise
Becoming A High Frequency Enterprise
Amazon Web Services
 

La actualidad más candente (20)

Migrate an existing application RESTful API’s to GraphQL using AWS Amplify an...
Migrate an existing application RESTful API’s to GraphQL using AWS Amplify an...Migrate an existing application RESTful API’s to GraphQL using AWS Amplify an...
Migrate an existing application RESTful API’s to GraphQL using AWS Amplify an...
 
DevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon WayDevOps - Moving to DevOps the Amazon Way
DevOps - Moving to DevOps the Amazon Way
 
Build AR/VR apps with AWS - SVC202 - Atlanta AWS Summit
Build AR/VR apps with AWS - SVC202 - Atlanta AWS SummitBuild AR/VR apps with AWS - SVC202 - Atlanta AWS Summit
Build AR/VR apps with AWS - SVC202 - Atlanta AWS Summit
 
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
갤럭시 규모의 인공지능 서비스를 위한 AWS 데이터베이스 아키텍처 - 김상필 솔루션 아키텍트 매니저, AWS / 김정환 데브옵스 엔지니어,...
 
Frontend and Mobile with AWS Amplify | AWS Summit Tel Aviv 2019
Frontend and Mobile with AWS Amplify | AWS Summit Tel Aviv 2019Frontend and Mobile with AWS Amplify | AWS Summit Tel Aviv 2019
Frontend and Mobile with AWS Amplify | AWS Summit Tel Aviv 2019
 
What's new in Amazon Aurora - ADB204 - Santa Clara AWS Summit.pdf
What's new in Amazon Aurora - ADB204 - Santa Clara AWS Summit.pdfWhat's new in Amazon Aurora - ADB204 - Santa Clara AWS Summit.pdf
What's new in Amazon Aurora - ADB204 - Santa Clara AWS Summit.pdf
 
The Next Wave of Retailing, An AWS Perspective - Tom Litchford 월드와이드 리테일 사업 개...
The Next Wave of Retailing, An AWS Perspective - Tom Litchford 월드와이드 리테일 사업 개...The Next Wave of Retailing, An AWS Perspective - Tom Litchford 월드와이드 리테일 사업 개...
The Next Wave of Retailing, An AWS Perspective - Tom Litchford 월드와이드 리테일 사업 개...
 
[REPEAT] Optimize your workloads with Amazon EC2 & AMD EPYC - DEM01-R - Santa...
[REPEAT] Optimize your workloads with Amazon EC2 & AMD EPYC - DEM01-R - Santa...[REPEAT] Optimize your workloads with Amazon EC2 & AMD EPYC - DEM01-R - Santa...
[REPEAT] Optimize your workloads with Amazon EC2 & AMD EPYC - DEM01-R - Santa...
 
Migration to AWS: The foundation for enterprise transformation - SVC210 - New...
Migration to AWS: The foundation for enterprise transformation - SVC210 - New...Migration to AWS: The foundation for enterprise transformation - SVC210 - New...
Migration to AWS: The foundation for enterprise transformation - SVC210 - New...
 
AWS及客戶在AI/ML的數位運行過程中得到的重要經驗與學習
AWS及客戶在AI/ML的數位運行過程中得到的重要經驗與學習AWS及客戶在AI/ML的數位運行過程中得到的重要經驗與學習
AWS及客戶在AI/ML的數位運行過程中得到的重要經驗與學習
 
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...
Amazon SageMaker: ML for Every Developer and Data Scientist - AIM202 - Anahei...
 
Becoming A High Frequency Enterprise
Becoming A High Frequency EnterpriseBecoming A High Frequency Enterprise
Becoming A High Frequency Enterprise
 
Introduzione a blockchain e registri digitali
Introduzione a blockchain e registri digitaliIntroduzione a blockchain e registri digitali
Introduzione a blockchain e registri digitali
 
ML for every developer and data scientist with Amazon SageMaker - AIM201 - At...
ML for every developer and data scientist with Amazon SageMaker - AIM201 - At...ML for every developer and data scientist with Amazon SageMaker - AIM201 - At...
ML for every developer and data scientist with Amazon SageMaker - AIM201 - At...
 
Grid computing in the cloud for Financial Services industry - CMP205-I - New ...
Grid computing in the cloud for Financial Services industry - CMP205-I - New ...Grid computing in the cloud for Financial Services industry - CMP205-I - New ...
Grid computing in the cloud for Financial Services industry - CMP205-I - New ...
 
Add intelligence to applications - AIM205 - Santa Clara AWS Summit.pdf
Add intelligence to applications - AIM205 - Santa Clara AWS Summit.pdfAdd intelligence to applications - AIM205 - Santa Clara AWS Summit.pdf
Add intelligence to applications - AIM205 - Santa Clara AWS Summit.pdf
 
Introduction to EC2 A1 instances, powered by the AWS Graviton processor - CMP...
Introduction to EC2 A1 instances, powered by the AWS Graviton processor - CMP...Introduction to EC2 A1 instances, powered by the AWS Graviton processor - CMP...
Introduction to EC2 A1 instances, powered by the AWS Graviton processor - CMP...
 
Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...
Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...
Migliora la disponibilità e le prestazioni delle tue applicazioni con Amazon ...
 
Pro-Tips-for-Builders-on-AWS
Pro-Tips-for-Builders-on-AWSPro-Tips-for-Builders-on-AWS
Pro-Tips-for-Builders-on-AWS
 
Deep dive on AWS Cloud storage offerings - What to use, where, and why - STG3...
Deep dive on AWS Cloud storage offerings - What to use, where, and why - STG3...Deep dive on AWS Cloud storage offerings - What to use, where, and why - STG3...
Deep dive on AWS Cloud storage offerings - What to use, where, and why - STG3...
 

Similar a AWS微服務時代-無伺服器時代的區塊鏈應用_Decore 馮彥文

Migrate and Modernize Your Database
Migrate and Modernize Your DatabaseMigrate and Modernize Your Database
Migrate and Modernize Your Database
Amazon Web Services
 

Similar a AWS微服務時代-無伺服器時代的區塊鏈應用_Decore 馮彥文 (20)

Migrate and Modernize Your Database
Migrate and Modernize Your DatabaseMigrate and Modernize Your Database
Migrate and Modernize Your Database
 
Scale - Implementing a Data Warehouse on AWS
Scale - Implementing a Data Warehouse on AWSScale - Implementing a Data Warehouse on AWS
Scale - Implementing a Data Warehouse on AWS
 
Deploy and scale your first cloud application with Amazon Lightsail - CMP202 ...
Deploy and scale your first cloud application with Amazon Lightsail - CMP202 ...Deploy and scale your first cloud application with Amazon Lightsail - CMP202 ...
Deploy and scale your first cloud application with Amazon Lightsail - CMP202 ...
 
Implementing a Data Warehouse on AWS in a Hybrid Environment
Implementing a Data Warehouse on AWS in a Hybrid EnvironmentImplementing a Data Warehouse on AWS in a Hybrid Environment
Implementing a Data Warehouse on AWS in a Hybrid Environment
 
Running Kubernetes with Amazon EKS - AWS Online Tech Talks
Running Kubernetes with Amazon EKS - AWS Online Tech TalksRunning Kubernetes with Amazon EKS - AWS Online Tech Talks
Running Kubernetes with Amazon EKS - AWS Online Tech Talks
 
Introduction to Serverless Computing - OOP Munich
 Introduction to Serverless Computing - OOP Munich Introduction to Serverless Computing - OOP Munich
Introduction to Serverless Computing - OOP Munich
 
Design, Deploy, and Optimize Microsoft SQL Server on AWS
Design, Deploy, and Optimize Microsoft SQL Server on AWSDesign, Deploy, and Optimize Microsoft SQL Server on AWS
Design, Deploy, and Optimize Microsoft SQL Server on AWS
 
Building a Critical Communications Platform Using Serverless Technologies
Building a Critical Communications Platform Using Serverless TechnologiesBuilding a Critical Communications Platform Using Serverless Technologies
Building a Critical Communications Platform Using Serverless Technologies
 
Machine Learning using Kubernetes - AI Conclave 2019
Machine Learning using Kubernetes - AI Conclave 2019Machine Learning using Kubernetes - AI Conclave 2019
Machine Learning using Kubernetes - AI Conclave 2019
 
Black Belt Tips for IT Operations - AWS Summit Sydney 2018
Black Belt Tips for IT Operations - AWS Summit Sydney 2018Black Belt Tips for IT Operations - AWS Summit Sydney 2018
Black Belt Tips for IT Operations - AWS Summit Sydney 2018
 
Getting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS Summit
Getting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS SummitGetting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS Summit
Getting Started with ARM-Based EC2 A1 Instances - CMP302 - Anaheim AWS Summit
 
Cloud Migration Workshop
Cloud Migration WorkshopCloud Migration Workshop
Cloud Migration Workshop
 
Simplifying Microsoft Architectures with AWS Services
Simplifying Microsoft Architectures with AWS ServicesSimplifying Microsoft Architectures with AWS Services
Simplifying Microsoft Architectures with AWS Services
 
Migrate Your Hadoop/Spark Workload to Amazon EMR and Architect It for Securit...
Migrate Your Hadoop/Spark Workload to Amazon EMR and Architect It for Securit...Migrate Your Hadoop/Spark Workload to Amazon EMR and Architect It for Securit...
Migrate Your Hadoop/Spark Workload to Amazon EMR and Architect It for Securit...
 
AWS DevDay Berlin - Automating building blocks choices you will face with con...
AWS DevDay Berlin - Automating building blocks choices you will face with con...AWS DevDay Berlin - Automating building blocks choices you will face with con...
AWS DevDay Berlin - Automating building blocks choices you will face with con...
 
Run Production Workloads on Spot, Save up to 90%
Run Production Workloads on Spot, Save up to 90%Run Production Workloads on Spot, Save up to 90%
Run Production Workloads on Spot, Save up to 90%
 
AWS DevDay Cologne - Automating building blocks choices you will face with co...
AWS DevDay Cologne - Automating building blocks choices you will face with co...AWS DevDay Cologne - Automating building blocks choices you will face with co...
AWS DevDay Cologne - Automating building blocks choices you will face with co...
 
Modernizing_your_Enterprise_Applications
Modernizing_your_Enterprise_ApplicationsModernizing_your_Enterprise_Applications
Modernizing_your_Enterprise_Applications
 
AWS re:Invent Comes to London 2019 - Database, Analytics, AI &ML
AWS re:Invent Comes to London 2019 - Database, Analytics, AI &MLAWS re:Invent Comes to London 2019 - Database, Analytics, AI &ML
AWS re:Invent Comes to London 2019 - Database, Analytics, AI &ML
 
DevConf 2020: Resiliency and availability design patterns for the cloud
DevConf 2020: Resiliency and availability design patterns for the cloudDevConf 2020: Resiliency and availability design patterns for the cloud
DevConf 2020: Resiliency and availability design patterns for the cloud
 

Más de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Más de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

AWS微服務時代-無伺服器時代的區塊鏈應用_Decore 馮彥文

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 1
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 區塊鏈資料分析公司 - 將鏈上與交易所交易整理為會計資料 - 幣安孵化器 2 馮彥文 - fb.me/tempofeng
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 從 Server 到 Serverless Gamelet Tomcat / Colocation / MySQL 3 2011 2014 2016 Cubie WAR / EC2 / Cassandra Komma Space WAR / Elastic Beanstalk / DynamoDB Decore Java,Kotlin,Typescript / Lambda / DynamoDB
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Ethereum Blockchain Data > 200G 4 • 資料存取速度 • 帳戶資料多寡不平衡 • 架構越簡單越好 • DynamoDB • Lambda
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. MySQL > NoSQL 5
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Gamelet:Facebook 平台遊戲 6 Colocation 從 MySQL 轉換到 NoSQL
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 因 Alter table 停機一天半 7 從 MySQL 轉換到 NoSQL
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 為什麼要用 DynamoDB (或是其他的 nosql 資料庫)? 1. 不需要設計 data schema 2. 可一直橫向擴充,不需 Sharding(分片) 3. 不管資料大小,讀取或寫入都是接近固定的時間 8
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 用「需要事先規劃的 Query」換取「固定的存取速度」 9 可新增多筆 Global/Local Secondary Index
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. DynamoDB vs Relational Database • DynamoDB 資料存取是固定時間 • RDBMS Transaction 比 DynamoDB Transaction 靈活 • DynamoDB Index 只能使用一組 Hash Key 與 Sort Key,一次 Query 只能使用一組 Index 10 Department Name Age {Name, Age} Engineering Tom Lee 42 {Tom Lee, 42} Engineering Ann Chen 27 {Ann Chen, 27} Marketing May Wu 41 {May Wu, 41} Engineering Jack Chen 42 {Jack Chen, 42}
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. rockset.com • Smart Schema (Index) + Hadoop • Query returns in MS 11 Streaming ingest Rockset Write API Bulk ingest Schemaless ingest No pipelines or ETL needed Real-time indexing Apps Dashboards SQL
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Dedicate Servers > Elastic Beanstalks > Lambda 12
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Elastic Beanstalk > Lambda 13 Komma Space WAR / Elastic Beanstalk / DynamoDB Decore Java,Kotlin,Typescript / Lambda / DynamoDB
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Elastic Beanstalk > Lambda 14 Two people team …… - 非常容易部署 - 對小服務相當便宜 - 可擴展的架構 - 15 分鐘限制
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda Deployment • Javascript, Typescript • https://serverless.com/ • Java, Kotlin • https://github.com/classmethod/gradle-aws-plugin • https://github.com/tempofeng/lambda-local 15
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Stacks in Decore 16 Rest, GraphQL Lambda DynamoDB Step Functions Lambda Lambda Lambda Rockset Client App
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cold Start 17
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Thank you 18