TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How does your company set RPC timeouts for microservices?

2 pointsby hq6about 5 years ago
There are two sub-questions here. 1. Is the same timeout T set for every instance of service X making request A to service Z, or is a timeout chosen at runtime? 2. How is the static (or dynamic) timeout value chosen?<p>As a clarification, this is more of a poll to understand what people are actually doing, rather than a request for recommendation on what I should do. If you are willing to state which company you work for, I would be extra appreciative!

1 comment

rachelbythebayabout 5 years ago
What does the business need?<p>What can the service deliver?<p>If you need it faster than it can deliver... then setting your timeouts&#x2F;paging&#x2F;whatever to that point will just bring you pain and suffering.<p>I think you&#x27;ll find a lot of people just say &quot;what&#x27;s p99 right now&quot;, add a little to it so &quot;it won&#x27;t page me&quot;, and leave it there.<p>Actually driving down p99... is not nearly common enough.
评论 #23111836 未加载