Maybe seperate DB data? #1

Closed
opened 2026-04-03 14:10:44 +00:00 by flufi · 3 comments
Owner

so i might be wrong but i was looking at this and i think the db would be better (aspecially for long term) if it was like

db (folder)
|- users (folder)
|  |- flufi.json
|  |- huopa.json
|  |- andrew.json
|  |- ...
|- usernames.json (or could just list users folder)
|- ...

might help with reading and writing and shit cause it doesnt have to read the whole db to get db/users/flufi for example

so i might be wrong but i was looking at [this](https://git.flufi.uk/Rotur2/Server-Go/src/branch/main/defaultdb.json) and i think the db would be better (aspecially for long term) if it was like ``` db (folder) |- users (folder) | |- flufi.json | |- huopa.json | |- andrew.json | |- ... |- usernames.json (or could just list users folder) |- ... ``` might help with reading and writing and shit cause it doesnt have to read the whole db to get db/users/flufi for example
Owner

mmm yea good point

mmm yea good point
Owner

ima do that

ima do that
Author
Owner

👍 lmao

👍 lmao
flufi closed this issue 2026-04-04 18:09:26 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Fluoride/Server-Go#1
No description provided.