{"id":19268639,"url":"https://github.com/moolen/fcgipoold","last_synced_at":"2025-10-04T13:08:36.108Z","repository":{"id":146316755,"uuid":"103024038","full_name":"moolen/fcgipoold","owner":"moolen","description":"fcgi worker manager","archived":false,"fork":false,"pushed_at":"2017-09-10T11:27:58.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-28T09:44:39.407Z","etag":null,"topics":["fcgi","worker-pool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moolen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-10T11:27:47.000Z","updated_at":"2022-04-19T14:31:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"750ddadd-75b4-4763-a6ff-8c587842d80c","html_url":"https://github.com/moolen/fcgipoold","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moolen/fcgipoold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2Ffcgipoold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2Ffcgipoold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2Ffcgipoold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2Ffcgipoold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moolen","download_url":"https://codeload.github.com/moolen/fcgipoold/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2Ffcgipoold/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278315811,"owners_count":25966870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fcgi","worker-pool"],"created_at":"2024-11-09T20:16:57.045Z","updated_at":"2025-10-04T13:08:36.057Z","avatar_url":"https://github.com/moolen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## fcgipoold\n\nThis package is a [fcgi](https://fast-cgi.github.io/)-multiplexer that maintains a pool of fcgi worker processes while exposing a single fcgi interface. This kinda similar to apache's [fcgid module](https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html) or [php-fpm](https://php-fpm.org/) and can be used e.g. with nginx. This is the missing link between a webserver and processes that implement the fcgi protocol.\n\n### Getting started\n\nWhile being in the root dir of this repository run `go build cmd/pool/poold.go` and `go build cmd/client/client.go` to have the binaries in this directory and then run the poold process with `./poold -c ./client -n 10 -s 8000 -r 50`. You should have a webserver running that forwards the incoming http requests via fcgi to a different process. See below for a nginx configuration. The next step assumes that you have nginx setup with the configuration below.\n\nTo test that everything is setup properly and runs fine run `curl http://localhost` and `curl -X POST http://localhost`. That should output `Hello from FCGI child` and `Hello from FCGI child via POST` respectively.\n\nexample nginx configuration\n```\nserver {\n    listen       80;\n    server_name  localhost;\n    location / {\n            fastcgi_param SERVER_PROTOCOL $server_protocol;\n            fastcgi_param REQUEST_METHOD $request_method;\n            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n            fastcgi_pass 127.0.0.1:9000;\n    }\n}\n```\n\n### Limitiations \u0026 Status\nThis is a experimental POC and at this point in time only simple HTTP GET and POST Requests are supported. Feel free to contribute.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoolen%2Ffcgipoold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoolen%2Ffcgipoold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoolen%2Ffcgipoold/lists"}