You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The delay on the client affords one liveness check but not two serially which is what is currently happening for registrations received over the decoy registration channel then shared over the registration API.
We need to reduce this to one liveness check.
Possible Solutions
Option 1
Add a flags field. to the clientToApi structure to indicate that a registration has or has not been scanned.
Option 2
Create a new registration endpoint for registrations coming from stations, when distributed are given the RegistrationSource_DetectorPrescan tag in the ZMQPayload to indicate to stations not to scan them. The API endpoint to share registrations over is defined in the station application config file.
Option 3
Add RegistrationSource as a field to ClientToApi effetively merging it with ZMQPayload and allow clients of the API to specify the RegistrationSource, i.e. allow stations sharing registrations over the API to use the RegistrationSource_DetectorPrescan to indicate that the registration has already been checked for liveness and stations don't need to do it again.
Option 4
Perform liveness scan on registration API machine, stations accept any registrations from API without scanning.
Issue
The delay on the client affords one liveness check but not two serially which is what is currently happening for registrations received over the decoy registration channel then shared over the registration API.
We need to reduce this to one liveness check.
Possible Solutions
Option 1
Add a flags field. to the clientToApi structure to indicate that a registration has or has not been scanned.
Option 2
Create a new registration endpoint for registrations coming from stations, when distributed are given the
RegistrationSource_DetectorPrescan
tag in the ZMQPayload to indicate to stations not to scan them. The API endpoint to share registrations over is defined in the station application config file.Option 3
Add
RegistrationSource
as a field toClientToApi
effetively merging it withZMQPayload
and allow clients of the API to specify theRegistrationSource
, i.e. allow stations sharing registrations over the API to use theRegistrationSource_DetectorPrescan
to indicate that the registration has already been checked for liveness and stations don't need to do it again.Option 4
Perform liveness scan on registration API machine, stations accept any registrations from API without scanning.
Relevant Code locations
Registration api translates ClientToSpi to ZMQPayload
Station App attempts to check for
DetectorPrescan
registration sourceStation creates ClientToAPI for sharing registrations
Station shares registrations over API
The text was updated successfully, but these errors were encountered: