Edge Functions
Run JavaScript, TypeScript, or WebAssembly at 200+ edge locations worldwide. Sub-millisecond cold starts. Zero DevOps. Unlimited scale.
Global by Default
Your code runs in 200+ cities across 100+ countries. Users hit the nearest location automatically.
KV Storage
Low-latency key-value storage at the edge. Perfect for configuration, session data, and caching.
Durable Objects
Coordinate state across requests. Build real-time collaborative apps, game servers, and more.
Cron Triggers
Schedule your functions to run on a recurring basis. No separate cron service needed.
Queues
Reliable message passing between Workers. Build event-driven architectures at the edge.
Analytics Engine
Write unlimited data points. Query with SQL. Built-in aggregation and time-series support.
Deploy in Seconds
export default {
async fetch(request, env) {
const url = new URL(request.url);
// Edge-side routing
if (url.pathname === '/api/hello') {
return new Response(JSON.stringify({
message: 'Hello from the edge!',
location: request.cf?.city
}), {
headers: { 'Content-Type': 'application/json' }
});
}
// Fetch from origin with caching
return fetch(request);
}
}
# Install CLI
$ npm install -g hostscience
# Login
$ hostscience login
# Deploy to 200+ locations
$ hostscience edge deploy
Deploying worker.js...
✓ Published to 200+ locations
✓ https://my-worker.hostscience.io
Simple, Transparent Pricing
Edge Hobby
Perfect for personal projects
- 100,000 requests/day
- 10ms CPU time
- 100 edge locations
- 10ms CPU limit
- Basic analytics
Edge Pro
For production applications
- 10,000,000 requests/day
- 50ms CPU time
- 200+ edge locations
- 50ms CPU limit
- Durable Objects
- Cron Triggers
- Advanced analytics
Edge Business
Enterprise-grade edge computing
- Unlimited requests/day
- 100ms CPU time
- Unlimited requests
- 100ms CPU limit
- Queues
- Analytics Engine
- SLA 99.99%
How We Compare
| Feature | HostScience Edge | Vercel Edge | Netlify Edge |
|---|---|---|---|
| Free Requests | 100K/day | 1M/mo | 150K/mo |
| Cold Start | <1ms | ~50ms | ~100ms |
| Edge Locations | 200+ | ~20 | ~16 |
| KV Storage | |||
| Durable Objects |