toastclub / pinefore

🌲 Tools for a kinder web
https://pinefore.com
GNU Affero General Public License v3.0
6 stars 0 forks source link

Blocking: split deployments #33

Closed boehs closed 2 months ago

boehs commented 3 months ago

Pinefore was initially deployed from one codebase, where vite was responsible for managing everything. This configuration proved problematic for the following reasons:

This all came from frustration with how vite handles wasm, but that was just what pushed me over the edge. the following is gained by deploying separately:

  1. very likely less errors
  2. potentially faster by a couple ms
  3. separation of concerns, which reduces the bug surface for attack

Cons:

  1. Huge rewrite introduces bugs
  2. Separate deployments means one deployment could fail without the other
  3. Workers is a much more manual deployment process, which in some ways is nicer

Todo:

linear[bot] commented 3 months ago

PFW-42 Blocking: split deployments

boehs commented 3 months ago

Casualties tonight: