Makes the hard parts of app dev easy
Jenny Tong
Google Cloud Platform
Developer Advocate
@MimmingCodes
Goodies to make the hard parts easy
Realtime Data
Authentication
Hosting
Firebase Realtime Database
Agenda
- What realtime is
- Why it's hard
- How Firebase makes it easy
- Live coding
- Real world examples
- Q&A
Realtime is
Data best served fresh
Realtime is hard
So many servers :(
Realtime is hard
Complex transport
Unreliable networks
Multi-platform
Some JavaScript code
Write Data
var ref = new Firebase("https://hai.firebaseio-demo.com/");
ref.set("Hello, Developers!");
Read Data
ref.on("value", function (snapshot) {
var data = snapshot.val();
console.log(data);
});
Some facts about Firebase
- Founded in 2011
- Acquired by Google in October 2014
-
160,000 developers
- Over 1,000,000 concurrent connections
It works for big projects too!
Citrix - GoToMeeting
Uses Firebase's realtime signaling, presence, and security rules
Citrix - Talkboard
Realtime, collaborative whiteboarding for teams
CBS
- Built a realtime chat platform for reality TV series Big Brother
- 50k concurrents at peak times, with over 27m chat message posted
More Case Studies
Chat and stream notifications
We talked about this stuff
- What realtime is
- Why it's hard
- How Firebase makes it easy
- Live coding
- Real world examples