> ## Documentation Index
> Fetch the complete documentation index at: https://kw.hellenictechnologies.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Workers

> Serverless Cloudflare Workers for edge logic and routing.

Cloudflare Workers bring server-side logic to the edge, executing JavaScript or WebAssembly within milliseconds of users worldwide. Hellenic Technologies uses Workers to offload logic that previously required round-trips to origin servers — authentication token validation, geographic redirects, A/B test routing, request transformation, and API response caching — reducing latency and origin compute costs simultaneously.

Common Workers patterns we implement include: geo-based redirects that route users to localised content without origin involvement; edge authentication that validates JWTs at the CDN layer before allowing requests to reach the application; A/B testing frameworks that consistently bucket users by cookie and serve variant content from the edge; and bot detection logic that supplements Cloudflare's managed Bot Management with custom application-specific signals.

Workers KV (key-value storage) and Durable Objects enable stateful edge applications. We use Workers KV for configuration data, feature flags, and localisation strings that need to be available globally without round-tripping to a central database. Durable Objects provide strongly-consistent coordination for use cases like rate limiting, session management, and real-time collaborative features at the edge.

**Cloudflare Workers services we build and maintain:**

* Geo-based redirect and routing Workers with country/region logic
* Edge authentication and JWT validation before origin requests
* A/B testing Workers with consistent user bucketing via cookies
* Request and response transformation (header injection, URL rewriting)
* Edge-side API aggregation and response caching
* Workers KV configuration for feature flags and edge state
* Durable Objects for session management and rate limiting
* Workers Cron Triggers for scheduled edge tasks
* Workers deployment via Wrangler CLI integrated into CI/CD pipelines
* Performance monitoring with Workers Analytics and Logpush
