Re: DB persistent connection

2020-10-26 Thread Florian Apolloner
Hi,

I am not sure what you are trying to tell us?! Opening a connection to 
Postgresql is somewhat time-consuming and 10ms in a cloud env does not seem 
to be surprising at all.

Cheers,
Florian

On Monday, October 26, 2020 at 2:28:28 PM UTC+1 pra...@fampay.in wrote:

> https://groups.google.com/g/django-developers/c/rH0QQP7tI6w/m/yBusiFTNBR4J
>
> We are running django with gunicorn + gevent. We have set Max con age to 
> 10 min. We use newrelic for monitoring. 
>
> Even though we have set it to use persistent connection it;s showing in 
> new relic that
> On average it takes 10ms for db connection
> [image: Screenshot 2020-10-26 at 3.54.08 PM.png]
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/5130fcd5-5f2e-485e-b784-c8c6c9ef05b6n%40googlegroups.com.


DB persistent connection

2020-10-26 Thread 'Pratik Gajjar' via Django developers (Contributions to Django itself)
https://groups.google.com/g/django-developers/c/rH0QQP7tI6w/m/yBusiFTNBR4J

We are running django with gunicorn + gevent. We have set Max con age to 10 
min. We use newrelic for monitoring. 

Even though we have set it to use persistent connection it;s showing in new 
relic that
On average it takes 10ms for db connection
[image: Screenshot 2020-10-26 at 3.54.08 PM.png]

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/8a382a84-4b5b-4a6c-9e87-1df3e1ba586cn%40googlegroups.com.