Ask coding questions

← Back to all posts
Optimizing for reads
h
Coder100 (17011)

CYCLE BOT GAME POG POG POG

How would I align my database so it optimizes for writes? Most of the users are probably going to be playing the bot more instead of just viewing the leaderboard. So, how would I optimize accordingly?

Comments
hotnewtop
Dart (1186)

for what format? if you do json or something like that i usually just do something like

{
"user": userinfo,
"user2": userinfo
}
which is indent 4 im pretty sure