Question about large casbin rules.
pigochu opened this issue · 5 comments
pigochu commented
hsluoyz commented
You should only load all policy data at initial time. Enforce with the policy data in memory for each request.
pigochu commented
You should only load all policy data at initial time. Enforce with the policy data in memory for each request.
I did not use swoole . How data save in memory ?
If I have many users and domain , It also uses a lot of memory right ?
hsluoyz commented
@techoner @yk17310320725
leeqvip commented
@pigochu yii-permission does not implement FilteredAdapter, you can refer to the implementation in other languages: https://casbin.org/docs/en/policy-subset-loading
hsluoyz commented
@yk17310320725
similar issue to: php-casbin/php-casbin#56
