Skip to content

Performance best practices when integrating OpenFGA with a GraphQL API #202

Closed Answered by patricknick
patricknick asked this question in Q&A
Discussion options

You must be logged in to vote

First of all, thanks to @jon-whit and @aaguiarz for taking your time and all the help and insights! 🙏 I've tried to summarise everything I learned so far.

Summary of this discussion

Newest performance metrics

Thanks to @jon-whit's suggestions and the newest version 1.3.1 of OpenFGA, we managed to achieve quite a significant performance improvement.

  avg p90 p95 p99 min max
Test 8: max_conn: 200, max_open: 66, max_idle: 30, experimental check query cache enabled 5.5ms 10ms 12ms 19ms 1ms 75ms

Note: We achieved these performance metrics with the Helm-deployed Postgres database. However, this DB is intended for developer environments and is not production-ready. Using a production-…

Replies: 7 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@patricknick
Comment options

@patricknick
Comment options

Comment options

You must be logged in to vote
1 reply
@patricknick
Comment options

Comment options

You must be logged in to vote
1 reply
@patricknick
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@patricknick
Comment options

@patricknick
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by patricknick
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants