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 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 | Description | Interaction Pattern | Responsivess Category |
|---|---|---|---|
| Flat File | Batch integration pattern | Asynchronous, non‑blocking | Seconds → minutes |
| FTP | File transfer transport | Asynchronous, non‑blocking | Seconds → minutes |
| TCP/IP | Transport foundation | N/A (enables others) | Not listed directly |
| HTTP / HTTPS | Application protocol | Synchronous request/response | 100 ms → 2s (with constraints) |
| RabbitMQ | Messaging platform (AMQP) | Asynchronous messaging | 100 ms → minutes |
| MQTT | Pub/Sub messaging protocol | Event‑driven | 10s ms → seconds |
| Stored DB Procedure | Direct data access pattern | Synchronous, 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.
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