Define async/await methods in Manager and Database

Aim

Currently, all methods of Database and Manager are synchronous. This will make the complete code async/await and make it unnecessary to work with the event look or call run_until_complete.

Detailed behaviour

All I/O related operations should be async.

Async behavior must be possible based on the web-server setting. Therefore, this only makes sense after #452 was implemented.

Risks

  • major:
  • normal:
  • minor:

Stakeholders

Unclear, who needs the added concurrency for his/her load.

Implementation suggestions

None

Edited by Philip Reiner Kensche
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information