Porting a graph database's connection layer from thread-per-connection to a libxev reactor