Questions tagged [firebase-queue]

The Firebase Queue is a fault-tolerant, multi-worker, multi-stage job pipeline built on the Firebase realtime database.

Queues can be used in your Firebase app to organize workers or perform background work like generating thumbnails of images, filtering message contents and censoring data, or fanning data out to multiple locations in your Firebase database.

Resources

Related tags

51 questions
0
votes
1 answer

Firebase queue. Custom finished state

I'm needing launch different specs depending on the data received and don't know how to do this correctly. I'm trying to declare multiple "finished states" in my spec but it is not working. Is there another way to declare multiple "finished states"…
rihhot
  • 121
  • 6
0
votes
1 answer

How do I view number of tasks remaining in a Firebase Queue?

I have a Firebase Queue with ~300k tasks in it. I construct it like so: const db = getDatabase() const scrapeQueueRef = db.ref('/queue/taskQueue') const queue = new Queue(scrapeQueueRef, (data, progress, resolve, reject) => { // do things …
Brandon
  • 7,736
  • 9
  • 47
  • 72
0
votes
1 answer

How to safely allow user to delete responses from Firebase-queue?

I'm using Firebase with Angular2 and Firebase-queue as a batch server. Clients send tasks to the server and sometime they are waiting for a response. Client can read the response using the request id. But then, what happens to the response ? I guess…
0
votes
1 answer

firebase-queue - worker not lauching when defining specs

I m using firebase-queue and I want to use the specs functionnality. I did the following : -server side : var queueRef = firebase.database().ref('queue'); queueRef.child('specs').set({ register: { start_state : 'register_user', …
0
votes
1 answer

firebase-queue initialization failing

My Firebase Queue initialization is failing with the error below. I am using Firebase 3. Task was malformed Stack trace "Error: Task was malformed\n at…
Kanishka
  • 1,097
  • 5
  • 20
  • 37
0
votes
0 answers

Correct way to fan out data in Firebase Queue

I want to fan out data to 4 different nodes. Since firebase transaction process can be failed, what is the right approach to ensure that all 4 data will be saved? Suppose that I have 4 functions for saving data, each will call a…
Edward Anthony
  • 3,354
  • 3
  • 25
  • 40
1 2 3
4