Archived

This forum has been archived. Please start a new discussion on GitHub.

Glacier2 and proxies

Hi,

If I have a setup where my Ice client talks to the Ice backend thru Glacier2 and I have a custom session that returns proxy to the client, when the client makes calls on the proxy, are the calls thru the proxy still routed through Glacier2?

I'm pretty sure the answer is yes. I'm just wondering how that really happens. Doesn't the proxy contain endpoint information?

Thanks

Comments

  • mes
    mes California
    Hi,

    Invocations on all proxies are sent via the router if the client has a default router configured (i.e., Ice.Default.Router is set). Ice essentially ignores the proxy's endpoint information in this situation.

    On the other hand, if you're selectively configuring proxies with a router (e.g., by calling ice_router), then you would also need to do this for each proxy you receive as the result of an invocation.

    Regards,
    Mark