4 ms·
Great. Can we use pipes of commands for processing? Is it possible to avoid creating processes along the way - to have a sort of precompiled service in memory
by avmich 6y ago
Great.
Can we use pipes of commands for processing?
Is it possible to avoid creating processes along the way - to have a sort of precompiled service in memory, waiting for requests?
- beefsack 6y agoIt's possible to use pipes, as well as redirection, but you need to do something like: script-httpd bash -c 'some_command | some_other_command 2>&1' For having a longer running service in the background it might make more sense to just use something like nginx as a reverse proxy. It is something I've been pondering though.