3 ms·
I've been enjoying reading Spectrum's codebase[0]. It's very simple, with little documentation you can understand pretty much what is going on and in the archit
by kostarelo 7y ago
I've been enjoying reading Spectrum's codebase[0]. It's very simple, with little documentation you can understand pretty much what is going on and in the architecture level, is as simple as it needs. The first time I tried to open a PR, I was up and running my feature in a few minutes.
Small summary of the features I liked:
- Simple documentation
- Intuitive structure
- Lots of JS best practices, but still simple
- Event-driven architecture
- A simple API gateway that will just fire events to workers
- Properly divided workers (kind of microservices but with lots of shared code)
- Monorepo
It recently been bought by GitHub(1) and was discussed here(2).
The author has talked in his blog about some decisions he took wrong. Super interesting post(2).
0. https://github.com/withspectrum/spectrum https://github.com/withspectrum/spectrum
1.https://spectrum.chat/spectrum/general/spectrum-is-joining-github~1d3eb8ee-4c99-46c0-8daf-ca35a96be6ce https://spectrum.chat/spectrum/general/spectrum-is-joining-g...
2. https://news.ycombinator.com/item?id=18570598 https://news.ycombinator.com/item?id=18570598
3. https://mxstbr.com/thoughts/tech-choice-regrets-at-spectrum/ https://mxstbr.com/thoughts/tech-choice-regrets-at-spectrum/