Re: [grpc-io] URGENT: Sending async response over grpc

2024-04-11 Thread 'Zach Reyes' via grpc.io
Hello Abhijeet, There can be a long lived stream that stays alive without the use of a for. The for (while true essentially) is a convinent way to structure receiving messages/sending messages. You don't need a for loop/time.Sleep to keep the stream alive. gRPC-Go server's do fork a goroutine

Re: [grpc-io] Re: {method 'next_event' of 'grpc._cython.cygrpc.SegregatedCall' objects} taking >6secs on MacOS

2023-05-17 Thread 'Zach Reyes' via grpc.io
Just something we can run and try to reproduce your problem :). On Wednesday, May 17, 2023 at 5:50:58 PM UTC-4 Adam Walters wrote: > Hi Zach, > > Sorry if this is a stupid question but what all are you looking for this > file to contain? > > On May 17, 2023, at 3:55 PM, 'Zach

[grpc-io] Re: Calling SendAndClose stream does not result io.EOF error

2023-05-17 Thread 'Zach Reyes' via grpc.io
Can you provide both the client and server code snippet (preferably reproducible), so we can run and see what's going on here. On Wednesday, May 17, 2023 at 8:12:42 AM UTC-4 torpido wrote: > hi, > > Does anyone have any idea why when I call SendAndClose from the server > stream I don't get an

[grpc-io] Re: {method 'next_event' of 'grpc._cython.cygrpc.SegregatedCall' objects} taking >6secs on MacOS

2023-05-17 Thread 'Zach Reyes' via grpc.io
Can you please provide a full reproducible file, rather than a single file. That we the team can benchmark. On Tuesday, May 16, 2023 at 1:55:11 PM UTC-4 Adam Walters wrote: > Hello, > > Recently my program started running extremely slow and upon further > investigation found that this '{method

[grpc-io] Re: GRPC Serializer does call at the time of GRPC request calling why

2023-05-17 Thread 'Zach Reyes' via grpc.io
What language are you using? Can you please provide more information? I don't know what pdb is referring to. On Monday, May 15, 2023 at 7:45:10 AM UTC-4 Joseph Anjilimoottil wrote: > Hi Guys, > I am working on the project and i want to do nested serializer and in > that i want to do data

[grpc-io] Re: gRPC client side request throttling

2023-05-17 Thread 'Zach Reyes' via grpc.io
Can both of y'all please provide more context. I.e. a client and server side code snippet, something where the team can reproduce? Thanks. On Friday, May 12, 2023 at 3:55:18 AM UTC-4 Vamsi Deepak wrote: > > https://stackoverflow.com/questions/76219206/grpc-module-throwing-error-with-electron-js

[grpc-io] Re: Set seems to not set the field value

2023-05-17 Thread 'Zach Reyes' via grpc.io
Can you please post a longer code snippet (i.e. the full client and server side code snippet) so we can tell what's going on. On Thursday, May 11, 2023 at 2:57:27 AM UTC-4 Tobias Krueger wrote: > Sorry - it is hard to tell what is wrong. > As a side effect (calling a const function) changes the

Re: [grpc-io] Custom channels

2023-05-17 Thread 'Zach Reyes' via grpc.io
We use the standard library net.Conn, which you can think of as a TCP connection. On Wednesday, May 17, 2023 at 3:33:39 PM UTC-4 Zach Reyes wrote: > At least for gRPC GoLang, Custom Transports are not currently supported. > > On Wednesday, May 10, 2023 at 10:44:03 PM UTC-4 Saigut wrote: > >>

Re: [grpc-io] Custom channels

2023-05-17 Thread 'Zach Reyes' via grpc.io
At least for gRPC GoLang, Custom Transports are not currently supported. On Wednesday, May 10, 2023 at 10:44:03 PM UTC-4 Saigut wrote: > Hi, how to custom the endpoint, is there any document or example? I want > to manage the sending and receiving of bytes myself. > Thank you. > 在2015年10月7日星期三

[grpc-io] Re: Connect to a Go GRPC Server running with TLS enabled using node js grpc client

2022-12-15 Thread 'Zach Reyes' via grpc.io
Can you please file an issue in the gRPC-Go repository if you need help: https://github.com/grpc/grpc-go/issues. Thanks! On Tuesday, December 13, 2022 at 1:48:30 PM UTC-5 vikasg...@gmail.com wrote: > Hi , > Could you please help - How did you resolve the issue? > > On Wednesday, 15 March 2017

[grpc-io] Re: callback API and details on threading model

2022-09-21 Thread 'Zach Reyes' via grpc.io
What language of gRPC? That'll allow me to route it to the correct person to answer. On Sunday, September 18, 2022 at 9:29:16 AM UTC-4 Timo wrote: > I did research on this topic but did not find detailed information in the > documentation yet. > How exactly does the thread model of the new

[grpc-io] Re: Metadata and Header/Trailer in Go applications

2021-07-28 Thread 'Zach Reyes' via grpc.io
https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md specifies that client messages involve headers and data only, and no trailers. Thus, there is no concept of trailers sent from the client side. However, the reason the two examples are different, is one is at the RPC layer API, and

[grpc-io] Re: Go - IDLE_TIMEOUT support

2021-07-28 Thread 'Zach Reyes' via grpc.io
I don't believe we have this logic about the state change to IDLE after a certain time of not sending RPC's to connection. Forwarding this to my teammate who has been here much longer and can answer this question better. On Saturday, July 24, 2021 at 3:32:54 AM UTC-4 amits...@gmail.com wrote:

[grpc-io] Re: Go - Reconnection in bidi streaming RPC communication

2021-07-28 Thread 'Zach Reyes' via grpc.io
Nice, this looks solid to me :). On Friday, July 23, 2021 at 4:42:12 AM UTC-4 amits...@gmail.com wrote: > > > > On 11 Jul 2021, at 10:37 am, Amit Saha wrote: > > > > Hi all, > > > > I am implementing a reconnection logic in my client for a bidi RPC > method. > > > > This is similar to what