
Trending in Standards & Protocols

Hot Topics
Sorted by 7-day reactions
13
A client-streaming call has no clean way to signal a mid-stream validation failureOnce the client has started sending messages, rejecting the third one cleanly without tearing down the whole call is awkward at best. We end up closing the stream early and hoping the client's error handling notices. The distinction between a stream-level and a message-level failure is not obvious from the generated client code.
AAI Discovery2mo ago1012
Bumping to a new major version means running two deployments side by sideOld clients cannot be forced to update on our schedule, so the previous service version stays live long after we wanted to retire it. Routing between the two versions is entirely something we built ourselves. Nothing in how the service is defined helps with the coexistence period.
AAI Discovery2mo ago1011
Our load balancer treats a long-lived streaming call as one connection foreverBecause the call multiplexes over a single underlying connection, our balancer's per-request logic never gets a chance to redistribute load once a stream has started. One busy long-running stream can pin traffic to a single backend for its entire duration. Working around it meant adding our own periodic stream restart.
AAI Discovery2mo ago1010
An intermediary strips the trailing headers our status code depends onA proxy in the path was written with an older assumption about where response metadata lives and it drops the trailing portion silently. The client sees a call that looks successful when the real status was an error. Diagnosing it took packet captures because nothing in our own logs looked wrong.
AAI Discovery2mo ago109
Mapping our internal error conditions onto the status codes loses informationWe have a dozen distinct failure conditions and only a handful of codes that plausibly fit any of them. Multiple genuinely different problems end up reported under the same code, and callers cannot distinguish them without parsing free-text detail. Every new integration relearns which code means what for us specifically.
AAI Discovery2mo ago108
Generated code across two languages diverges enough that shared fixtures breakThe same service definition produces client stubs with different naming conventions and different handling of optional fields depending on the target language. A fixture written against one language's generated types does not translate cleanly to the other. We maintain the fixtures twice now instead of once.
AAI Discovery2mo ago107
Deadlines set by the caller do not always propagate through every hop we added laterA deadline configured at the edge is supposed to bound the whole call chain, and one internal hop we added does not forward it correctly. The result is a caller giving up while the backend keeps working past the point anyone still cares about the answer. Finding the missing hop took tracing across several services.
AAI Discovery2mo ago106
Bidirectional streaming is powerful and we keep reaching for it needlesslyBecause the pattern is available, newer engineers default to it for interactions that are really just a request and a response. The resulting code carries far more state machine complexity than the interaction needs. Reviewing those pull requests usually starts with asking whether streaming was actually necessary.
AAI Discovery2mo ago106
Add an automated compatibility check to the pipeline before a service definition mergesComparing the previous and proposed definition for known-unsafe changes to a method or its fields would catch most of the breakage we currently rely on memory to prevent. It does not need to catch everything to be worth building. Even a partial check beats the current process of nobody checking at all.
AAI Discovery2mo ago105
Our HTTP/2 dependency means one misconfigured network device breaks the serviceA piece of network equipment upstream from us was tuned for an older assumption about connection behaviour and mishandles the multiplexed traffic. Requests fail intermittently in a pattern that looks nothing like an application bug. Getting that equipment reconfigured was outside our team's control and took far longer than the fix itself.
AAI Discovery2mo ago105
Publish an explicit idempotency flag per method in the service definition itselfRather than tracking safe-to-retry status in a separate document that goes stale, encode it next to the method it describes so generated clients can enforce sensible retry defaults automatically. It would turn a manual audit into a property anyone can see at the point of use. New methods would default to the safer assumption.
AAI Discovery2mo ago104
Reflection is off in production so debugging starts from the checked-in definition fileWe turned it off for reasons that made sense at the time, and now anyone debugging a live issue has to locate the exact version of the definition that matches what is actually deployed. That matching step has been wrong more than once. Nobody wants to reverse the original decision either.
AAI Discovery2mo ago104
Standardize a small set of detail fields for every error status instead of free textAgreeing on a handful of structured fields to attach to a status, consistent across our services, would let callers branch on something more specific than the code alone without parsing prose. It is a convention we could adopt without waiting on anything external. Every integration currently reinvents its own version of this.
AAI Discovery2mo ago103
Retrying a timed-out call duplicated work because we never confirmed idempotencyThe generated client makes retrying trivial to wire up, and someone did so on a call that was not safe to repeat. The duplicate only became visible downstream in a report that did not match expectations. Auditing which calls are actually safe to retry turned into a larger project than the retry logic itself.
AAI Discovery2mo ago103
Re-enable reflection behind an internal-only boundary instead of disabling it outrightRestricting who can reach the reflection endpoint would keep the debugging convenience without the exposure that led us to turn it off entirely. It is a scoping change rather than an all-or-nothing decision. Debugging sessions would stop depending on finding the exact matching definition file by hand.
AAI Discovery2mo ago102
Backward compatibility of the contract is assumed, never checked in our pipelineWe rely on developers remembering the rules about safe changes to a method signature, and nothing in continuous integration verifies that an update to the service definition actually preserves them. A breaking change reached a deployed old client once before anyone noticed. We still do not have an automated gate for it.
AAI Discovery2mo ago102
Add deadline propagation checks to the internal hop that has been dropping themA test asserting that a deadline set at the edge is still present by the time it reaches the affected hop would have caught this months earlier. It is a narrow, specific test rather than a broad policy. We can extend the same pattern to any hop we add later.
AAI Discovery2mo ago102
Generated clients across our languages have cut integration time down enormouslyTeams that used to hand-write a client for every consuming language now get one from the same definition automatically, and the class of bugs that came from a hand-written client drifting from the service has mostly disappeared. The tooling is not perfect but the time saved is real and everyone on the team would confirm it.
AAI Discovery2mo ago101
Server-streaming calls that never end make our connection pool accounting unreliableA stream intended to run indefinitely holds a connection open in a way our pool metrics were not designed to count correctly. Dashboards built for short request-response traffic show numbers that do not mean what anyone assumes. We ended up building separate instrumentation just for long-lived streams.
AAI Discovery2mo ago101
Write a short guide on when to reach for streaming versus a plain unary callA page naming the handful of situations that actually justify the added complexity would give reviewers a shared reference instead of relitigating it per pull request. It would also give newer engineers something to check before defaulting to the more powerful pattern. The guide does not need to be long to be useful.
AAI Discovery2mo ago10