3 ms·
You don't have to have crazy on boarding. In fact, with systems like Kubernetes it can take me months to finally grasp the whole system... especially if you hav
by winrid 6y ago
You don't have to have crazy on boarding. In fact, with systems like Kubernetes it can take me months to finally grasp the whole system... especially if you have your own Kubernetes Operator and custom YAML configuration that maps to Kube's... which I have seen.
You can use Fargate for example, which should give you easy to manage and fast deployment times - you just have to figure out the fast build time.
For FastComments.com I can do a build in under two minutes. The second you merge to master:
1. E2E testing runs, which is massively parallelized. Each test suite's data gets namespaced so they don't step on each other.
2. The build runs, takes 30 seconds, because it's not a compiled language. Although if it was in Java I don't think it would take very long.
3. Deployment happens, Orcha sends the bundle to all the servers, stops the deamon, extracts it, restarts the systemd daemon.
4. E2E testing runs again against production as a smoke test.
This all happens in under a couple minutes. Not a very small app - package.json has 50 dependencies and the E2E test suite has ~40 tests. These tests are complicated - some will open two browsers for example to test the live commenting features...