Hello. In the upcoming Django 3.1, an asynchronous request stack will be introduced in Django. For a project I have in mind, the large majority of my code will be synchronous. There will only be tiny bits of async code here and there for things like API calls.
I understand that you should deploy using an ASGI server when using asynchronous code in Django, to gain the performance that the async code brings. However if the large majority of my code will be synchronous, should I still deploy with ASGI, or with WSGI instead.
Which will perform better for code that is mostly synchronous, however has tiny bits of async code here and there?
If I deploy using ASGI, and the majority of my code is synchronous, will I still get the same performance than using a WSGI server for this synchronous code? Or is one faster than the other? Thanks.