Suppose I wanted to use PlayFab for a game like Pokemon Go. Every X seconds the server will be updated with the player's location--but writing this location to a database every time would be neither performant nor frugal. It's the same situation for picking up items--if a character in an RPG picks up a dozen pieces of loot in a minute, we don't want to do a DB write every time.
This is typically solved by writing the data to memory, marking the state "dirty" so we know there's data that needs to be written, and periodically flushing this to the database (at regular intervals and when a signficant action is performed, such as selling an item or attempting to log out).
Is something like this possible with PlayFab? What are the recommended practices for the scenarios described above?