Open
Description
That's an oof, because I don't really understand how to port it from Python or Go, because it utilizes [blocking, obviously] mutexes heavily, and it's not quite clear
- Why use them
- How to use them [in Swift-NIO context]
Appendix:
- High-level documentation: https://apple.github.io/foundationdb/developer-guide.html#directories
- Python implementation: https://github.com/apple/foundationdb/blob/master/bindings/python/fdb/directory_impl.py
- Go implementation: https://github.com/apple/foundationdb/blob/master/bindings/go/src/fdb/directory/allocator.go