Commit Graph

3 Commits

Author SHA1 Message Date
Ben Marsh
320107efd8 Horde: Compute service refactor.
- Message framing changed back to use simple
- Support for multiplexing multiple requests over a single socket. Requests are tagged with an arbitrary channel id and routed to a queue for the appropriate IComputeChannel on the client.
- Clients can now request a message writer through the IComputeChannel interface, allowing pooling of write buffers for generating new messages and reducing data copies.
- Added accounting for machine resources in compute leases. Compute requests specify min/max desired resources, receive allocated resources in respoonse.
- Switched to AES-GCM for encryption. Message length is unencrypted but validated as part of the message packet.

#preflight none

[CL 24521844 by Ben Marsh in ue5-main branch]
2023-03-06 09:55:49 -05:00
Ben Marsh
d55712d7de EpicGames.Core: Fix warnings generating documentation.
#preflight none

[CL 24457120 by Ben Marsh in ue5-main branch]
2023-02-28 21:58:32 -05:00
Ben Marsh
101ffd3de1 Horde: Connect directly to agents when running remote execution leases, rather than having agents connect back to the initiator.
- Agents now accept incoming connections on a defined port, and match them up with nonces specified through leases assigned from the server.
- Requests for new compute resources now attempt to allocate a lease and return immediately with nonce and AES keys.

#preflight none

[CL 24452056 by Ben Marsh in ue5-main branch]
2023-02-28 16:43:25 -05:00