Integration with cloudflare pages/workers
Will Da Silva
Being able to run a PDP within a CloudFlare Worker would be amazing, but wouldn't be straightforward.
The PDP code would need to be able to run in V8. Maybe WASM could help with that.
Then there's the matter of it not running as a daemon in CloudFlare, since CloudFlare doesn't support continually running compute. Maybe on Worker cold start the PDP state can be fetched from central authorization service. Then the worked can set an alarm to refresh the PDP state at some point in the near future. This way there'd be occasional slow authorization checks (due to a cold start), but under high load most requests will enjoy a warm start, so the in-memory state will be preserved, and the authorization checks will be fast. Workers have a 128 MB memory limit, which this would counts against.