dmerkushov / nanoservices

Apache License 2.0
3 stars 0 forks source link

FEATURE: Streaming data support #8

Open dmerkushov opened 4 years ago

dmerkushov commented 4 years ago

Problems solved by the feature

Describe the solution you'd like

  1. Service B publishes an endpoint (socket address) via lookup server
  2. Service A finds that endpoint via service lookup and connects to the endpoint
  3. Socket B sends new portions of data to every service (incl.A) connected to the endpoint
  4. As soon as service A doesn't need to get new portions of data, it disconnects from the endpoint

If no service is connected to the endpoint, service B forgets all portions of data it produces

Feature optionality The feature must be available to whichever nanoservice needs it, both subscribing and publishing variants.

dmerkushov commented 4 years ago

Blocked by #9

dmerkushov commented 4 years ago

Bushmin: B Petelin: B Merkushov: A