The GNU make jobserver coordinates the use of CPU cores in the parallel compilation of C,C++,Fortran,Rust, and other languages. However it uses a named read/write fifo instead of a tcp, udp, or unix socket. How hard is it to mount expose a fifo from one container to a set of others that need it? Looking at the python sdk and Dagger docs, I see that host unix sockets can be shared via Dagger Services, but nothing about fifos, and not how to expose unix sockets from a container. Is this possible?
#Could UNIX fifo’s be allowed as a service like Unix Sockets?
1 messages · Page 1 of 1 (latest)
hey robert! you can make use of fifo's by leveraging cache volumes across contaner executions.
If you create a fifo in a cache volume and share that, on the receiver side you're able to access that fifo socket and use it as needed
let me know if that makes sense