Slackbot
03/16/2023, 10:36 AMShuvy Ankor
03/16/2023, 10:39 AMAsaf Cohen
03/16/2023, 11:10 AMEvery time a new OPAL pod is brought up, it should fetch authorization data from an external source.. that means the external source of authorization data should expose an API to return all authorization data right ?that is correct 🙂 But you can also fetch data from other sources (for example a database) by writing a custom OPAL fetcher.
If the authorization data is huge, how do we return it in plain text format ? if the data is returned as a zip file, will OPAL client be able to unzip and push that data to OPA policy agent ?OPAL can deal with huge data set, but your real limitation is OPA. OPA loads all data into memory and typically starts struggling at 2-3GB of data. The good news are: • typically your authorization data is smaller than you think (you only need ids and relationships typically, not the entire db object) • you can use OPAL to shard the data into many OPA agents, each one managed by a different OPAL client and subscribed to a different data topic
Pranyt T
03/16/2023, 11:35 AMAsaf Cohen
03/16/2023, 12:21 PM