Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Real-Time Performed at Scale
With Firebase + OutSystems
Review this (and all attended sessions)
Each review enters
you for a chance to
win a Mavic 2
Drone!
Real-Time Performed at Scale
With Firebase + OutSystems
| Real-Time Performed at Scale With Firebase + OutSystems
@ insofia.pinho@outsystems.com /sofiapinho
Sofia Pinho
Demo Engi...
| Real-Time Performed at Scale With Firebase + OutSystems
Why?
| Real-Time Performed at Scale With Firebase + OutSystems
Need to keep everything / everyone
in synch within milliseconds?
| Real-Time Performed at Scale With Firebase + OutSystems
Need to keep everything / everyone
in synch within milliseconds?...
| Real-Time Performed at Scale With Firebase + OutSystems
Scenarios for Realtime
| Real-Time Performed at Scale With Firebase + OutSystems
Messaging apps
or in-app chats
Build the next Skype,
Whatsapp, W...
| Real-Time Performed at Scale With Firebase + OutSystems
Games or
Gamified Apps
Create the next competitive
real-time mul...
| Real-Time Performed at Scale With Firebase + OutSystems
Real time data
displays
Keep dashboards and data
everupdated for...
| Real-Time Performed at Scale With Firebase + OutSystems
Firebase Firestore
| Real-Time Performed at Scale With Firebase + OutSystems
Architecture
How it works?
Firebase Firestore is a hierarchical
...
| Real-Time Performed at Scale With Firebase + OutSystems
How is data
structured?
● Collections are top level
aggregator
●...
| Real-Time Performed at Scale With Firebase + OutSystems
Should I use Firebase RealTime
Database or Firestore?
| Real-Time Performed at Scale With Firebase + OutSystems
Firestore
● “New” recommended product
● Data broken down into
co...
| Real-Time Performed at Scale With Firebase + OutSystems
Should I use Firebase RealTime
Database or Firestore?
| Real-Time Performed at Scale With Firebase + OutSystems
Exercise Overview
| Real-Time Performed at Scale With Firebase + OutSystems
Let’s do it!
bit.ly/2qddak5
| Real-Time Performed at Scale With Firebase + OutSystems
let’s play a game
bit.ly/2JdDukG
Thank You!
@ inpedro.oliveira@outsystems.co
m
/pedrovcmoliveira
@ insofia.pinho@outsystems.com /sofiapinho
Real-Time Performed at Scale with Firebase + OutSystems
Real-Time Performed at Scale with Firebase + OutSystems
Real-Time Performed at Scale with Firebase + OutSystems
Real-Time Performed at Scale with Firebase + OutSystems
Real-Time Performed at Scale with Firebase + OutSystems
Real-Time Performed at Scale with Firebase + OutSystems
Real-Time Performed at Scale with Firebase + OutSystems
Real-Time Performed at Scale with Firebase + OutSystems
Upcoming SlideShare
Loading in …5
×

of

Real-Time Performed at Scale with Firebase + OutSystems Slide 1 Real-Time Performed at Scale with Firebase + OutSystems Slide 2 Real-Time Performed at Scale with Firebase + OutSystems Slide 3 Real-Time Performed at Scale with Firebase + OutSystems Slide 4 Real-Time Performed at Scale with Firebase + OutSystems Slide 5 Real-Time Performed at Scale with Firebase + OutSystems Slide 6 Real-Time Performed at Scale with Firebase + OutSystems Slide 7 Real-Time Performed at Scale with Firebase + OutSystems Slide 8 Real-Time Performed at Scale with Firebase + OutSystems Slide 9 Real-Time Performed at Scale with Firebase + OutSystems Slide 10 Real-Time Performed at Scale with Firebase + OutSystems Slide 11 Real-Time Performed at Scale with Firebase + OutSystems Slide 12 Real-Time Performed at Scale with Firebase + OutSystems Slide 13 Real-Time Performed at Scale with Firebase + OutSystems Slide 14 Real-Time Performed at Scale with Firebase + OutSystems Slide 15 Real-Time Performed at Scale with Firebase + OutSystems Slide 16 Real-Time Performed at Scale with Firebase + OutSystems Slide 17 Real-Time Performed at Scale with Firebase + OutSystems Slide 18 Real-Time Performed at Scale with Firebase + OutSystems Slide 19 Real-Time Performed at Scale with Firebase + OutSystems Slide 20 Real-Time Performed at Scale with Firebase + OutSystems Slide 21 Real-Time Performed at Scale with Firebase + OutSystems Slide 22 Real-Time Performed at Scale with Firebase + OutSystems Slide 23 Real-Time Performed at Scale with Firebase + OutSystems Slide 24 Real-Time Performed at Scale with Firebase + OutSystems Slide 25 Real-Time Performed at Scale with Firebase + OutSystems Slide 26 Real-Time Performed at Scale with Firebase + OutSystems Slide 27 Real-Time Performed at Scale with Firebase + OutSystems Slide 28 Real-Time Performed at Scale with Firebase + OutSystems Slide 29
Upcoming SlideShare
What to Upload to SlideShare
Next
Download to read offline and view in fullscreen.

1 Like

Share

Download to read offline

Real-Time Performed at Scale with Firebase + OutSystems

Download to read offline

How can you create an engaging real-time experience where you get hundreds, thousands, even millions of people to interact in a synchronized way? Well, obviously, with OutSystems mobile apps (and a little help from a Firebase realtime database)! In this session, we will talk about some of the best practices for building this type of experience and build a new experience live for everyone in the audience to play with.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Real-Time Performed at Scale with Firebase + OutSystems

  1. 1. Real-Time Performed at Scale With Firebase + OutSystems
  2. 2. Review this (and all attended sessions) Each review enters you for a chance to win a Mavic 2 Drone!
  3. 3. Real-Time Performed at Scale With Firebase + OutSystems
  4. 4. | Real-Time Performed at Scale With Firebase + OutSystems @ insofia.pinho@outsystems.com /sofiapinho Sofia Pinho Demo Engineering | OutSystems @ inpedro.oliveira@outsystems.co m /pedrovcmoliveira Pedro Oliveira Tech Demo & Enablement | OutSystems
  5. 5. | Real-Time Performed at Scale With Firebase + OutSystems Why?
  6. 6. | Real-Time Performed at Scale With Firebase + OutSystems Need to keep everything / everyone in synch within milliseconds?
  7. 7. | Real-Time Performed at Scale With Firebase + OutSystems Need to keep everything / everyone in synch within milliseconds? ● “Old school” approach of keeping everything in synch would be pooling the server for updates every few seconds ● Better approach is to use a Firebase Realtime DB or MQTT to be notified of updates but...still fetch data explicitly using synchronous logic ● Any of these still has a fair amount of latency and requires round trips between client and server
  8. 8. | Real-Time Performed at Scale With Firebase + OutSystems Scenarios for Realtime
  9. 9. | Real-Time Performed at Scale With Firebase + OutSystems Messaging apps or in-app chats Build the next Skype, Whatsapp, WeChat, Facebook Messenger, Slack or simply, add some cool real time collaboration to your app
  10. 10. | Real-Time Performed at Scale With Firebase + OutSystems Games or Gamified Apps Create the next competitive real-time multiplayer game or add some fun to your app with embedded games and real- time leaderboards
  11. 11. | Real-Time Performed at Scale With Firebase + OutSystems Real time data displays Keep dashboards and data everupdated for time critical scenarios like stock trading, energy grid measurements or IoT data flows
  12. 12. | Real-Time Performed at Scale With Firebase + OutSystems Firebase Firestore
  13. 13. | Real-Time Performed at Scale With Firebase + OutSystems Architecture How it works? Firebase Firestore is a hierarchical NoSQL database Clients of a Firestore DB can ● write changes ● listen to real-time updates ● keep an offline cache Communication / synchronization is async behind the scenes using websockets with gRPC protocol
  14. 14. | Real-Time Performed at Scale With Firebase + OutSystems How is data structured? ● Collections are top level aggregator ● Data stored in JSON Documents that belong to a Collection ● Documents can have nested data structures and support most common data types ● Data can be queried with filtering and sorting
  15. 15. | Real-Time Performed at Scale With Firebase + OutSystems Should I use Firebase RealTime Database or Firestore?
  16. 16. | Real-Time Performed at Scale With Firebase + OutSystems Firestore ● “New” recommended product ● Data broken down into collections and JSON documents ● Offline for Android, iOS and Web ● Indexed by default, decreasing impact of size in query execution Real Time DB ● The “original” real time DB ● All data stored as a single, large JSON tree ● Offline for Android and iOS ● No indexes, degrading performance as data set grows ● Up to 200k connections
  17. 17. | Real-Time Performed at Scale With Firebase + OutSystems Should I use Firebase RealTime Database or Firestore?
  18. 18. | Real-Time Performed at Scale With Firebase + OutSystems Exercise Overview
  19. 19. | Real-Time Performed at Scale With Firebase + OutSystems Let’s do it! bit.ly/2qddak5
  20. 20. | Real-Time Performed at Scale With Firebase + OutSystems let’s play a game bit.ly/2JdDukG
  21. 21. Thank You! @ inpedro.oliveira@outsystems.co m /pedrovcmoliveira @ insofia.pinho@outsystems.com /sofiapinho
  • TiagoBernardo13

    Mar. 10, 2021

How can you create an engaging real-time experience where you get hundreds, thousands, even millions of people to interact in a synchronized way? Well, obviously, with OutSystems mobile apps (and a little help from a Firebase realtime database)! In this session, we will talk about some of the best practices for building this type of experience and build a new experience live for everyone in the audience to play with.

Views

Total views

372

On Slideshare

0

From embeds

0

Number of embeds

0

Actions

Downloads

13

Shares

0

Comments

0

Likes

1

×