Integrations, data and cloud
We write about connecting a company's systems and moving them to the cloud: Kafka, APIs, ERP and EDI integrations, database migrations and Kubernetes. We also cover data quality, cloud costs and backups, because they decide whether a migration pays off.
18 articles · B2Bnetwork team
18 articles
- 01ESB or event-driven architecture: when to replace the integration busReplace an ESB when every integration change waits in a queue for one team, not because the bus is old. Event-driven architecture works when many systems need the same business facts, for example “payment posted”, and react to them independently. An ESB handles synchronous calls with transformation and orchestration better. In practice, companies run both models side by side for years and carry out the migration flow by flow.6 min
- 02Apache Kafka in the enterprise: the first architecture decisionsThe first decisions with Apache Kafka concern five things: how to name and split topics, which key to choose for partitioning, how long to keep events, how to describe and version their schema, and which delivery guarantees are needed. These choices are hard to change once a dozen or so consumers work on a topic. Installing the cluster itself is the smaller problem: you can buy it as a managed service or run it yourself.6 min
- 03REST, GraphQL or gRPC: how to choose an API styleREST is the default choice for public and partner APIs, because every HTTP client can use it and responses can be cached. GraphQL pays off when many front-end applications need different slices of the same data. gRPC works well for communication between services inside a company, where low latency, a strict contract and streaming matter. Many companies use all three: each where it fits the client and the traffic.6 min
- 04Cloud migration strategies: from rehost to refactorCloud migration is planned application by application, not as a single decision for the whole company. Each application is assigned one of seven strategies: retire, retain, move unchanged (rehost), move the whole platform (relocate), buy a ready-made service (repurchase), move with minor changes (replatform) or rebuild (refactor). Rehost and relocate are the fastest, refactor usually brings the greatest gain, but also costs the most and takes the longest.6 min
- 05Kubernetes in the enterprise: when it makes senseKubernetes makes sense when a company runs many services in containers, several teams deploy them independently, and traffic varies enough that autoscaling and self-healing deliver real value. With a few applications and one team, a simpler platform is usually enough: a cloud provider's container service or virtual machines with automated deployment. The cost of Kubernetes is not a license but people: upgrades, security, networking and cluster monitoring.6 min
- 06Data quality: how to measure and improve itData quality is measured with rules that return a number: the percentage of records that are complete, valid, consistent, timely and unique. Each rule has a threshold, an owner and a place in the data pipeline where it is checked automatically. Improvement means removing causes in the source system, not manually cleaning a report before every month-end close. Start with the data that feeds regulatory reports or decisions about money.6 min
- 07Change data capture: capturing database changes without loading the systemChange Data Capture (CDC) reads changes in a database, meaning inserts, updates, and deletes, and passes them on to other systems. The best variant reads the database transaction log rather than the tables themselves, so it adds no queries to the production system and does not miss deletes. This is how you can feed a data warehouse, a search engine, or an event platform without changing the code of a legacy application. The typical open source tool is Debezium running on Kafka Connect.6 min
- 08FinOps: how to keep cloud costs under controlFinOps is a way of managing cloud costs in which engineers, finance, and the business share responsibility for spending. It starts with assigning every unit of spend to a team, product, or environment, and then moves to optimization: rightsizing, shutting down unused resources, and commitments for steady workloads. The FinOps Foundation framework describes this in three phases: Inform, Optimize, and Operate. The goal is not the lowest bill but a cost that grows more slowly than business value.6 min
- 09Infrastructure as code: Terraform, testing and change reviewInfrastructure as code means that networks, machines, databases, and permissions are described in files in a repository, and changes are applied by a tool, not by a person in a console. In Terraform, the most important decisions at the start are where state is stored, how to split into modules and environments, and the rule that every change goes through a pull request with a plan to review. On top of that come tests, policies in the CI pipeline, and regular drift detection.7 min
- 10ERP integration: patterns and pitfallsERP integration works well when it uses the interfaces the system vendor provides, has agreed master data, and tolerates repeated messages. There are four patterns to choose from: file exchange, API calls, asynchronous messages, and events. Most problems come not from the technology but from the data: different item codes, units of measure, statuses, and no single owner of the master records. The most dangerous antipattern is writing directly to ERP tables.6 min
- 11Data mesh: when decentralizing data makes senseData mesh is a way of organizing data in which domain teams (sales, claims, production) own analytical data instead of a single central data warehouse team. Each domain publishes its data as a product with an owner, documentation and quality guarantees, on a shared platform and under shared rules. It makes sense in a large company with many domains where the central data team has become a bottleneck. In a company with one warehouse and a handful of sources it usually just adds cost.6 min
- 12ETL vs. ELT: how to choose the way you load dataETL and ELT differ in where data is transformed. In ETL, data is cleaned and joined in a separate tool before it is loaded into the warehouse. In ELT, raw data lands in the warehouse or lakehouse first, and the target database itself runs the transformations, usually in SQL. ELT suits modern cloud warehouses with elastic compute. ETL wins when the target has limited capacity or when sensitive data must not be loaded in raw form.6 min
- 13Oracle to PostgreSQL migration: plan and risksMigrating from Oracle to PostgreSQL is mostly a rewrite of code inside the database, not a data move. Tools convert tables and data well; most of the work and risk sits in PL/SQL packages, triggers, Oracle-specific SQL and behavioral differences, such as Oracle treating an empty string as NULL while PostgreSQL does not. A safe plan has five stages: inventory, schema and code conversion, data migration with change replication, comparison testing, and cutover with a fallback plan.6 min
- 14Hybrid cloud and multicloud: when they solve a problem and when they are just costHybrid cloud combines your own data center or private cloud with a public cloud. Multicloud means using at least two public cloud providers. Both models make sense when they answer a specific requirement: data that must stay on premises, systems that cannot be moved, an exit plan required by a regulator, or a service only one provider offers. Chosen "just in case", they multiply the cost of networking, tooling, security and team skills.6 min
- 15API gateway: role, patterns and common misconfigurationsAn API gateway is a single entry point between clients and services. It acts as a reverse proxy: it routes requests to the right services and takes over shared concerns such as authentication, TLS, rate limiting, logging and caching. Services stop repeating the same logic, and clients know one address. The most common mistakes are a gateway that can be bypassed, business logic in gateway rules, badly configured limits and retries of requests that are not idempotent.6 min
- 16EDI integration with trading partners: EDIFACT, APIs and testingEDI (electronic data interchange) is the automated exchange of business documents, such as purchase orders, dispatch advices and invoices, between two companies' systems in an agreed format. In Europe the foundation is UN/EDIFACT, a standard published by UNECE, and in retail its GS1 EANCOM subset. In practice an EDI rollout means three pieces of work: mapping messages to the ERP, choosing a transport (for example AS2) and testing with every partner, because each retail chain has its own implementation guide.6 min
- 17Master data management (MDM): one version of the customer and the productMaster data management (MDM) is the set of processes, roles and tools that keep one agreed version of a company's key objects: customer, supplier, product, location. Master data changes rarely, but every transaction uses it, so one error in a master record repeats itself in orders, invoices and reports. MDM merges records from many systems into a golden record, decides which source wins for each field and assigns an owner who is accountable for correctness.6 min
- 18Cloud backups: the 3-2-1 rule and restore testingThe 3-2-1 rule says: keep three copies of important data (the original and two backups), on two different types of media, with one of them away from the primary site. In the cloud that means backups in a separate account or subscription, in another region, locked against deletion and out of reach of the same administrator credentials. A backup nobody has restored is only an assumption, so restore tests that measure time and data completeness have to run regularly.7 min
Didn't find the answer to your question?
Tell us what you're dealing with. An engineer who has worked on a similar system will answer.