Versions Compared

Key

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

Nwave provides four APIs to its clients. There are two main types of APIs – Push and Pull.

  1. Data is retrieved by a client from the source in Pull APIs.

  2. Data is sent by the source to a client in Push APIs.

Nwave’s APIs are based on three technologies

  1. HTTP

...

  1. AMQP

...

  1. GraphQL

...

Type

Protocol

API

Advantages

Disadvantages

Push

HTTP

HTTP Caller

  • Simple

  • Common

  • Real-time updates

  • Limited performance at scale

  • Transformation of occupancy information to parking sessions is necessary

AMQP

RabbitMQ Occupancy & Sessions

  • Fast

  • Reliable

  • Scalable

  • Real-time updates

  • Requires setup and configuration of the RabbitMQ Server

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

Push & PullHTTP & Websockets

GraphQL

GraphQL Occupancy

  • Flexible

  • Traffic-Efficient

  • Real-time updates

  • Relatively new and less common

...