Skip to content

Instantly share code, notes, and snippets.

@JarvisCraft
Created March 28, 2019 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JarvisCraft/add9c4175aa5eec6bc91ea3f320a717e to your computer and use it in GitHub Desktop.
Save JarvisCraft/add9c4175aa5eec6bc91ea3f320a717e to your computer and use it in GitHub Desktop.
Project April <Annotation Remote Procedure Call API>

Project April

Standard

Idea

Project April is an API invented for annotation-based approach in creating distributed services.

Terminology:

Remote procedure = Remote method = RP

Procedure (method) whose execution is delegated to a Data-provider server (most commonly, on other physical machine) via the Distributor server

Data-user( server) = DU

Server containing Remote procedures delegated to Distributor server. May be registered in Distributor server(s). Multiple may occur optionally joined by a single Data network.

Distributor( server) = DS

Server responsible for accepting requests for Remote procedure executionm processing them to Data-provider server(s) and returning the result (if any). Multiple may occur joined by a single Data network.

Data-provider( server) = DP

Server responsible for execution of procedures (methods) for whom the are local. Should be registered in Distribution server(s). Multiple may occur joined by a single Data network.

Data flow

Stream of data between Data-user, Distributor and Data-provider. Normally goes from the first to the last and backwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment