FreeTakServer icon indicating copy to clipboard operation
FreeTakServer copied to clipboard

Federation Between FTS Services

Open naman108 opened this issue 4 months ago • 2 comments

Notes

  • when starting the federation server service the following exception occurs exception in checking pipes dictionary changed size during iteration
  • In the TCP CoT Service, the CoTSharePipe is the variable used to communicate between services using the legacy IPC system.
  • Currently TCPCoTService does not use the CoTSharePipe therefore it's messages are not shared amongst the services using the legacy system.
  • The current component system used by the TCPCoTService receives messages in byte format ready to be sent to clients via the ZManager but the services can't handle bytes out of the box.

Solutions

Option 1

Update Federation Services to accept bytes and serialize them to protobuf Pros:

  • Simple
  • Minimal Change Scope

Cons:

  • Hacky
  • Adds Bloat

Option 2

Update TCP CoT Service to latest digitalpy and send options to federation service before serializing. Pros:

  • no updates to legacy code
  • necessary update

Cons:

  • requires more extensive changes

naman108 avatar Oct 04 '24 11:10 naman108