What’s the difference between a Web Worker and a Service Worker?

Поділитися
Вставка
  • Опубліковано 23 сер 2024
  • We are back with another episode of #AskFirebase! Today, we have our amazing host Jen Person, teaming up with Developer Programs Engineer Abe Haskins to answer all your burning Firebase questions! Find out whether you can run Firebase processes in web workers, how to properly distinguish between using web workers and service workers, and we’ll also discuss a specific error encountered by a user who tried testing functions locally, while attempting to serve the webpage at the same time. Please subscribe to our channel :) and remember to use #AskFirebase to get your question answered!
    0:56 “#AskFirebase do firebase processes run in web workers?“
    2:03 “What’s the difference between a web worker and a service worker?”
    3:27 “#AskFirebase Is there any way to test functions locally AND serve the webpage at the same time? When I attempt this, I get this: n/a”
    Watch more #AskFirebase → bit.ly/AskFirebase
    Subscribe to the Firebase Channel! → bit.ly/firebase2

КОМЕНТАРІ • 10

  • @Firebase
    @Firebase  5 років тому +9

    0:56 “#AskFirebase do firebase processes run in web workers?“
    2:03 “What’s the difference between a web worker and a service worker?”
    3:27 “#AskFirebase Is there any way to test functions locally AND serve the webpage at the same time? When I attempt this, I get this: t.co/D0zcwSnfnA”

  • @Capatron1
    @Capatron1 5 років тому +2

    Great explanation of service workers!

  • @nvictorme
    @nvictorme 5 років тому +1

    Really good to know
    Thanks!

  • @hobbyturystaSEO
    @hobbyturystaSEO 3 роки тому +1

    can You update video for 2021 ?

  • @patrickmullot73
    @patrickmullot73 5 років тому

    #AskFirebase
    Congrats for the videos, they help a lot!!
    Is there a way to temporarily disable a cloud function at runtime (programmatically)?
    For example, if I have a function triggered by a write event in a collection that I don't want to run while I'm doing a massive update through a transaction.

  • @MrOnizukakira
    @MrOnizukakira 5 років тому

    Great show !!

  • @johnaran
    @johnaran 5 років тому +1

    Why do you use a Nodejs instead of a Golang?

  • @jnorris32
    @jnorris32 Рік тому

    A web worker wasn’t defined. But nice quality video.

  • @MrKeyyuki
    @MrKeyyuki 5 років тому

    #AskFirebase
    I have a question about Firebase cloud messaging:
    "How can I send a notification to a topic except someone"
    I build a chat app. It have many chat room, each chat room have unlimited member. I want whenever someone write something in chat room, other one will recive a notification.
    I think it should be topic notification because each chat room maybe have many people. But when sent to topic, It will sent to all, include someone who create this message.
    If use individual message, I can choose to send every one in chat room except message creator. But it will broke when chat room have a lot of member, and very slow.
    So I want a solution for this. Can anybody have an idea.