Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Django DRF vs Django Ninja vs Django with celery #290

Open
zakimimit opened this issue Sep 25, 2024 · 6 comments
Open

Request: Django DRF vs Django Ninja vs Django with celery #290

zakimimit opened this issue Sep 25, 2024 · 6 comments
Labels

Comments

@zakimimit
Copy link

Hello,
I Hope we can see :

-Django DRF vs Django Ninja
-Django with celery vs Nodjs or Go

And you can chose the best combination of Django Ninja with celery vs Nodjs or Go.

This will be fair comparison

Thank you for the valuable content

@antonputra
Copy link
Owner

I'll be using a new, improved Ruby on Rails application to test with Django. If you have experience, would you @zakimimit mind looking into how Django can be improved?
For example, unused middleware can be removed from Django.

PR with improved Ruby on Rails - #335
Original Django app - https://github.com/antonputra/tutorials/tree/main/lessons/209/mydjango

@zakimimit
Copy link
Author

First of all, thank you for accepting my suggestion.

1 - Use Django Ninja to make API calls asynchronous.
2 - You can use task queues like Celery.
3 - Then combine them and check the result.
4 - Compare the results of 1-2-3 with Ruby on Rails and also if you can with Nodjs.

Otherwise, I am not an expert in test configuration

@antonputra
Copy link
Owner

antonputra commented Nov 4, 2024

Okay, thanks. I was wondering about async Django in the past as well, but it looks like it's not officially supported, only available through third-party packages.

@zakimimit
Copy link
Author

Django >5.1 now supports asynchronous.
(https://docs.djangoproject.com/en/5.1/topics/async/#asynchronous-support)
But it is poorly designed, according to several reviews.

This is why I told you to use Django Ninja.
(https://django-ninja.dev/)
You can check out some use cases and benefits of using Django Ninja.

@antonputra
Copy link
Owner

@zakimimit got it

@zakimimit
Copy link
Author

Hello @antonputra ,

I found an article that might be it will be so helpful

https://jonathanadly.com/is-async-django-ready-for-prime-time

I hope you make the comparison between Django vs Nodjs then Django vs ruby or Nexjs

My best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants