"In Python, most of the bottleneck comes from having to fetch and deserialize Redis data."
This isn't a fair comparison. Of freaking course postgres would be faster if it's not reaching out to another service.In fact, as far as I can tell, postgres is not running as a microservice here. The data still has to be marshalled into some output other services can use.