fermi-ad / acsys-python

Python module to access the Fermilab Control System
MIT License
8 stars 2 forks source link

DPM TCP interface #20

Closed beauremus closed 3 years ago

beauremus commented 3 years ago

A TCP interface for DPM will allow for more reliable delivery.

beauremus commented 3 years ago

Service discovery is an unsolved problem for TCP DPM connections. Can acsys-proxy fill this role?

rneswold commented 3 years ago

I thought that acsys-proxy would round-robin to the available DPMs. Wouldn't that serve as the service discovery?

rneswold commented 3 years ago

The TCP port for DPM should be moved, though. 6802 should still be used for ACNET connections (for Javascript clients, for instance.)

beauremus commented 3 years ago

Round robin is a simple starting place but it's not as useful as service discovery. We may be able to simply multicast a service discovery message from acsys-proxy.

beauremus commented 3 years ago

I agree with choosing a new port.

rneswold commented 3 years ago

Round robin is a simple starting place but it's not as useful as service discovery.

Okay, round-robin is a naive form of service discovery. I think we're both thinking the proxy task (which we're both including when mentioning the host, acsys-proxy) will perform the service discovery. Several possible options:

rneswold commented 3 years ago

Getting resolved in #32.