otto-dev

Results 40 comments of otto-dev

A lot of my code just went *poof*

This cost me some hours. Here is a solution, a bit of code to get others started that run into this issue with Akka HTTP: ```scala val service = NetworkWorkersHandler(new...

> How do I fix? A **workaround** is to remove the `grpc-accept-encoding` header in the akka-received HTTP request prior to passing it to the generated service. An example of how...

Oh sorry, I remembered this as an akka-related issue and didn't see the repo in the notification. I guess the solution may be similar, the implementation different.

I can confirm that @DonIsaac's solution works. If there was a way to ship this by default, that would be even better.

@ggreer I opened a simple PR for this

[Edit: Retracted. The comment used to point out that the official plugin would benefit from the contributors of this repo. However, I consider my opinion at the time uninformed, and...

That was on `3.2.9`, forgot to include that, sorry. `java-11-openjdk`, linux. `3.3-393-da7c7c7` gives me a similar result (this is after 20 seconds, there is some variance among reruns): ![image](https://user-images.githubusercontent.com/44302748/140415924-cfae26b8-1864-4bbf-b40f-16bdb4066b26.png) ```...

Just out of curiosity, inserting `IO.sleep(0.nanos)` instead of `IO.cede` seems to make the situation fairer at the cost of throughput (~20%). Edit: replacing `cede` with `IO.blocking(())` gives me the same...

This may be more detracting than helpful, but this is a result when replacing `cede` with `IO.blocking(())` (~50% original throughput, and no apparent preference for first Fibers) ![image](https://user-images.githubusercontent.com/44302748/140421140-81444ca2-e4c3-453c-bdce-747238b4738a.png)