Commit Graph

2 Commits

Author SHA1 Message Date
Ben Marsh
acd415cc85 EpicGames.Core: Add a BackgroundTask implementation that returns a result. Also remove IDisposable implementation; callers should always prefer the IAsyncDisposable implementation.
[CL 28541092 by Ben Marsh in ue5-main branch]
2023-10-06 11:08:53 -04:00
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