3 ms·
HTTP is stateless, whereas most database connection protocols are stateful. So if you use HTTP, you need a lot of boilerplate on the client side to manage that
by newaccount74 4y ago
HTTP is stateless, whereas most database connection protocols are stateful.
So if you use HTTP, you need a lot of boilerplate on the client side to manage that state (eg. prepared queries, transactions, session parameters).