Go to file
2024-06-10 03:40:52 +02:00
.github/workflows Introduce docker build 2023-11-17 05:39:45 +01:00
Dockerfile Introduce docker build 2023-11-17 05:39:45 +01:00
go.mod Add Sentry 2024-06-09 03:24:15 +02:00
go.sum Add Sentry 2024-06-09 03:24:15 +02:00
LICENSE Init 2023-11-17 04:53:57 +01:00
main.go Improve panic messages and remove Modules integration for Sentry 2024-06-10 03:40:52 +02:00
README.md Init 2023-11-17 04:53:57 +01:00

Profile endpoint for Account Ely.by

This is a "microservice" which solves PHP's inability to handle large numbers of small requests.

We faced the problem that the endpoint for accessing player's profile by uuid become receiving a huge number of requests. For PHP, initialization of the framework, database connections and so on is more expensive than the query processing itself. So I wrote this endpoint in Go to take the load off PHP.

This project is not an example of a perfect architecture or anything else. It just does its job by being written very quickly. If I have the mood and, more importantly, the time, I will tidy up this code. But here and now it does its job and that is the most important thing.