zlacker

[return to "PostgresML is 8-40x faster than Python HTTP microservices"]
1. chaps+b5[view] [source] 2022-10-20 01:45:53
>>redbel+(OP)

  "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.
◧◩
2. ta2234+Of[view] [source] 2022-10-20 03:39:30
>>chaps+b5
Further in their methodology they wrap a microservice around python and redis (which is doing an unmarshalling from redis and a marshalling to json) but they're not doing that with postgres.

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.

[go to top]