Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

87
Views
Run long request to thirds parry on firebase cloud functions / cloud run and immediate response without waiting

I have a simple function

   const y = await goToFirestore;
    const x =await axios.post('third-party',{}). // this could take 10-20 seconds
    const v =  const x =await axios.post('third-party/another',{}).  // this could take another 10-20 seconds. but this has to wait to the previous one

    return x;

my question is . in this situation i have only 5 instance up and running (max)

means i can handle only 5 multiple requests what will happen if i will have 20 multiple requests . this means they will wait ??

firebase run instance per request ? there is no support of multiple request?

how can I change the logic

is it possible to return immidiate res.end() to the client (another http app) and give the code run in the background with pub/sub or smth ?

how it will affect in case of lot of requests ? the pub-sub will wait ?

is that means that firebase cloud functions does not fit my needed ?

is cqrs could be a good option for this ?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!