Question 480
A high-concurrency vector API stops serving other clients during long database waits. What result MOST directly verifies that the solution works?
Explanation
Correct Answer
Blocking database I/O in an event loop can serialize unrelated requests and inflate tail latency. The observed result “Concurrent requests remain responsive while waiting on independent SQL calls” would confirm the change “Use a suitable asynchronous PostgreSQL driver or offload blocking database operations” in this situation: A high-concurrency vector API stops serving other clients during long database waits.
Incorrect Answers
Pool mode must match application reliance on session state and prepared statements. The situation here is: A high-concurrency vector API stops serving other clients during long database waits. A test of this alternative would miss the specific outcome “Concurrent requests remain responsive while waiting on independent SQL calls”.
Unique constraints and upserts make ingestion retry-safe at the relational persistence boundary. The situation here is: A high-concurrency vector API stops serving other clients during long database waits. A test of this alternative would miss the specific outcome “Concurrent requests remain responsive while waiting on independent SQL calls”.
Resilient drivers distinguish transient session failures from permanent SQL or authentication errors. The situation here is: A high-concurrency vector API stops serving other clients during long database waits. A test of this alternative would miss the specific outcome “Concurrent requests remain responsive while waiting on independent SQL calls”.