skupperproject / skupper-proxy

A service for bridging cluster-local communication to a Skupper network
https://skupper.io/
Apache License 2.0
8 stars 5 forks source link

failure handling question #9

Open jieyu opened 4 years ago

jieyu commented 4 years ago

This is a very interesting project!

I am very new to AMQP and all the tools used in this project. So forgive me if I ask some trivial questions.

IIUC, the qpid-dispatch routers forms a network mesh like layer3 routers, and this proxy creates tunnels on top of the underlying network mesh. The question is: if some message got dropped (e.g., the link between routers broke while the message is being sent), how the system handles that? Does qpid-dispatch router handles that automatically by retrying? or it'll just give an error, thus proxy will treat the tunnel as broken?

Thanks!

grs commented 4 years ago

At present that varies by context. For services exposed as 'tcp', failed deliveries result in the connection being dropped both to client and server. For services exposed as 'http', the ingress proxy will retry failed deliveries for some number of attempts before giving up and returning an error.

Thank you for your interest!

grs commented 4 years ago

I should perhaps also mention that we are planning to move the proxying into the qpid-dispatch router. Work on that has already started and will hopefully be available around the 0.4.0 release of skupper.