# Serverless environments

Hypertune SDKs have been uniquely architected to work optimally in serverless and edge environments like:

* Vercel deployments
* Cloudflare Workers
* AWS Lambdas
* Google Cloud Functions
* Netlify Functions
* DigitalOcean Functions

Since serverless instances can be frozen between requests, background SDK tasks, like checking for flag updates and flushing logs, aren't guaranteed to execute.

Instead you can [manually check for flag updates](https://docs.hypertune.com/get-flag-updates#manually-check-for-flag-updates) with the `initIfNeeded` method, while capping the frequency of initialization requests with the `initDataRefreshIntervalMs` option.

And you can [manually flush logs](https://docs.hypertune.com/remote-logging#manually-flush-logs) with the `flushLogs` method.
