I think here in particular converting these 2 serial db gets to run in parallel (see earlier comment) would be useful as we want to optimize the GET performance