4 ms·
Dumb questions: 1. I'm assuming all these HTTP API's use HTTP/2? 2. What is the real-world difference between using websockets and http for the Neon API?
by andrenotgiant 2y ago
Dumb questions:
1. I'm assuming all these HTTP API's use HTTP/2?
2. What is the real-world difference between using websockets and http for the Neon API?
- nikita 2y agoIt's full compatibility with libpq Postgres protocol vs performance. Libpq is chatty and therefore you incur roundtrip costs. HTTP Post is one shot, but you lose transactional semantics if you don't provide all the queries in the same POST request.