Legendsverse infra improvement
Hello there Legendsverse fam,
These past days Legendsverse was way slower than usual so I made a few improvements to the infra that will make the app run blazing fast:
-
Moved the images from Legendsverse server to a static files disk. Images are also served from a CDN. Basically it's a network of servers, and the images will be send to you from the closest server to you. This speeds up the loading time a lot.
-
Doubled the size of the server
-
Moved the global search to a different server. The Global search is basically a different database built for searching. As you can see it can search for names of figures with typos, incomplete names, and other variations. This was moved to a different server to not eat the CPU of Legendsverse.
-
Moved the background processes from the regular database to a RAM database, and moved it to a different server. This will also make the app load faster because the DB is not being used all the time. The database is often the first thing to slow a website. This also frees a lot of RAM for Legendsverse, since I was using a similar DB inside the Legendsverse server
Looks like with these improvements the app is running smoothly. but if necessary I'm considering moving the background processes to a different server. Will keep an eye open and will keep you posted