I'd like to have a similar behavior that Postgres sequences have in a grain itself. So I can give a unique number to each incoming request without going to a DB.
I can use a DB sequence but then my API will be depend on a DB connection.
Is it a good task for Orleans or it's better to ask a DB for the number?