At Permify we’re building open-source, a distributed authorization system inspired by Google's Zanzibar. Zanzibar is the global authorization system used at Google for handling authorization for hundreds of its services and products including; YouTube, Drive, Calendar, Cloud and Maps.
Beyond Zanzibar approach, we’re adding new features and functionalities to enhance our authorization structure.
To give brief overview, the robust authorization system rests on a few pillars.
Our goal is excellence in every area. In this document, we focus on scalability, highlighting our tests and its proven outcomes.
For tests we used following infrastructure
<aside> 💡 These tests have not been conducted on instances with PrivateLink because setting up a test environment on an instance with PrivateLink has been challenging.
</aside>
<aside> 💡
The same instance types has been set up for PrivateLink. If you are experiencing significantly different results, please let us know.
</aside>
In our tests, we have focused on scaling Permify up to 100k PRS with 1B relationships.
However, we conduct couple test to before to reach there. The goals of the test were to validate that Permify exhibits similar latency metrics across a total of 5 tests with varying throughput and relationships stored, here is the full list:
Test ID | RPS | Relationships Stored |
---|---|---|
1 | 1,000 | 1,000,000 |
2 | 1,000 | 10,000,000 |
3 | 10,000 | 10,000,000 |
4 | 10,000 | 1,000,000,000 |
5 | 100,000 | 1,000,000,000 |