|
|
|
|
|
by firefoxd
938 days ago
|
|
The db connections were poorly managed. Each query started by starting a new connection. It then checked if it failed, slept, retried, then ran. There were several queries called in loops, so the connection pool was always dry. The code spent most of it's time sleeping. Then the queries themselves were highly inefficient, bad joins, no indexes, etc. It was satisfying to fix the mess. |
|
At this point I'm pretty sure anything IT relate became a bullshit job.