platform icon indicating copy to clipboard operation
platform copied to clipboard

Create a more robust Service Controller package to support the "modular binary" approach

Open jrschumacher opened this issue 2 years ago • 4 comments

The POC was implemented quickly to demonstrate value. As we move towards production (including bringing in our other services) we need to consider building a more robust Service Controller.

Requirements are:

  • move logic from the start command to a logical package
  • support the modular binary approach
    • default behavior should be running a single instance (vertical scalability)
    • customer should be able to select the services they wish to start (horizontal scalability)
      • required for multi-kas and federation
  • handle graceful shutdown of services, panics, logging, etc

jrschumacher avatar Feb 08 '24 21:02 jrschumacher

@pflynn-virtru

what happens when the OPA engine goes down? Does the whole server get marked as unhealthy? Does it restart the OPA engine?

jrschumacher avatar Feb 08 '24 21:02 jrschumacher

I would also ask, can you run the platform without OPA? Seems that OPA is required for Authorization, but I could decouple my Policy API service from Authorization if desired.

jrschumacher avatar Feb 08 '24 21:02 jrschumacher

@jrschumacher Is this already done?

biscoe916 avatar Apr 30 '24 13:04 biscoe916

We could call it done or leave it open for further enhancements. Might be best to just open new issues when work is identified and time permits.

jrschumacher avatar Apr 30 '24 15:04 jrschumacher