jeremyevans/by: Ruby Library Preloader
10-Feb-2023 851
by is a library preloader for Ruby designed to speed up process startup. It uses a client/server approach, where the server loads the libraries and listens on a UNIX socket, and the client connects to that socket to run a process. For each client connection, the server forks a worker process, which uses the current directory, stdin, stdout, stderr, and environment of the client process. The worker process then processes the arguments provided by the client. The client process waits until the worker process returns an exit code and closes the socket, and uses exit code 0 (normal exit) if the worker process indicates success, or exit code 1 (error) if the worker process indicates an error.
jeremyevans/by: Ruby Library Preloader #ruby #rubydeveloper #rubyonrails #jeremyevans/by: #Library #Preloader #library https://rubyonrails.ba/link/jeremyevans-by-ruby-library-preloader