Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Spark
  3. Question
Spark

Implementing a SOA in Django using celery

Asked by Cameron Oliver Jun 9, 2021 1.6K views 2 answers
Share

About this question

Don’t know how to implement a web app with a SOA django design. I am thinking of using celery in conjunction with Django to do this. But I have some questions:

1. Is this the correct way to go in order to implement a SOA design for Django

2. Assuming that this is the way to go, how would I accomplish authentication within the Django framework. Specifically, I would like authentication to be decoupled with a producer and consumer pattern. That way, a REST api (or anything for that matter) can be used to produce the authentication credentials, and a consumer (within the Django framework) can be used to read and act upon the credentials.

Again, should I do the above with Celery in Django?

Your answer

2 Answers

Sadev Latest answer

Answered on Feb 10, 2026

Hi, Don't use Celery for this. Using Celery for authentication is like trying to send a "Yes/No" confirmation via the postal service while the user is waiting at the door. It’s too slow and built for the wrong job. One Django app issues a signed token. Your other Django apps check the signature to verify the user. non-prime consumer financing

Was this helpful?

More Spark discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Spark Blogs

Guides, tips and career advice on Spark from JanBask experts.