1
Lessons learned from using
Firebase in Production
Maik Buchmeyer
@mediavrog
CTO @ AIR at en-japan
https://air.en-japan.io
2
Intro
Innovation arm of en-japan since 2014
Digitalise en-japans service portfolio
Innovate in HR using modern technology
CTO at AIR
Creator, love side projects
Suica and IC Card reader
3
Agenda
1. What is Firebase?
2. About Video Interview
3. Service Architecture
4. Lessons learned
5. Q&A
4
What is Firebase?
5
Mobile Application
Development Platform
What is Firebase?
6
GrowAnalytics
Develop Quality
In 2018
What is Firebase?
7
Gets a lot of love
as well as critique*
and everything in between.
* recently less so
Firebase
8
Why chose
Firebase?
“Focus on providing value”
● Start low cost but able to scale
● Performance and Availability
● Infrastructure, Auth, API,
common app features
out of the box
9
VideoInterview.io
10
Video Interviewing Platform
About Video Interview
11
Released Aug. 2017
> 500 company accounts
~ 100 interviews / month
About Video Interview
12
Service Architecture
13
Integration C
(Optional) Hosting
Integration B
Service Architecture
media storage
transcoding pipeline
iOSWebWeb
Recruiter Candidate
raw
video
HLS
video
Realtime Database
Main app database
Light file storage
(profile images, logos)
Main (d/s/p)
“Backend”
(Mails, HTTP API.)
Candidate (d/s/p)
Hosting CDN
Dashboard
Hosting CDN
d/s/p: development / staging / production environments
Integration A
(Optional) Hosting
HTTP API
3rd Parties
A B C
Admin
(read only) Web
auth
Hosting CDN
web socket connections via
Firebase Web & iOS SDKs
...
url
Media
upload
request
Media
upload
14
Integration C
(Optional) Hosting
Integration B
Service Architecture
media storage
transcoding pipeline
iOSWebWeb
Recruiter Candidate
raw
video
HLS
video
Realtime Database
Main app database
Light file storage
(profile images, logos)
Main (d/s/p)
“Backend”
(Mails, HTTP API.)
Candidate (d/s/p)
Hosting CDN
Dashboard
Hosting CDN
d/s/p: development / staging / production environments
Integration A
(Optional) Hosting
HTTP API
3rd Parties
A B C
Admin
(read only) Web
auth
Hosting CDN
web socket connections via
Firebase Web & iOS SDKs
...
url
Media
upload
request
Media
upload
15
Integration C
(Optional) Hosting
Integration B
Service Architecture
media storage
transcoding pipeline
iOSWebWeb
Recruiter Candidate
raw
video
HLS
video
Realtime Database
Main app database
Light file storage
(profile images, logos)
Main (d/s/p)
“Backend”
(Mails, HTTP API.)
Candidate (d/s/p)
Hosting CDN
Dashboard
Hosting CDN
d/s/p: development / staging / production environments
Integration A
(Optional) Hosting
HTTP API
3rd Parties
A B C
Admin
(read only) Web
auth
Hosting CDN
...
url
Integration B
C
16
Integration C
(Optional) Hosting
Integration B
Service Architecture
media storage
transcoding pipeline
iOSWebWeb
Recruiter Candidate
raw
video
HLS
video
Realtime Database
Main app database
Light file storage
(profile images, logos)
Main (d/s/p)
“Backend”
(Mails, HTTP API.)
Candidate (d/s/p)
Hosting CDN
Dashboard
Hosting CDN
d/s/p: development / staging / production environments
Integration A
(Optional) Hosting
HTTP API
3rd Parties
A B C
Admin
(read only) Web
auth
Hosting CDN
...
url
Integration C
(Optional) Hosting
Integration B
Integration A
(Optional) Hosting
HTTP API
3rd Parties
A B C
17
Integration C
(Optional) Hosting
Integration B
Service Architecture
media storage
transcoding pipeline
iOSWebWeb
Recruiter Candidate
raw
video
HLS
video
Realtime Database
Main app database
Light file storage
(profile images, logos)
Main (d/s/p)
“Backend”
(Mails, HTTP API.)
Candidate (d/s/p)
Hosting CDN
Dashboard
Hosting CDN
d/s/p: development / staging / production environments
Integration A
(Optional) Hosting
HTTP API
3rd Parties
A B C
Admin
(read only) Web
auth
Hosting CDN
...
url
18
Lessons learned
19
Event-driven
database
Lessons learned
“Realtime” as default great
design choice for UX.
+ Reactive, delightful UI/UX
- Denormalized data in RTDB,
needs to be kept in sync
- “Big JSON”
- No shallow queries
- One region us-west-1
- 100.000 concurrent users
New projects should default to
Firestore!
- Collections/Documents
- Complex queries
- Multi-region
- 1.000.000 concurrent users
20
Security
Rules
Lessons learned
3,000+ mobile apps leaking
data from unsecured Firebase
databases
+ Single location for
authorization close to data
- huge, brittle JSON with inline
Javascript.
Need tooling like bolt & testing!
- generic PERMISSION_DENIED if
rule fails: need duplicate
validation logic on clients
21
Reliability
Lessons learned
Backed by Google Cloud
Platform and very reliable.
SLA has 99.95% uptime,
but in reality it’s better.
Downtime
+ Google will fix it
- still hurts; no control
- partial downtime (e.g. functions)
might lead to temporary data
inconsistencies
→ use db triggers carefully!
Strategy: Switch app to maintenance
mode in sync with Firebase outages
Backups
- No auto-backup for auth data
22
Customization
Lessons learned
A lot you get out of the box is
very basic but takes you a
long way.
- Emails like “Reset password”
provided multi-language,
but basic, no customization
→ Eventually
replace
vs
23
Build
integrations
Lessons learned
Setting up support for API
keys for 3rd party access
fast and simple.
Build an integration with
greenhouse ATS in one week.
- Add API key related rules
- Separate Firebase project
- HTTP Functions (express)
Authenticate as API key user
admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
databaseURL: "https://databaseName.firebaseio.com",
databaseAuthVariableOverride: {
uid: "API-KEY"
}
});
24
Access from
China
& some corporate networks
Lessons learned
- Great Firewall actively blocks
requests to Google API
- SDK communicates with
Google APIs for Authentication
and Websocket negotiation
(cannot customize endpoints using SDK)
- Currently, candidates from
China cannot access our
solution
25
Know your tools’ benefits & trade-offs.
SimplicityControl
26
Works for us at
our current stage!
1. Small team can deliver scalable, reliable
product across multiple platforms.
2. No infrastructure headaches
3. Cheap *Less than 100円/mo
27
Closing thought
“Empowerment of creators”
ML & Blockchain & X will eventually see similar tools.
Web2.0 / Wordpress
Bloggers
Youtube / Vimeo
VJays
AWS / Azure / Google Cloud
Accessible Infrastructure
Firebase / AWS Amplify
Accessible development
28
Create!
29

More Related Content

PDF
How to Scale Operations for a Multi-Cloud Platform using PCF
PDF
Cloud Foundry and Microservices: A Mutualistic Symbiotic Relationship
PDF
Introduction to Heroku
PDF
Automating agile integration
PDF
D-DAY 2015 Hybrid Cloud IBM
PPTX
Lessons learnt in CI/CD with AWS serverless architecture
PPTX
DSC Cloud Study Jams
PPTX
A Leader’s Guide to DevOps Practices and Culture
How to Scale Operations for a Multi-Cloud Platform using PCF
Cloud Foundry and Microservices: A Mutualistic Symbiotic Relationship
Introduction to Heroku
Automating agile integration
D-DAY 2015 Hybrid Cloud IBM
Lessons learnt in CI/CD with AWS serverless architecture
DSC Cloud Study Jams
A Leader’s Guide to DevOps Practices and Culture

What's hot (20)

PDF
Agile Mumbai 2020 Conference | Value of DevOps - Journey from Automation to N...
PPTX
vCloud Automation Center and Pivotal Cloud Foundry – Better PaaS Solution (VM...
PDF
Upgrade your InfoSec, Ops and Dev teams with PCF 1.12
PDF
Container Native Development Tools - Talk by Mickey Boxell
PDF
Serverless orchestration and automation with Cloud Workflows
PPTX
Unlock your VMWare Investment with Pivotal Cloud Foundry (VMworld 2014)
PPTX
성공적인 서비스로의 플랫폼 선택
PDF
Java Application Modernization Patterns and Stories from the IBM Garage
PPTX
A Node.js Developer's Guide to Bluemix
PPTX
Fishbowl Solutions' Oracle ECM 11g Upgrade, Migration & Solutions
PDF
Multi-cloud integration architecture
PDF
Case Study: Orange Labs & Cloud Foundry
PDF
Implementing zero trust in IBM Cloud Pak for Integration
PDF
James Watters Kafka Summit NYC 2019 Keynote
PDF
Serverless orchestration and automation with Cloud Workflows
PDF
Accelerate Digital Transformation with Pivotal Cloud Foundry on Azure
PDF
Using Pivotal Cloud Foundry with Google’s BigQuery and Cloud Vision API
PPTX
IBM Multicloud Management on the OpenShift Container Platform
PPTX
API more than payload
PPT
IBM Bluemix cloudfoundry platform
Agile Mumbai 2020 Conference | Value of DevOps - Journey from Automation to N...
vCloud Automation Center and Pivotal Cloud Foundry – Better PaaS Solution (VM...
Upgrade your InfoSec, Ops and Dev teams with PCF 1.12
Container Native Development Tools - Talk by Mickey Boxell
Serverless orchestration and automation with Cloud Workflows
Unlock your VMWare Investment with Pivotal Cloud Foundry (VMworld 2014)
성공적인 서비스로의 플랫폼 선택
Java Application Modernization Patterns and Stories from the IBM Garage
A Node.js Developer's Guide to Bluemix
Fishbowl Solutions' Oracle ECM 11g Upgrade, Migration & Solutions
Multi-cloud integration architecture
Case Study: Orange Labs & Cloud Foundry
Implementing zero trust in IBM Cloud Pak for Integration
James Watters Kafka Summit NYC 2019 Keynote
Serverless orchestration and automation with Cloud Workflows
Accelerate Digital Transformation with Pivotal Cloud Foundry on Azure
Using Pivotal Cloud Foundry with Google’s BigQuery and Cloud Vision API
IBM Multicloud Management on the OpenShift Container Platform
API more than payload
IBM Bluemix cloudfoundry platform
Ad

Similar to Lessons learned using Firebase in Production (20)

PDF
Firebase in action 2021
PDF
Firebase Tech Talk By Atlogys
PPT
PDF
Firebase Adventures - Going above and beyond in Realtime
PPTX
Google Firebase
PPTX
Firebase 101 - Firebase Guide Zero to Hero
PPTX
Google Firebase Presentation
PDF
Up and Running with firebase
PPTX
Firebase
PDF
Lecture 11 Firebase overview
PDF
Leveraging Firebase for Your App Development When and Why to Choose Firebase -
PDF
"Easy and scalable serverless backend for your next mobile or web app", Arman...
PDF
Workshop "Building Modern Web Applications with Firebase (and Angular)", Arm...
PDF
Firebase overview
PPTX
Tk2323 lecture 8 firebase
PPTX
Bootstrapping an App for Launch
PDF
Deploy Firebase Backend as a Service Model for Application Development
PPTX
Google Firebase
PDF
Google Firebase presentation - English
PPTX
Discover Google Firebase Platform
Firebase in action 2021
Firebase Tech Talk By Atlogys
Firebase Adventures - Going above and beyond in Realtime
Google Firebase
Firebase 101 - Firebase Guide Zero to Hero
Google Firebase Presentation
Up and Running with firebase
Firebase
Lecture 11 Firebase overview
Leveraging Firebase for Your App Development When and Why to Choose Firebase -
"Easy and scalable serverless backend for your next mobile or web app", Arman...
Workshop "Building Modern Web Applications with Firebase (and Angular)", Arm...
Firebase overview
Tk2323 lecture 8 firebase
Bootstrapping an App for Launch
Deploy Firebase Backend as a Service Model for Application Development
Google Firebase
Google Firebase presentation - English
Discover Google Firebase Platform
Ad

Recently uploaded (20)

PPT
3.Software Design for software engineering
PDF
Crypto Loss And Recovery Guide By Expert Recovery Agency.
PDF
Cloud Native Aachen Meetup - Aug 21, 2025
PDF
Sanket Mhaiskar Resume - Senior Software Engineer (Backend, AI)
PDF
SOFTWARE ENGINEERING Software Engineering (3rd Edition) by K.K. Aggarwal & Yo...
PPTX
Why 2025 Is the Best Year to Hire Software Developers in India
PDF
CapCut PRO for PC Crack New Download (Fully Activated 2025)
PPTX
Bandicam Screen Recorder 8.2.1 Build 2529 Crack
PDF
Engineering Document Management System (EDMS)
PPTX
HackYourBrain__UtrechtJUG__11092025.pptx
PPTX
A Spider Diagram, also known as a Radial Diagram or Mind Map.
PDF
Understanding the Need for Systemic Change in Open Source Through Intersectio...
PDF
Ragic Data Security Overview: Certifications, Compliance, and Network Safegua...
PPTX
ESDS_SAP Application Cloud Offerings.pptx
PDF
What Makes a Great Data Visualization Consulting Service.pdf
PDF
PDF-XChange Editor Plus 10.7.0.398.0 Crack Free Download Latest 2025
PPTX
SmartGit 25.1 Crack + (100% Working) License Key
PDF
MAGIX Sound Forge Pro CrackSerial Key Keygen
PPTX
Streamlining Project Management in the AV Industry with D-Tools for Zoho CRM ...
PPTX
Swiggy API Scraping A Comprehensive Guide on Data Sets and Applications.pptx
3.Software Design for software engineering
Crypto Loss And Recovery Guide By Expert Recovery Agency.
Cloud Native Aachen Meetup - Aug 21, 2025
Sanket Mhaiskar Resume - Senior Software Engineer (Backend, AI)
SOFTWARE ENGINEERING Software Engineering (3rd Edition) by K.K. Aggarwal & Yo...
Why 2025 Is the Best Year to Hire Software Developers in India
CapCut PRO for PC Crack New Download (Fully Activated 2025)
Bandicam Screen Recorder 8.2.1 Build 2529 Crack
Engineering Document Management System (EDMS)
HackYourBrain__UtrechtJUG__11092025.pptx
A Spider Diagram, also known as a Radial Diagram or Mind Map.
Understanding the Need for Systemic Change in Open Source Through Intersectio...
Ragic Data Security Overview: Certifications, Compliance, and Network Safegua...
ESDS_SAP Application Cloud Offerings.pptx
What Makes a Great Data Visualization Consulting Service.pdf
PDF-XChange Editor Plus 10.7.0.398.0 Crack Free Download Latest 2025
SmartGit 25.1 Crack + (100% Working) License Key
MAGIX Sound Forge Pro CrackSerial Key Keygen
Streamlining Project Management in the AV Industry with D-Tools for Zoho CRM ...
Swiggy API Scraping A Comprehensive Guide on Data Sets and Applications.pptx

Lessons learned using Firebase in Production

  • 1. 1 Lessons learned from using Firebase in Production Maik Buchmeyer @mediavrog CTO @ AIR at en-japan https://air.en-japan.io
  • 2. 2 Intro Innovation arm of en-japan since 2014 Digitalise en-japans service portfolio Innovate in HR using modern technology CTO at AIR Creator, love side projects Suica and IC Card reader
  • 3. 3 Agenda 1. What is Firebase? 2. About Video Interview 3. Service Architecture 4. Lessons learned 5. Q&A
  • 7. 7 Gets a lot of love as well as critique* and everything in between. * recently less so Firebase
  • 8. 8 Why chose Firebase? “Focus on providing value” ● Start low cost but able to scale ● Performance and Availability ● Infrastructure, Auth, API, common app features out of the box
  • 11. 11 Released Aug. 2017 > 500 company accounts ~ 100 interviews / month About Video Interview
  • 13. 13 Integration C (Optional) Hosting Integration B Service Architecture media storage transcoding pipeline iOSWebWeb Recruiter Candidate raw video HLS video Realtime Database Main app database Light file storage (profile images, logos) Main (d/s/p) “Backend” (Mails, HTTP API.) Candidate (d/s/p) Hosting CDN Dashboard Hosting CDN d/s/p: development / staging / production environments Integration A (Optional) Hosting HTTP API 3rd Parties A B C Admin (read only) Web auth Hosting CDN web socket connections via Firebase Web & iOS SDKs ... url Media upload request Media upload
  • 14. 14 Integration C (Optional) Hosting Integration B Service Architecture media storage transcoding pipeline iOSWebWeb Recruiter Candidate raw video HLS video Realtime Database Main app database Light file storage (profile images, logos) Main (d/s/p) “Backend” (Mails, HTTP API.) Candidate (d/s/p) Hosting CDN Dashboard Hosting CDN d/s/p: development / staging / production environments Integration A (Optional) Hosting HTTP API 3rd Parties A B C Admin (read only) Web auth Hosting CDN web socket connections via Firebase Web & iOS SDKs ... url Media upload request Media upload
  • 15. 15 Integration C (Optional) Hosting Integration B Service Architecture media storage transcoding pipeline iOSWebWeb Recruiter Candidate raw video HLS video Realtime Database Main app database Light file storage (profile images, logos) Main (d/s/p) “Backend” (Mails, HTTP API.) Candidate (d/s/p) Hosting CDN Dashboard Hosting CDN d/s/p: development / staging / production environments Integration A (Optional) Hosting HTTP API 3rd Parties A B C Admin (read only) Web auth Hosting CDN ... url Integration B C
  • 16. 16 Integration C (Optional) Hosting Integration B Service Architecture media storage transcoding pipeline iOSWebWeb Recruiter Candidate raw video HLS video Realtime Database Main app database Light file storage (profile images, logos) Main (d/s/p) “Backend” (Mails, HTTP API.) Candidate (d/s/p) Hosting CDN Dashboard Hosting CDN d/s/p: development / staging / production environments Integration A (Optional) Hosting HTTP API 3rd Parties A B C Admin (read only) Web auth Hosting CDN ... url Integration C (Optional) Hosting Integration B Integration A (Optional) Hosting HTTP API 3rd Parties A B C
  • 17. 17 Integration C (Optional) Hosting Integration B Service Architecture media storage transcoding pipeline iOSWebWeb Recruiter Candidate raw video HLS video Realtime Database Main app database Light file storage (profile images, logos) Main (d/s/p) “Backend” (Mails, HTTP API.) Candidate (d/s/p) Hosting CDN Dashboard Hosting CDN d/s/p: development / staging / production environments Integration A (Optional) Hosting HTTP API 3rd Parties A B C Admin (read only) Web auth Hosting CDN ... url
  • 19. 19 Event-driven database Lessons learned “Realtime” as default great design choice for UX. + Reactive, delightful UI/UX - Denormalized data in RTDB, needs to be kept in sync - “Big JSON” - No shallow queries - One region us-west-1 - 100.000 concurrent users New projects should default to Firestore! - Collections/Documents - Complex queries - Multi-region - 1.000.000 concurrent users
  • 20. 20 Security Rules Lessons learned 3,000+ mobile apps leaking data from unsecured Firebase databases + Single location for authorization close to data - huge, brittle JSON with inline Javascript. Need tooling like bolt & testing! - generic PERMISSION_DENIED if rule fails: need duplicate validation logic on clients
  • 21. 21 Reliability Lessons learned Backed by Google Cloud Platform and very reliable. SLA has 99.95% uptime, but in reality it’s better. Downtime + Google will fix it - still hurts; no control - partial downtime (e.g. functions) might lead to temporary data inconsistencies → use db triggers carefully! Strategy: Switch app to maintenance mode in sync with Firebase outages Backups - No auto-backup for auth data
  • 22. 22 Customization Lessons learned A lot you get out of the box is very basic but takes you a long way. - Emails like “Reset password” provided multi-language, but basic, no customization → Eventually replace vs
  • 23. 23 Build integrations Lessons learned Setting up support for API keys for 3rd party access fast and simple. Build an integration with greenhouse ATS in one week. - Add API key related rules - Separate Firebase project - HTTP Functions (express) Authenticate as API key user admin.initializeApp({ credential: admin.credential.cert(serviceAccount), databaseURL: "https://databaseName.firebaseio.com", databaseAuthVariableOverride: { uid: "API-KEY" } });
  • 24. 24 Access from China & some corporate networks Lessons learned - Great Firewall actively blocks requests to Google API - SDK communicates with Google APIs for Authentication and Websocket negotiation (cannot customize endpoints using SDK) - Currently, candidates from China cannot access our solution
  • 25. 25 Know your tools’ benefits & trade-offs. SimplicityControl
  • 26. 26 Works for us at our current stage! 1. Small team can deliver scalable, reliable product across multiple platforms. 2. No infrastructure headaches 3. Cheap *Less than 100円/mo
  • 27. 27 Closing thought “Empowerment of creators” ML & Blockchain & X will eventually see similar tools. Web2.0 / Wordpress Bloggers Youtube / Vimeo VJays AWS / Azure / Google Cloud Accessible Infrastructure Firebase / AWS Amplify Accessible development
  • 29. 29

Editor's Notes

  • #15: JavaScript for both Frontend (React) & Backend (Node)