Ronny Badilla
Ronny Badilla
Hi @sarayourfriend @krysal ! Initially, the branch was created with the purpose of replacing the `init.tpl` file, which is a file that is executed when the instance is created, which...
I had several theories that I have been discarding little by little. I'm going to write each of them down to serve as a reference for troubleshooting future issues. ##...
> unless like your research suggests we've badly misconfigured something. no please :D let's continue looking for solutions, at the infrastructure and code level, just created an issue in the...
@sarayourfriend by now the best approach to take is to share a connection, we can look for ways via Python/Django, or by using a feature that RDS is offering called...
As @AetherUnbound [mentioned above](https://github.com/WordPress/openverse-api/issues/522#issuecomment-1044996780) `CONN_MAX_AGE` would give you false-positives, gunicorn's eventlet persists its connection as [per this investigation](https://serverfault.com/questions/635100/django-conn-max-age-persists-connections-but-doesnt-reuse-them-with-postgresq). Does pooling the database with PGBouncer sounds a good idea to you?
In my opinion, this solution should have a monitoring plan defined before its deployment for two reasons: 1. This needs to be deployed to production directly 2. We need to...