# Proxy authentication (Elxir reverse proxy performance)

**URL:** <https://forum.elixirforum.com/t/proxy-authentication-elxir-reverse-proxy-performance/28574>\
**Category:** Questions\
**Tags:** performance\
**Created:** [January 25, 2020, 5:34pm UTC](https://forum.elixirforum.com/t/proxy-authentication-elxir-reverse-proxy-performance/28574 "2020-01-25T17:34:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![entone](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/entone/32/18061_2.png) [@entone](https://forum.elixirforum.com/u/entone)\
**Post date:** [January 25, 2020, 8:16pm UTC](https://forum.elixirforum.com/t/proxy-authentication-elxir-reverse-proxy-performance/28574/2 "2020-01-25T20:16:46Z")

</div>

We use Ambassador as in ingress gateway on k8s. Ambassador has a hook for authentication, every request basically hits a separate service, our elixir service, just cowboy and plug, passing only the headers. We do some basic “auth” and ip checking, all the backing data sits in a local ETS table, maybe moving to persistent terms eventually. We see an average of 100 microseconds overhead per request.

---

_[View the full topic](https://forum.elixirforum.com/t/proxy-authentication-elxir-reverse-proxy-performance/28574)._
