Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
IO 2019 Firebase and Cloud
Search
sakajunquality
May 25, 2019
Technology
0
130
IO 2019 Firebase and Cloud
sakajunquality
May 25, 2019
Tweet
Share
More Decks by sakajunquality
See All by sakajunquality
DevFest Tokyo 2023: Google Cloudでチームで安全にデプロイをする
sakajunquality
10
1.9k
Cloud Spanner Monitoring 入門 / Cloud Spanner Monitoring Introduction
sakajunquality
1
1.4k
GKE Overview March 2021: Introducing Autopilot
sakajunquality
1
870
Introduction to Cloud Run 2021
sakajunquality
3
1.6k
Building Reliable Distributed Systems on GCP
sakajunquality
1
270
Istio 1.5 Updates
sakajunquality
4
2k
GCP 101: Getting Started through Cloud Run
sakajunquality
6
3.8k
Seeking Observability, Getting Started with Service Mesh
sakajunquality
0
170
Fastly Yamagoya Meetup: Leveraging Cloud Portability with Fastly
sakajunquality
0
16k
Other Decks in Technology
See All in Technology
re:Invent 2025 ふりかえり 生成AI版
takaakikakei
1
190
「Managed Instances」と「durable functions」で広がるAWS Lambdaのユースケース
lamaglama39
0
280
意外とあった SQL Server 関連アップデート + Database Savings Plans
stknohg
PRO
0
300
re:Invent2025 コンテナ系アップデート振り返り(+CloudWatchログのアップデート紹介)
masukawa
0
320
[デモです] NotebookLM で作ったスライドの例
kongmingstrap
0
110
計算機科学をRubyと歩む 〜DFA型正規表現エンジンをつくる~
ydah
3
210
ChatGPTで論⽂は読めるのか
spatial_ai_network
0
860
5分で知るMicrosoft Ignite
taiponrock
PRO
0
250
Reinforcement Fine-tuning 基礎〜実践まで
ch6noota
0
160
Karate+Database RiderによるAPI自動テスト導入工数をCline+GitLab MCPを使って2割削減を目指す! / 20251206 Kazuki Takahashi
shift_evolve
PRO
1
600
Lessons from Migrating to OpenSearch: Shard Design, Log Ingestion, and UI Decisions
sansantech
PRO
1
100
乗りこなせAI駆動開発の波
eltociear
1
1k
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
The Language of Interfaces
destraynor
162
25k
Being A Developer After 40
akosma
91
590k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Navigating Team Friction
lara
191
16k
[RailsConf 2023] Rails as a piece of cake
palkan
58
6.1k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.7k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
Done Done
chrislema
186
16k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
A better future with KSS
kneath
240
18k
Transcript
I/O 2019 Firebase and Cloud FJUG Osaka #3 #io19jp 19.05.26
@sakajunquality
Agenda - What’s new in Firebase - Firebase Serverless Computing
Who am I? - @sakajunquality - Google Developers Expert for
Cloud - SRE at Ubie inc.
What’s new in Firebase
What's New in Firebase (Google I/O'19) https://www.youtube.com/watch?v=x8qTEMkZCPs
What’s new in Firebase? #io19 - ML Kit - Object
Detection && Tracking API - Translation API - AutoML Vision Edge - Crashlytics - BigQuery - Firestore - Collection Group Query
What’s new in Firebase? #io19 - Cloud Functions - Schedule
- Local Emulator - Performance Monitoring - Web - BigQuery - ...
https://firebase.googleblog.com/2019/05/whats-new- Google-IO-2019.html
Firebase Serverless Computing
GCP Serverless Computing - Cloud Functions - App Engine -
Cloud Run Cloud Functions App Engine Cloud Run New
Firebase Serverless Computing - Cloud Functions - - Cloud Run
Cloud Functions Cloud Run New
Cloud Functions - Deploy a function - Handle Request /
Events - Request and Response HTTPS - Events from Cloud
Cloud Functions Example func Hello(ctx context.Context, m PubSubMessage) error {
log.Println(string(m.Data)) // Your Logic Here... return nil }
Cloud Functions New - Scheduler - Local Emulator
Scheduler - Cloud Functions New - Schedule a function like
cron - https://firebase.googleblog.com/2019/04/schedule-clo ud-functions-firebase-cron.html
Emulator - Cloud Functions New - Local Emulator - https://firebase.google.com/docs/functions/local-emul
ator
Cloud Run - Deploy a container image - Listen $PORT
- Request and Response HTTPS
Cloud Run - Managed Endpoint w/ SSL Termination - 5
min Timeout* Firebase - ~2GB RAM - 0 to 1000 instances scale - 1-80 concurrent requests - Pay for CPU and memory @100ms + Network Transfer
Cloud Run Example: app package main import ( "fmt" "log"
"net/http" "os" ) func handler(w http.ResponseWriter, r *http.Request) { fmt. Fprintf(w, os.Getenv("HELLO_MESSAGE" )) } func main() { http. HandleFunc ("/", handler) log. Fatal(http.ListenAndServe (":8080", nil)) }
Cloud Run Example: Dockerfile FROM golang:1.12-alpine as build RUN apk
add alpine-sdk WORKDIR $GOPATH/src/github.com/sakajunquality/hello COPY . . RUN go get -d -v ./... RUN go install -v ./... FROM alpine RUN apk add --no-cache ca-certificates COPY --from=build /go/bin/hello /usr/local/bin/hello
Differences? https://firebase.google.com/docs/hosting/serverless-overview
Where Should I Run My Code? Choosing From 5+ Compute
Options (Cloud Next '19) https://www.youtube.com/watch?v=wzPmgWJ5fpU
Fastly Integration - All of them are covered with Fastly
CDN - Cache can be control by HTTP headers
Thankyou