You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the docker image (docker.io/confluentinc/cp-schema-registry:7.2.1) of the schema registry it is very slow to start (30s) and start responding, and it requires a significant amount of resources while starting. We need the registry to be alive for some of our tests as the serialisers require the schema registry to present.
I have tested this both on an Apple M1 Pro and on an AMD 5900X. The AMD is slightly faster.
How can we improve the startup time of the registry?
Setup:
a docker compose with Zookeeper and Kafka running as per the Confluent examples.
Kafka broker does have TLS enabled
Apple M1 Pro
Breakdown:
First 5s seem to be spend in configuring the Schema Registry instance by talking to the schema registry before launching
The remainder is spent starting up.
Edit: something appears to have changed, the startup time is now 16s. Already better but I'm unsure where this difference comes from. Can we get it further down from 16s?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When using the docker image (docker.io/confluentinc/cp-schema-registry:7.2.1) of the schema registry it is very slow to start (30s) and start responding, and it requires a significant amount of resources while starting. We need the registry to be alive for some of our tests as the serialisers require the schema registry to present.
I have tested this both on an Apple M1 Pro and on an AMD 5900X. The AMD is slightly faster.
How can we improve the startup time of the registry?
Setup:
Breakdown:
Edit: something appears to have changed, the startup time is now 16s. Already better but I'm unsure where this difference comes from. Can we get it further down from 16s?
Beta Was this translation helpful? Give feedback.
All reactions