Andrey Korzinev

Results 11 comments of Andrey Korzinev

> so you say because the JVM is supposed to inline "a" above, that the "a" used in provideService has to be the same? > > not sure its working...

> how the duplicator will be selected? One of the options - provide a name of class, that implements `DeduplicatorProvider` interface: ```scala trait DeduplicatorProvider { def getOrCreateDeduplicator[T: ByteStringCodec]: Deduplicator[T] }...

> I briefly looked up LazyField in protobuf-java, but I wasn't able to tell when it's being utilized. I can't recall ever seeing it in generated code. I haven't used...

Hi Rob, has anything changed since may? Seems like I have encountered the same issue, maybe I can help some way?

> Hey Andrey, thanks for putting this together. I looked into `io.grpc.Context` in the past, and if I recall correctly it does require special handling with ZIO due to it...

@thesamet I've made it even better. 1. Introduced package-private `SafeContext` trait for interop with JS (goodbye, dummy `io.grpc.Context`!) 2. Made an `SafeContext.Key[R, E, A]` which should carry an effect for...

> Taking a step back - I assume you need the context so you can extract the span and add additional traces from within your service - is that right?...

@thesamet It's been a while since we've looked into this issue. Do you still think it's a bad idea to introduce abstract API over which we may implement `zio-telemetry` integration...

@swoogles > Looks like checking for the TEAMCITY_VERSION environment variable is the default way to recognize if you're running in that environment? Yep, looks like [it's a preferred way of...

> Not sure it makes sense to expose these as opposed to runtime flags like enabling work stealing as they are extremely low level and might change in future optimizations...