Skip to content

Why is it the OPAL client and not the server which fetches data #218

Answered by orweis
blacksails asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @blacksails :)
I appreciate you coming in and asking :). It is, I think, one of the more subtle and interesting parts of the architecture.

The answer is simple: privacy/security and realtime performance/scale

  1. This allows the server and client to run in seperate clusters, VPCs, and even clouds/networks - and the client can still have direct access to data-sources right beside it (such as the database of the app its serving authorization for). In Permit.io for example this allows the service to orchestrate everything from the cloud without being exposed at all to the customer's data.

  2. OPAL is designed to be realtime in its delivery of updates (i.e. we want clients to know about change…

Replies: 2 comments 2 replies

Comment options

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

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

@blacksails
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants