I have some problem :(
I need to make grid for buildings.
Buildings will have different size, for example (1 x 1), (2 x 2), (3 x 2), (4 x 5), etc.
I do not know how much traffic I can use on GameSparks.
It my first online game, and I can not be sure about my backend optimization.
If i will write grid in mongoDB it cost ~ 30 KB per Player.
This is normal?
Or I can write buildingId and coordinates, but I will need check free space before I place building.
Or use .bin?
How to do it in another way?
Sorry for my English
Thanks in advance :)
I'm worried about the API Requests: 5,000 per MAU.
LogEvent is that Api Request?
I was thinking about asking for information about a particular building, moving it if necessary, etc.
I wanted to realize this so the player clicks on the building and the game sends a request to the server, the server checks the information about the building's production and the end time, etc. , and then returns this information.
I think the requests and responses will not be too big, but there will be a lot of them.
Also when players will trade resources among themselves.
Have to constantly update The information of the slot if it is sold.
So there are a lot of queries.
What about It?
And last (very stupid question). :)
In NoSQL when I request collection stats, size is it bytes or bits?
Well, I can optimize the production of resources in the building.
Just wait production end in game, and send request when production complete.
But how I can optimization Players Market, I do not know when a player decides to sell or buy something from another player. I must check this many times.
How best to implement this?
Maybe it will work :)
Can GameSparks provide more than 5,000 api requests?
If yes, how much?
How will the price change?
This would be possible, however this would be determined on a case by
case basis. If you'd like I can put you in contact with a member of our
Sales department, from their we can work out SLA that would hopefully
suit your needs.
I hope this helps, kind regards,