Menu

1 / 14

A Service That Cannot Explain Itself Can Only Be Guessed At

DEV Community: microservices·Anton Brilliantov·about 6 hours ago
#tFqcliWn
#devtomicroservices#devto#dev#endpoint#state
Reading 0:00
15s threshold

If a service cannot state what its answer should be, the only way to check it is to guess.

👋 Hi, I'm Anton - a software engineer working mostly in PHP/Symfony and Go, currently carving a live PHP monolith into Go services. This series is about one write path that left the monolith and what it took to accept it as working. This part is about the thing that made checking it possible at all: read endpoints whose only job is to describe state. Running notes live on my GitHub: github.com/brilliant-almazov .

This is how I do it right now, with the price attached - maybe you already do it better, maybe you'd do it another way.

The path in one paragraph

A user saves a set of matching rules; every domain under that account gets marked by them.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.