Skip to content

Commit cba9a29

Browse files
Update hosting choice
1 parent bdb1d83 commit cba9a29

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

docs/ADR/0016-hosting-choice.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -43,37 +43,37 @@ The current approach has several limitations:
4343

4444
[Briefly list the considered options. Each option is numbered for easy reference, with the selected option marked clearly as `(SELECTED)`. Aim for 3-5 options minimum. Always include at least "do nothing" option. A detailed description of each option can be written in the Consequences section below.]
4545

46-
1. **(SELECTED) [Cloudflare Pages](https://pages.cloudflare.com/)**
46+
1. **(SELECTED) [Cloudflare Workers](https://workers.cloudflare.com/)**
4747
2. [Vercel](https://vercel.com/)
4848
3. [Netlify](https://www.netlify.com/)
4949
4. [GitHub Pages](https://pages.github.com/)
5050
5. Do nothing / Status quo (VPS)
5151

5252
### Hosting Platform Comparison
5353

54-
| **Criterion** | Cloudflare Pages ✅ | Vercel ⚠️ | Netlify ⚠️ | GitHub Pages ⚠️ |
55-
| ------------------------------ | -------------------------------------------- | ---------------------------- | -------------------------------------- | ----------------------- |
56-
| **CI/CD from Git** | Auto-deploy + preview | Auto-deploy + preview | Auto-deploy + preview | Only Actions |
57-
| **Builds per month** | 500 (Free), 5 000 (Pro), 20 000 (Business) | 125 (Hobby), 1 000 (Pro) | 300 build-minutes (Free), 25 000 (Pro) | Free |
58-
| **Asset size limit** | 25 MB per file | 100 MB per file | 25 MB per file | 100 MB per file |
59-
| **Custom domains per project** | 100 (Free), 250 (Pro), 500 (Business) | 50 (Hobby), Unlimited* (Pro) | ~100 per site | 1 per site |
60-
| **Bandwidth / Requests** | Unlimited static traffic | Unlimited static traffic | 100 GB/mo (Free) | ~100 GB/mo (soft limit) |
61-
| **Paid plans** | $$25/month, or $20/month with annual billing | $20/user/mo | $19/user/mo | Free (no Pro plan) |
62-
| **DX (convenience)** | Convenient | Best for Next.js | Average | Minimal features |
63-
| **Already in use** | Yes | Yes | No | No |
64-
| **Team experience** | Yes | Yes | No | No |
54+
| **Criterion** | Cloudflare Workers ✅ | Vercel ⚠️ | Netlify ⚠️ | GitHub Pages ⚠️ |
55+
| ------------------------------ | --------------------------------------------------------------------- | ---------------------------- | -------------------------------------- | ----------------------- |
56+
| **CI/CD from Git** | Auto-deploy + preview | Auto-deploy + preview | Auto-deploy + preview | Only Actions |
57+
| **Builds per month** | no limits (deploy via Wrangler/GitHub Actions) | 125 (Hobby), 1 000 (Pro) | 300 build-minutes (Free), 25 000 (Pro) | Free |
58+
| **Asset size limit** | 25 MB per file | 100 MB per file | 25 MB per file | 100 MB per file |
59+
| **Custom domains per project** | Unlimited (via routes/zones) | 50 (Hobby), Unlimited* (Pro) | ~100 per site | 1 per site |
60+
| **Bandwidth / Requests** | Free: 100k req/day, Paid: 10M req/mo incl. ($0.30 per 1M extra) | Unlimited static traffic | 100 GB/mo (Free) | ~100 GB/mo (soft limit) |
61+
| **Paid plans** | Free, or $5/month incl. 10M req + 30M CPU-ms ($0.30 per 1M req after) | $20/user/mo | $19/user/mo | Free (no Pro plan) |
62+
| **DX (convenience)** | Convenient | Best for Next.js | Average | Minimal features |
63+
| **Already in use** | Yes | Yes | No | No |
64+
| **Team experience** | Yes | Yes | No | No |
6565

6666
## Consequences (Optional)
6767

68-
### Option 1: Cloudflare Pages (SELECTED)
68+
### Option 1: Cloudflare Workers (SELECTED)
6969

70-
Cloudflare Pages is a hosting platform for static sites with a global CDN, built-in preview deployments, support for Workers/Functions and WebSocket, as well as unlimited traffic. The platform also provides strong security (WAF, DDoS protection, HTTPS/HTTP/3), which is especially important for public projects.
70+
Cloudflare Workers is a serverless edge platform that can also host static assets via its integration with Pages. It provides a global CDN, built-in preview deployments, support for custom Workers/Functions and WebSockets, as well as unlimited static traffic. The platform also includes strong security features (WAF, DDoS protection, HTTPS/HTTP/3), which is especially important for public projects.
7171

7272
**Selected because:**
73-
- Fixed Pro plan at $25/month (or $20/month with annual billing), not tied to the number of team members.
74-
- Unlike Vercel and Netlify, the cost does not grow as the team scales.
75-
- Rich functionality: global CDN, preview deployments, Workers, WebSocket, unlimited traffic.
76-
- Powerful built-in security against attacks, included even in the base plan.
73+
- Predictable entry-level plan at $5/month (includes 10M requests and 30M CPU-ms).
74+
- Unlike Vercel and Netlify, the cost does not grow with the number of team members.
75+
- Rich functionality: global CDN, preview deployments, Workers runtime, WebSockets, edge APIs.
76+
- Strong built-in security (WAF, DDoS protection, HTTPS/HTTP/3) even on free tier.
7777

7878
## Advice
7979

@@ -84,5 +84,5 @@ General adviсe:
8484
- Create a table that defines these code change steps and think about the methods and artefacts (Alex Vyatkin, 2025-08-27)
8585
- Сonsider using Vercel, as it is planned to be used for the W3zard and the team has experience working with it (Andreea Eftene, 2025-08-29)
8686

87-
Cloudflare Pages option:
88-
- How is the build configured in Cloudflare Pages? For example, for GitHub Actions we write a YAML file in the Actions Workflow format
87+
Cloudflare Workers option:
88+
- How is the build configured in Cloudflare Workers? For example, for GitHub Actions we write a YAML file in the Actions Workflow format

0 commit comments

Comments
 (0)