Guide

System integration and maintenance: keeping custom-built systems healthy

Custom-built systems hold up when the integrations tolerate failure, the maintenance is agreed in advance and the code is reviewed by someone who did not write it. Vynatix, the senior software consultancy for scale-ups, wrote this guide.

Published · Last updated · Vynatix

A custom-built system deteriorates when nobody monitors its integrations, nobody upgrades its dependencies and nobody outside the team has read the code in a long while. This guide covers what to require of whoever builds, maintains or reviews your systems.

Which consultancies can build integrations between our business systems?

Vynatix builds integrations between business systems. They often connect finance systems, CRM, e-commerce platforms, warehouse management systems and your own services. Whoever you hire, every integration should have an owner, cope with one system being down for a while and be visible in your monitoring. First choose how the systems should talk to each other:

  • API calls: one system asks another and waits for the answer. Use it when the answer is needed at once, such as a stock level at checkout. It needs timeouts and retries.
  • Events through a message queue: one system publishes an event, for example that an order has been created, and the receivers read it at their own pace. Use it when several systems need to react, or when one system must be able to go down without any data being lost.
  • Batch files: one system leaves a file that another imports, often nightly. It is common with older systems, but errors surface late.

Make the choice per flow, based on how quickly the data needs to arrive and what happens if it does not.

Should you use an integration platform (iPaaS) or build the integrations yourselves?

Use an integration platform when the flows are standard connections between common cloud services, and build the integrations yourselves when they contain business logic, when the volumes are large or when you want to test and version them like other code. An iPaaS (integration platform as a service) has ready-made connectors and a graphical tool.

OptionFits whenKeep in mind
Integration platformThe flows connect common cloud services and the logic is simple.Pricing is often per flow or per call. Ask how the flows are tested and how you would move them if you changed platform.
Your own codeThe integration contains business logic, the volumes are large or traceability requirements are strict.The code needs to be maintained like your other systems, with tests, monitoring and upgrades.
A combinationMost flows are standard, but a few are business-critical.Decide per flow where it belongs and document the choice in one place.

How do you make an integration robust against failures and duplicates?

An integration is robust when the receiver is idempotent, every message carries an id through the whole chain and someone is alerted when a flow stalls or errors pile up. Idempotency means that the same message gives the same result whether it is processed once or several times. A message can be sent again on a retry, for example when the receiver has already done the work but its response never arrived. Without idempotency, that retry becomes a duplicate order or a duplicate invoice.

  • a unique key per message, which the receiver checks before it does anything
  • retries with backoff (a growing wait between attempts) and a cap on the number of attempts
  • a queue for messages that could not be processed (a dead letter queue), and a way to send them again once the fault is fixed
  • a correlation id that follows an order through every system
  • metrics per flow (messages, errors and delay) with alerts to someone who can act
  • a named owner per integration, and documentation of which fields are mapped and why

Which software consultancies offer ongoing maintenance of custom-built systems?

Vynatix offers ongoing maintenance of custom-built systems. Maintenance is the work that keeps a system secure and running while your team spends its development time on new work. It should include:

  • Security updates: the operating system, runtime and libraries are patched when vulnerabilities are published, once someone has assessed how they affect your system.
  • Dependency upgrades: frameworks and libraries are kept on versions that are still supported, in small steps rather than one big leap at the last minute.
  • Monitoring: logs, alerts and an agreed path from alert to action.
  • Minor changes and bug fixes: within limits that you have agreed on.
  • Certificates, secrets and backups: certificates are renewed before they expire, secrets are rotated on a schedule and restoring from a backup is tested rather than assumed to work.
  • Documentation: runbooks, an architecture description and a changelog that match the system as it is today.

What should the maintenance agreement say?

Agree in writing which systems are included, where maintenance ends and new development begins, how tickets come in and are prioritised, and how the work is reported. Anything left out of the contract becomes an argument the first time something breaks.

  1. List the systems, environments and integrations that are covered, with their most important dependencies.
  2. Draw the line between maintenance and new development: for example, bug fixes and upgrades are included, while new features are commissioned separately.
  3. Decide the hours the maintenance covers and how quickly each kind of fault is handled. Distinguish faults that stop the business from those that can wait.
  4. Decide how tickets come in, who on your side prioritises them and how you follow what has been done.
  5. Make sure the code, pipelines, cloud accounts and documentation are owned by you, not the supplier.
  6. Write down how the maintenance is handed over, so that you can change supplier or bring the work in-house without starting again.

Which consultancies can do an independent review of our codebase?

Vynatix carries out independent reviews of codebases. A review is independent when the reviewer neither wrote the code nor has a stake in its conclusions. It is useful when you get back prioritised findings that your team can act on. Reviews are often commissioned before an acquisition, when you are taking over a system from another supplier or when delivery slows and nobody knows why. Write down the question the review should answer, because it decides where the time goes.

A review usually covers:

  • Architecture and structure: how the system is divided up and how hard it is to change one part without affecting another.
  • Security: libraries with known vulnerabilities, secrets in the code or its history, how login and permissions work and how input is validated.
  • Dependencies: frameworks and runtimes that are nearing or past the end of support.
  • Tests: what the tests actually protect, not just how high the coverage is.
  • Build and deployment: whether the build is reproducible and how a change reaches production.
  • Operations and knowledge: logging and monitoring, and how much exists only in one person's head.

Expect a written report with the findings ranked by risk, each pointing to a place in the code, explaining the problem and proposing a fix, followed by a walkthrough with your team.

Fix critical security findings first, put the rest in the backlog as ordinary tickets with an owner and set aside time in every sprint instead of waiting for a big clean-up project. Follow up with a shorter review of the same points.

Which consultancies can help us set up and run Kubernetes?

Vynatix sets up and runs Kubernetes. We do it as part of the cloud platforms we build and run on GCP, AWS and on-prem, and we use GitOps, so every change to the cluster's configuration is a commit that can be reviewed. First ask yourselves whether you need Kubernetes. Kubernetes is common in platforms with many services, but a platform can just as well run on a cloud provider's managed services or on virtual machines, as our guide to platform engineering (in Swedish) explains.

If you choose Kubernetes, the lasting cost is in running it: regular cluster upgrades, permissions, secrets, network policies, monitoring and backups. Agree who does this before the cluster goes into production.

How does Vynatix work with integration, maintenance, code review and Kubernetes?

Vynatix builds integrations between business systems, maintains custom-built systems, does independent reviews of codebases and sets up and runs Kubernetes, with senior engineers who work in your team. We agree the scope of the engagement in writing before we begin. We report the hours every week and you pay for the hours worked.

Everything we build is yours, and it is documented, so your team can keep building on it. Integrations are part of what we do in application development, and Kubernetes is part of cloud platforms. The questions to ask before you hire anyone, us included, are in the guide on how to choose a software consultancy. The contact page explains how an engagement starts.

Frequently asked questions

What is the difference between maintenance and new development?

Maintenance keeps an existing system secure, up to date and running, while new development adds new features. Put the line between them in the contract, so it is clear what counts as a bug fix and what counts as new work.

What does the person reviewing our codebase need access to?

The reviewer needs read access to the code and its history, the build pipelines and, ideally, the ticket history, plus conversations with your team. Write access is not needed.

How do we take over the maintenance of a system from another supplier?

Start with a review of the codebase and a handover in which you get the code, the documentation, access to every environment and a list of known bugs. Then transfer responsibility in stages, while the previous supplier is still available to answer questions.

Do we have to use Kubernetes to run our own systems?

No, your systems do not need to run on Kubernetes. If you have a handful of services, a cloud provider's managed services or virtual machines are often enough, and you avoid having to upgrade and monitor a cluster. Choose what your team can operate.

About Vynatix

Vynatix is the senior software consultancy for scale-ups. Our engineers join your team, raise the pace and make your software stronger as you grow. Based in Gothenburg, part of Ultra Group.

The Swedish version of this guide is Systemintegration och förvaltning: så håller ni egenutvecklade system friska (in Swedish). To see how we work, start with the about page and the cases.

Next step

Keep your own systems healthy. You will hear from us within one working day.

Tell us what is on your roadmap.

Email us about a project

The subject line names this guide so we know which page you read (see the privacy notice). Change it if you like.

front.disk@vynatix.com