zlacker

[parent] [thread] 2 comments
1. pushed+(OP)[view] [source] 2022-10-20 02:40:00
I also don’t think it’s a fair comparison. There’s nothing stopping me from loading the model into the memory of each Flask process (or some shmem), and getting the same performance or possibly better than the Postgres implementation, considering coroutines are being used in the Python case.

Calling this Postgres vs Flask is misleading at best. It’s more like “1 tier architecture vs 2 tier architecture”

replies(1): >>montan+n6
2. montan+n6[view] [source] 2022-10-20 03:47:32
>>pushed+(OP)
You get it. 1 tier is better than 2 tier. Python can't be 1 tier, unless it loads the full dataset which is not generally feasible for production online inference cases. PostgresML is 1 tier, and supports the traditional Python use cases.
replies(1): >>xapata+79
◧◩
3. xapata+79[view] [source] [discussion] 2022-10-20 04:25:21
>>montan+n6
Why can't Python be 1 tier? It's a general-purpose, extensible language. It can do anything that PostgreSQL can do.
[go to top]