Since the most functions are stateless, it's quite popular to store the state in YDB via DynamoDB-like interface.
Will be great to have serverless framework support for such kind of resources together with the init schema creation like it was done in AWS.