π Step 9: AI/LLM#314 / 498
Latency
Latency
πOne-line summary
The delay between sending a request and receiving a response.
π‘Easy explanation
The wait time between pressing 'Send' and getting an answer. In AI services, lower latency means a better user experience.
β¨Example
μμ² β μλ΅ μ¬μ΄μ λκΈ° μκ°
β‘
50ms
π
500ms
π΄
3000ms
β‘Vibe coding prompt examples
>_
Our chatbot responds too slowly. Write Node.js logging code that measures latency at each stage of the API call and tell me how to find the bottleneck.
>_
List ways to reduce LLM response latency (streaming, shorter prompts, smaller models, caching) ordered by how noticeable the improvement is.
>_
Write code that calculates p50, p95, and p99 API latency and shows them on a dashboard.
Try these prompts in your AI coding assistant!