Create a rest server instead of creating multiple database connections in our plugins #1
Labels
✨ feature request
New feature or request
🤷 good first issue
Good for newcomers
🏷️ in progress
Issue or pull request that is already being worked on
❗ priority: high
Short description
A common issue between Minecraft developers on large scale projects, is that most of them create multiple database connections instead of reutilizing existing ones through a rest server or something similar. This may affect the overall performance and increase resources usage/demand unnecessarily.
The proposed solution
Create a rest server using the following technologies:
The problems in this solution and how to solve them
If the Rest API address and its endpoints were discovered (which wouldn't be too difficult since the project itself is open-source), someone can API abuse to overload the network and affect user data. The proposed solution for this problem is automatically generate a JWT key required for all requests, and regenerate it every 15 minutes to avoid leakage.
The text was updated successfully, but these errors were encountered: