LittleHorse server instance initialization #1334
eduwercamacaro
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
LittleHorse server starts three dependencies during bootstrap:
All of these services start at the same time, and it usually takes some milliseconds to start. The problem that I see with this approach is that both the gRPC server and Javalin start faster than Kafka Streams topologies, in which case the gRPC server and HTTP clients receive an error status code that says the service is not available yet. IMO, this is annoying from a client perspective because clients need to implement a logic that retries this temporary status code until the server instance is ready.
Beta Was this translation helpful? Give feedback.
All reactions