Re: Performance profiling Django Channels async consumers

2023-11-28 Thread Shaheed Haque
On Tue, 28 Nov 2023, 15:26 Filbert,  wrote:

> crickets...sigh...
>

Is your question is more about profiling Python (async) code than anything
specifically to do with Django?

If so, then obviously Google is likely a good place to start.

If not, and your issue is more about support for async from tools like the
Django Debug Toolbar, it might be worth being explicit about that.

(FWIW, we faced a similar issue with trying to analyse db usage from
Celery, and ended up brewing some custom tooling loosely based on the
Django Debug Toolbar output).




On Monday, November 27, 2023 at 11:29:37 AM UTC-5 Filbert wrote:
>
>> We are heavily using Django Channels async consumers and haven't found a
>> way instrument for performance profiling.
>>
>> We've tried NewRelic, but per their developers say they don't have
>> support for Django Channels.
>>
>> We run certain websocket connections through Gunicorn, Uvicorn,
>> Channels-Async and are looking for anyway to instrument the code to get a
>> better analysis of what code is hogging the event loop.
>>
>> Advice appreciated.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9e05ae10-ca38-4853-b875-d4594bda394en%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHAc2jdNB8xh7Rk8q0uLq%3DfEuoyvA38ZgutMhAdEn6KBrdez%3DA%40mail.gmail.com.


Re: Performance profiling Django Channels async consumers

2023-11-28 Thread Filbert
crickets...sigh...

On Monday, November 27, 2023 at 11:29:37 AM UTC-5 Filbert wrote:

> We are heavily using Django Channels async consumers and haven't found a 
> way instrument for performance profiling.
>
> We've tried NewRelic, but per their developers say they don't have support 
> for Django Channels.
>
> We run certain websocket connections through Gunicorn, Uvicorn, 
> Channels-Async and are looking for anyway to instrument the code to get a 
> better analysis of what code is hogging the event loop.
>
> Advice appreciated.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9e05ae10-ca38-4853-b875-d4594bda394en%40googlegroups.com.


Performance profiling Django Channels async consumers

2023-11-27 Thread Filbert
We are heavily using Django Channels async consumers and haven't found a 
way instrument for performance profiling.

We've tried NewRelic, but per their developers say they don't have support 
for Django Channels.

We run certain websocket connections through Gunicorn, Uvicorn, 
Channels-Async and are looking for anyway to instrument the code to get a 
better analysis of what code is hogging the event loop.

Advice appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8769b0fc-f23c-44ac-8217-7c3a1da4d379n%40googlegroups.com.