Platform
A common base for new services
Teams started new projects regularly, and each time the basic setup was put together from scratch.
Under NDA
This case study combines several projects with a similar problem. The companies’ names and logos are under NDA, and we left out the details that could identify them.
- Base
- shared by all new services
- Contracts
- client and server code is generated from the specs
- Environment
- the same on every developer’s machine
The problem
CI, monitoring, contracts and the local environment were set up anew for every service. It took time, and in the end no two were built the same way.
What we did
01We made a common base for services. API contracts are described in specs, and client and server code is generated from them.
02The base includes CI, linters, tests and observability.
03The local environment is reproducible and starts with one command.
04Dependencies are installed from an internal package mirror, so builds keep working when outside repositories are down.
Result
A new service starts from the ready base.
All services are built the same way: developers quickly find their way around each one, and it is easy to hand over to another team.
Technologies
- OpenAPI
- gRPC
- Kubernetes
Check your own system
Three questions on this topic. After each one, a short note on why it matters.
Does a new service start from a ready base?
Why it matters
If the basic setup is assembled by hand each time, the same weeks of work repeat in every service.
Are your services built the same way: CI, tests, monitoring, structure?
Why it matters
When each service is built its own way, someone else’s code takes long to understand, and handing it to another team is hard.
Does a new engineer start the environment with one command on day one?
Why it matters
If the environment is set up from verbal instructions, the first week goes to setup instead of work.
Looks like this part is in order
If you want someone to look at the rest of the system from the outside, write to us.
There is something to check
Incidents usually start in places like these. Write to us about how this part of your system works, and we will suggest what to check first.
This is worth looking at first
There are several weak spots, and the rest of the system probably has some too. Write to us, and we will work out what to fix first.
If your mail app did not open, here is the address: hello@infiniteloop.tech
Have a similar problem?
Write to us about what is going on. We reply within 2 business days.
More case studies
- Content Idempotent model calls: no repeat paid for, no call lost
- Subscriptions Paid content for paid subscriptions only
- CI/CD Every release reaches testers the same way, from any machine
- Integrations Events with no loss and no duplicates
- Data Test databases without personal data
- Content delivery New content without a release: downloaded whole, read offline