Support binary data in DataStore
When data gets big, JSON is kinda bloaty.
5 comments
-
AdminBenson Wong
(Admin, dimeRocker) commented
I would keep all requests < 32K for performance reasons. Especially if you are sending / receiving a lot.
-
pebelloncik
commented
What is the maximum amount of data that can be stored using JSON on dR in one user account ?
-
AdminBenson Wong
(Admin, dimeRocker) commented
We are planning on releasing a datastore 2.0 which will allow more options on how data is stored. It'd still be JSON but will allow changing specific attributes rather than the whole document.
Using a text format (JSON, XML, etc) is best practice when deploying a web based game.
-
pebelloncik
commented
Thanks for the answer. Sorry for being late.
Basically game data generated by the user, which I already have in binary format and need to store somewhere. This game data is used by (the 2) friends sharing the same game. It rests in one user account and is used by each friend, turn-based style. This is really the last stumbling block I have on the dR side before starting my public alpha. -
AdminBenson Wong
(Admin, dimeRocker) commented
A good idea but there is no good way to send binary data over HTTP without base64 encoding it first... what kind of binary data would you store?