I am making a recreation of minecraft where players can create their own world and other players can join that world too. I am currently making the world generation part of it. I have resized my baseplate to be 700x700 and each block is 4x4x4. Meaning I will generate 30,625 blocks per y axis. I am planning for the world to be generated 10 blocks high, meaning the total blocks would be 306,250. This is an example of a block's data:
"XXXX.YYY.ZZZZ" = "NNN"
XXXX.YYY.ZZZZ represents the block's coordinates in the world and also its id in the database
NNN represents the block id, such as if it is a dirt, stone, etc
which would be 21 bytes. Since each data store key value has a limit of 4.1mb, im planning on setting each chunk to be 38x38x120 blocks, totaling 3.8mb for each chunk if the chunk was filled up
now, the amount of chunks generated will be 25. BUT:
-
there is a limit on reading and writing to data store: 25mb/minute and 4mb/minute
-
to solve this issue, i have decided to store loaded worlds into memory store so that it can be quickly accessed if the world is popular and many people want to join it, but memory stores has a limit of [64KB + 1.2KB * number of players] for the whole experience which is not even enough for 1 chunk to be saved
so now im at a wall. i dont see any solution to get over this storage issue. i could shrink my world further down, but at that point its not even fun to play anymore. imagine playing minecraft but the max building limit is 10x10x20 blocks



** You are now Level 5! **