Skip to content

Wormhole Service Scope Definition

Shadi Mahmoodian edited this page Aug 14, 2018 · 5 revisions

General Definition

Wormhole is a message broker responsible for managing fire-and-forget system notifications while maintaining traceability and security.

Responsibility Matrix

The following table specifies which of the concerns should be addressed by the Wormhole, and which of them are irrelevant.

YES

  • Exposes HTTP endpoints (Input, Output, Management APIs*)
  • Activity history logging
  • Activity status report (more of a consumer oriented feature)
  • Server to server authentication by identity
  • Accounting
  • ACL (Authorization)
  • Retry (consumer level) / Delivery guarantee
  • Non-HTTP input/output channels* (Wormhole can read/write from/to Kafka, Redis,...)
  • Notification expiration (limits on notification validity)
  • Routing
  • JSON content type
  • Handle dynamic data (dynamic schema)
  • Support pub/sub
  • Broadcast (support global notifications)
  • Output load balancing

MAYBE

  • Scheduling / defer actions
  • Throttling* (Application level >> no specific usage for now)

NO

  • Response (result of wormhole api call) to caller
  • Reply
  • Graphical User Interface
  • Orchestration
  • Workflow
  • Service composition
  • Flexibility on content type

Management APIs >> Would be defined in 2 categories:

Publisher/consumer APIs

Administrative APIs

Non-http input/output channels >> Publishers and Consumers(subscribers) will decide on their preferred send/receive message channel.

Based on each channel, Wormhole provides its own policies.


Instances / Variations

At least one web instance. At least one background processor.

Communication protocol

Yet to be discussed

Open Issues / Problems

Clone this wiki locally