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

198
Views
Signals VS Celery task

So i have this scenario and quite not sure whether celery is the right tool for the job. I have to track the fifth order placed by a user to give them a coupon. Currently i have implemented a signal on the

@receiver(pre_save, sender=Order)
def pre_save_stuff():
     #this has overhead on db since am excluding customers not in 
     #loyalty progamme.They are many
     do_coupon_stuff()

method. However i have now to exclude a particular group of customers with a query that has overhead slowing the request cycle for this order. Does it make sense to user celery in this scenario?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

If you want to give coupon in the response itself. You have to do this. Otherwise just give the task to background (celery is an option)

over 4 years ago · Santiago Trujillo Report
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!