Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.08 KB

README.md

File metadata and controls

45 lines (26 loc) · 1.08 KB

UserGraphView Service

The main function of the UserGraphView service is to provide remote procedures to get the followers or followees of a user. This can only be accessed by other services of the application.


Database (userGraph)

Shares with UserGraphService

Shares with UserGraphService


Remote Procedure Calls

getMinions

Streams the followers of a user

  rpc getMinions(SingleUser) returns (stream Minions) {}

getMessiahs

Streams the followees of a user

  rpc getMessiahs(SingleUser) returns (stream Messiahs) {}

Architecture

gRPC over REST API

Since, this service only communicates with other services, and not external clients so gRPC will be fine because it is much lightweight than REST.

Architecture Diagram

userGraphView