Skip to content

GRPC TTFB Determination clarity #503

@mjones713

Description

@mjones713

When executing grpcurl command and using "-vv" command I notice this output:

Response trailers received:
(empty)
Sent 1 request and received 1 response
Timing Data: 1.336617959s
Dial: 663.003042ms
TLS Setup: 4.083µs
BlockingDial: 662.955083ms
InvokeRPC: 520.699667ms

ChatGPT mentioned the following:

InvokeRPC:

  • Represents the time taken to send the request and receive the first byte of the response (TTFB).

  • This is equivalent to Time to First Byte.

InvokeRPC measures the duration between when the RPC request is sent and the first meaningful data is received from the server.
This includes the server processing time and any network latency after the connection is established.

So the question we're needing clarity is; In the example above InvokeRPC: 520.699667ms. Does the 520ms represent the 1st byte received or when the full response returned?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions