3 ms·
A company I worked at went all in on option c - there was a random number service (that just wrapped a random number generation library), and sending an email w
by jamesfinlayson 5y ago
A company I worked at went all in on option c - there was a random number service (that just wrapped a random number generation library), and sending an email was split across multiple services - one to pull the email request from the database, one to generate the email from the template, one to actually send the email and one to save the templated email to the database.
- dm3 5y agoHow did it work out? Very curious, as such granularity of deployable units seems absurd unless it's deployed into a single runtime...
- jamesfinlayson 5y agoIn reality it worked - each service only talked to the next so in that sense it was okay. But each service was its own binary running in its own container (someone went to a conference and heard that S3 was made up of 500 microservices, to they decided we needed as many microservices as possible). The bit where it didn't work so well was making changes and testing those changes - the original developers hacked it together then didn't want to touch it after that, so there was no dev environment (just staging environments to hijack) and no functional/e2e tests.
- yakshaving_jgt 5y agoI’m imagining that whomever is running that company prefers to heat his home by throwing cash directly into his fireplace instead of burning wood.