On 18/07/2012 12:15, Manel Gimeno Zaragozá wrote:
Hello,

I have a question about which implementation is better for database efficiency. In my environment i will have more than 10.000 users, and I want to implement white & blacklist for each. So, which implementation do you think is better?

- 4 policies

    1 for whitelist user-user
    1 for blacklist user-user
    1 for whitelist any-user
    1 for blacklist any-user
    and then all the couples inside of this policies (imagine that if
    any user set 3 whitelist, it could be more than 30.000 entries,
    but it can be unpredictable and it totally depends on the user)

or

- for each user create an independent policy (whitelist & blacklist) for "user to user" and "any to user", in this case I will have more than 40.000 policies but then I will only have a few members inside each policy.

I'm not sure which implementation could be better to keep policyd performance acceptable.

I hope I explain my safe clear, anyway, do not hesitate to ask me for any explanation.

Thanks & Regards.
-

At some stage we will implement flexible policies which will allow external and custom methods to be used to pull the data required.

-N

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to