architecture(4/0)
Chaos suite architecture
Re-inspired by Linus Lee, I’m thinking about what’s left to fill out the chaos architecture. Authentication First, I require infrastructure to authenticate parts of my chaos services, preferably without implementing authentication for each individually. I am inspired by Vouch Proxy, but I have not presently been able to install it on a 32-bit ARM architecture. However, implementing the Auth Request Module interface doesn’t seem impossibly hard; here is an example in Golang.…
Use the minimum number of machines
Whether hosting a personal web service or launching entrepreneurial software, use the least number of machines to achieve your goal. Because of the prevalence of cluster software like Kubernetes, you may conclude that the way of the future for any software is to run inside a geographically dispersed, distributed set of Kubernetes clusters. Talk of the power of microservices and the incredible feats of engineering that Google, Facebook, and Amazon have achieved with these power tools builds a lot of FOMO in our industry.…
Create a search engine with sqlite
When I was searching for a search engine I might integrate into my website, most options felt enormously heavy. I didn’t want to run a database-and-service sidecar to my site just so that I could find things. Eventually, I discovered Lunr from Victoria Drake and had search on my website in an afternoon! If all I needed was to search the ~500 posts on my website, Lunr would still be a perfect fit.…
Connect peer containers with SSH keys
For the complete, working example, check out the code: connected-containers. Introduction Have you ever had that sinking feeling when you remember that you’ve solved this problem before but you don’t remember where you stashed the solution? And the sense of frustration searching for it, especially when it doesn’t turn up in your usual places? Yea, that’s why I’m writing this down where I can find it. I love the concept of sandboxed environments that can be provisioned and destroyed at whim, which is why I love Docker.…