Glossary
Middleware
Middleware is a shared layer between systems that routes, translates and secures the data they exchange, so each system does not have to deal with every other one.
Also called: middleware layer, integration middleware
Middleware sits between two or more systems and takes care of how they exchange data. It receives messages, translates them into a format the other side understands, decides where they should go and records what passed through. The systems do not need to know each other, only the middleware.
The benefit is that connecting several systems does not produce a web of direct links in which a change to one system ripples everywhere. Middleware is also a natural place for shared error handling, retries of failed transfers, queues and monitoring of data flows. The price is one more component to run, document and maintain.
For two systems with a simple exchange, a direct connection through an API is often the more sensible choice. Middleware pays off when there are more systems, when formats differ, or when reliable delivery and visibility of the transfer matter.
Facing a similar challenge?
We will be happy to look at your project and propose a solution.