Taro L. Saito

Results 287 comments of Taro L. Saito

Similar to #1078 > Sometimes, determining the max retry count is difficult, so instead, maintaining the average traffic rate at most +20% can be easier to configure. Related: https://linkerd.io/2/features/retries-and-timeouts/#retry-budgets-to-the-rescue

Implementing per-host rate limiter would be a good starting point.

@Kondasamy I'm not familiar to Swagger UI. If you just need an API documentation, using https://editor.swagger.io/ is an easy choice.

Although directly implementing the spec of gRPC reflection will require Protobuf, adding a support for similar functionality by returning the contents of Router would be possible. For example, it would...

A workaround is wrapping method arguments with an object: ```scala @RPC trait MyAPI { def hello(request:HelloRequest): String } case class HelloRequest(message: String = "world") ```

It turns out to be difficult to use in Scala.js. PackSupport is natural to implement, but UnpackSupport needs to be implemented as a static function in an object. Basically, Surface...

`object A { def unapply(s: String): Option[A] = ... }` can be found even in Scala.js, so implementing only PackSupport is feasible

An idea is stop using ConcurrentHashMap for caching already created Surface instances.

A workaround of this problem is passing known codecs when building AnyCodec https://github.com/wvlet/airframe/pull/2211 With this change, codec tests have passed. Another type of fix might be necessary when migrating airframe-http-codegen...