AmbireTech / adex-validator

AdEx validator stack reference implementation: sentry, validator worker
https://www.adex.network
GNU Affero General Public License v3.0
8 stars 11 forks source link

Cloudflare worker sub-sentries #158

Closed Ivshti closed 5 years ago

Ivshti commented 5 years ago

To increase scalability, we can offload limits checking (services/sentry/lib/access) to a cloudflare worker

Instead of redis, we will use Cloudflare Workers KV

The worker will work in the following way:

This has the following benefits:

Ivshti commented 5 years ago

performance is sufficient for now; will be improved greatly by the Rust implementation too