Best Practice on State Size?

Is there a best practice regarding how large the size of state should be in an app or driver? How large is too large for any single app or driver? Or does it only matter with respect to the combination of all of a user's apps and drivers?

Context: to reduce the number of API calls in an app (the free number allowed is limited), I'd like to store state. But there's a decent bit of state to store (state size of 63,000)

I depends on how often you run. The more you will run, the less state you should try to maintain.

There are options to store runtime data and not put it in state. See notes from me referring to

@Field

This can store data between runs and keep it out of db.

3 Likes