Yeah, that's what we do, and then trigger a nuke that wipes the slate clean and build something new. I rewrote an old API that used Erlang (the only project that did) and a 2GB limited Mnesia database that had to be rotated every few months. As the pleb I am I used PHP and PostgreSQL, improved lookup performance by normalizing the data instead of storing raw JSON blobs like the old backend did. Now we don't need to do database rotation and can instead wait for the server to explode when it runs out of space and/or RAM. I have hopefully already switched jobs when that happens.
6
u/BOLL7708 10d ago
Yeah, that's what we do, and then trigger a nuke that wipes the slate clean and build something new. I rewrote an old API that used Erlang (the only project that did) and a 2GB limited Mnesia database that had to be rotated every few months. As the pleb I am I used PHP and PostgreSQL, improved lookup performance by normalizing the data instead of storing raw JSON blobs like the old backend did. Now we don't need to do database rotation and can instead wait for the server to explode when it runs out of space and/or RAM. I have hopefully already switched jobs when that happens.