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

sync vs async example v1 #229

Closed
wants to merge 35 commits into from
Closed

Conversation

Pierox57
Copy link

No description provided.

@AMontagu
Copy link
Collaborator

Thank you for the work.

It will need informations about the fact that we plan to remove Sync support in V1.0.0 and explation about the risk of using stream in sync mode as it block the all thread while not finished.

It would be great to also document all the method that are async ready by DSG (ais_valid, amessage, aget_serializer, ...)

I am available if you need more informations from me to do that

@legau
Copy link
Contributor

legau commented Nov 28, 2023

You're using the old doc, you have to merge from the rtd branch.

@Pierox57 Pierox57 changed the base branch from master to rtd December 1, 2023 16:22
-------------------

Since Django 4.1, Django can run ORM queries asynchronously.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ORM is stil synchrone. It's the view that can bu run asynchronously

------------

If you want to use the sync mode, you should know that we will no longer support this mode from version 1.0.0 of Django Socio gRPC.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you want to use the sync mode, you should know that we will no longer support this mode from version 1.0.0 of Django Socio gRPC.
If you want to use the sync mode, you should know that we are thinking about droping sync support from version 1.0.0 of Django Socio gRPC.

@AMontagu AMontagu closed this Dec 1, 2023
@AMontagu AMontagu deleted the feat/sync-vs-async-documentation branch December 1, 2023 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants