<@U04UQ68083H> experiencing performance issues aft...
# ory-copilot
m
@chilly-king-10285 experiencing performance issues after updating from hydra v1.10.5 to v2.2.0. introspection takes almost 2x more time. what could be the cause here?
c
A message from kapa.ai
Hmm, I don't know enough to give you a confident answer yet. However, I can guide you on how to debug performance issues in Ory Hydra. Firstly, ensure that you have followed the correct upgrade process. This includes reading the release notes, reviewing breaking changes, backing up your data, updating the Ory Hydra SDK if used in your application, installing the new version of Ory Hydra, and running the SQL migrations to the new database schema. If you run into problems with the upgrade, consider a stepped upgrade and please visit the community chat or start a discussion. [Upgrade Guide](https://www.ory.sh/docs/hydra/self-hosted/upgrade) Secondly, you can benchmark the performance of your OAuth 2.0 endpoints. This will help you identify if the performance issue is specific to the introspection endpoint or if it affects other endpoints as well. [Benchmark Guide](https://www.ory.sh/docs/ecosystem/benchmark#oauth-20) Lastly, if you are running Ory Hydra behind a reverse proxy, ensure that it is not stripping the Cookie header or causing issues with path rewrites. [Debug Guide](https://www.ory.sh/docs/self-hosted/hydra/debug/csrf#reverse-proxy-or-load-balancers) If you continue to experience performance issues, I recommend reaching out to the Ory community for further assistance.