Mapping communication options to responsiveness & interaction patterns

  • Updated

Introduction

When you're integrating a new edge technology, it's tempting to start with a simple technical question: "Which communication protocol should we use?" REST/HTTPS may seem like the obvious choice, TCP/IP may sound faster, MQTT may feel more real-time, and sometimes the technology supplier has already made the decision for you. But choosing the right communication method starts somewhere else: understanding how the technology needs to interact with the systems around it and how quickly it needs those systems to respond. A robot waiting for an immediate response before it can continue operating has very different integration requirements from a system submitting a task and carrying on while the work is processed asynchronously. This article looks at the communication options supported by the SOFTBOT Platform and, more importantly, how to select the option that best fits the responsiveness and interaction pattern your edge technology actually requires.

Overview

The SOFTBOT Platform supports multiple communication mechanisms across different architectural layers, but selecting the correct option depends on the required responsiveness and interaction pattern, not on transport availability.

The SOFTBOT Platform supports the following communication options:

  • Flat File
  • FTP
  • TCP/IP
  • HTTP
  • HTTPS
  • RabbitMQ
  • MQTT
  • Stored Database Procedure

Each of these communication options can be categorized into one of the following classes:

  • Transport / access mechanisms
  • Application‑level interaction protocols
  • Integration patterns
SOFTBOT
Platform
Communication
Option
DescriptionInteraction PatternResponsivess Category
Flat FileBatch integration patternAsynchronous, non‑blockingSeconds → minutes
FTPFile transfer transportAsynchronous, non‑blockingSeconds → minutes
TCP/IPTransport foundationN/A (enables others)Not listed directly
HTTP / HTTPSApplication protocolSynchronous request/response100 ms → 2s (with constraints)
RabbitMQMessaging platform (AMQP)Asynchronous messaging100 ms → minutes
MQTTPub/Sub messaging protocolEvent‑driven10s ms → seconds
Stored DB ProcedureDirect data access patternSynchronous, blocking<500 ms (local only)

Flat File

Type

Integration pattern (not a protocol)

  • Typically batch‑oriented
  • Execution is decoupled from the sender
  • No expectation of immediate response

Responsiveness and Interaction Patterns

  • Eventually consistent
  • Seconds to minutes
  • Asynchronous processing

Use Cases

  • Data volume is large
  • Timing is not critical
  • Human or scheduled workflows apply

🚨 Risk if misused:

  • Trying to “drive” real‑time or operational systems with flat files

 

FTP

Type

Transport mechanism for files

  • Still asynchronous
  • Still batch‑oriented
  • Slightly more interactive than flat files, but not meaningfully “fast”

Responsiveness and Interaction Patterns

  • Eventually consistent
  • Seconds to minutes
  • Asynchronous/non-blocking processing

Use Cases

  • System boundary is rigid
  • File exchange is required

Risk

  • Treating FTP as suitable for near‑real‑time integrations

TCP/IP

Type

Transport foundation.

All other communication options discussed on top of TCP/IP. TCP/IP is always present.

When integrating with the SOFTBOT Platform, we are really using a custom protocol over TCP/IP. 

Custom application protocols over TCP/IP are used when a system requires deterministic, ultra‑low‑latency behavior that standard application‑level protocols cannot reliably provide, and where the cost of full protocol ownership is justified.

Responsiveness and Interaction Patterns

  • <100 ms
  • Synchronous, deterministic, tightly-coupled

Use Cases

  • Robotics motion control
  • Industrial automation controllers
  • Safety interlocks
  • Legacy application integration

Risk

  • High engineering ownership and risk

 

HTTP / HTTPS

Type

Application‑level request/response protocol

Responsiveness and Interaction Patterns

Near Real-Time

  • 100–500 ms
  • Synchronous request/response
  • Strict constraints, local dependencies only

Minimal processing, local systems only, no chaining or fan‑out

Business Level Interactions

  • 500 ms – 2s
  • Business‑level interactions
  • Human‑scale workflows

Use Cases

  • Web UI actions (submit, save, approve)
  • Operator or admin tooling
  • Portal‑driven workflows
  • Creating orders
  • Submitting jobs or tasks
  • Querying business entities (orders, inventory, users)
  • Fetching reference data
  • Configuration reads
  • Reporting queries (non‑streaming)
  • Customer APIs
  • Partner access
  • Public or semi‑public interfaces

Risks

  • Tight responsiveness requirements combined with external dependencies
  • Polling used as a substitute for eventing

 

RabbitMQ

Type

Asynchronous messaging platform (AMQP). Strong, clear mapping.

With the distinction of being able to provide fast acknowledgment, but not necessarily fast competion.

Responsiveness and Interaction Pattern

  • 100–500 ms (acknowledgment)
  • Seconds to minutes (processing)
  • Asynchronous messaging

Use Cases

  • You must not block
  • Reliability and decoupling matter
  • Volume and burst handling are required

Risk

  • Assuming RabbitMQ provides immediate business completion

MQTT

Type

Lightweight pub/sub application protocol

Responsiveness and Interaction Pattern

  • Near‑real‑time
  • Event‑driven / publish‑subscribe
  • Tens of ms → seconds

Use Cases

  • Frequent small messages
  • Event updates
  • Fan‑out is expected

Risk

  • Treating MQTT like request/response
  • Expecting business confirmation inline

Stored Database Procedure

Type

Integration access pattern (not a protocol)

This is effectively direct synchronous coupling.

Responsiveness and Interaction Pattern

  • <500 ms responsiveness
  • Synchronous, blocking
  • Local dependencies only

Use Cases

  • Same database boundary
  • Tight transactional control
  • Very low latency required

Risk

  • Cross‑system or cross‑team dependency
  • Turns integration into shared‑database architecture

Was this article helpful?

0 out of 0 found this helpful