Open zakimimit opened 1 month ago
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 - https://github.com/antonputra/tutorials/pull/335 Original Django app - https://github.com/antonputra/tutorials/tree/main/lessons/209/mydjango
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
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.
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.
@zakimimit got it
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
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