Skip to content

Pandaproxy slow first message produce? #3320

Answered by BenPope
danthegoodman1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @danthegoodman1 - 10s seems like a long time, but I have just verified it locally.

There are a couple of things that can slow it down:

  1. If the topic doesn't exist, and it's being auto created
  2. Pandaproxy is in-process with Redpanda, but still needs to connect clients to each of the Redpanda nodes - this process is started on the first request to Pandaproxy
  3. The clients have an exponential backoff on error, which is likely the major cause of the delay - check the configuration options
  4. The client does probably over-aggressive batching at 100ms - again this can be tuned in the configuration

My suggestion is to optionally explicitly create the topic and then to issue a list of topics prior …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@danthegoodman1
Comment options

@danthegoodman1
Comment options

Answer selected by danthegoodman1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants