Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Nwave’s APIs are based on three technologies

  1. HTTP

  2. AMQP

  3. GraphQL

Type

Technology

API

Advantages

Disadvantages

Typical applications

Push

HTTP

HTTP Caller

  • Simple

  • Common

  • Real-time updates

  • Limited performance at scale

  • Transformation of occupancy information to parking sessions is necessary

  • Raw sensor data transfer between backend systems

  • It is good for quick proof of concept demo integrations and tests

AMQP

RabbitMQ RTA & Sessions

  • Fast

  • Reliable

  • Scalable

  • Real-time updates

  • Requires setup and configuration of the RabbitMQ Server

  • Robust message bus between high load backend systems

  • Commercial billing information / SDI

Pull

HTTP

REST Occupancy

  • Simple

  • Common

  • Quick setup

  • Not suitable for real-time applications

  • Generates a lot of traffic and excessive server load when pulled frequently

  • Query-based method to get data when it is required, e.g. loading a page about a sensor, group or zone occupancy

Push & Pull

GraphQL

GraphQL Occupancy

  • Flexible

  • Traffic-Efficient

  • Real-time updates

  • Relatively new and less common

  • Modern and large user-based web and mobile apps

  • Real-time dashboards

HTTP Caller

Diagram:

Drawio
zoom1
simple0
inComment0
pageId1716125716
custContentId1716125796
lbox1
diagramDisplayNameHTTP Calling API short diagram.drawio
contentVer2
revision2
baseUrlhttps://nwaveio.atlassian.net/wiki
diagramNameHTTP Calling API short diagram.drawio
pCenter0
width711
links
tbstyle
height140.5

...