Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
There’s no such thing as a query timeout (2005) (msdn.microsoft.com)
33 points by jermaustin1 on July 13, 2019 | hide | past | favorite | 3 comments


Compare this to Postgres where the timeouts are implemented on the server-side. Eg. statement_timeout.

https://www.postgresql.org/docs/current/runtime-config-clien...


With more modern databases, there are server-side resource constraints per bucket (query, connection, etc..). One of the resources is execution time that can be constrained. Sometimes it can even accept a hint, from the client, regarding the maximum runtime to enforce server-side.


I always understood timeout is a resiliency measure implemented by the engineer - doesn’t matter whether it is client or server side. Also, client & server/service concepts are relative to what we are talking about.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: