{"id":22609613,"url":"https://github.com/prdn/pigato-ruby","last_synced_at":"2025-08-27T05:05:02.440Z","repository":{"id":28301255,"uuid":"31813885","full_name":"prdn/pigato-ruby","owner":"prdn","description":"PIGATO - an high-performance microservices framework for Ruby, Node.js and Io.js","archived":false,"fork":false,"pushed_at":"2016-11-10T19:05:51.000Z","size":52,"stargazers_count":11,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T06:44:58.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://prdn.github.io/pigato/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prdn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-07T14:08:16.000Z","updated_at":"2024-08-16T00:17:14.000Z","dependencies_parsed_at":"2022-09-18T01:32:09.605Z","dependency_job_id":null,"html_url":"https://github.com/prdn/pigato-ruby","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/prdn/pigato-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdn%2Fpigato-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdn%2Fpigato-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdn%2Fpigato-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdn%2Fpigato-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prdn","download_url":"https://codeload.github.com/prdn/pigato-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prdn%2Fpigato-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272293511,"owners_count":24908635,"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-08-27T02:00:09.397Z","response_time":76,"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":[],"created_at":"2024-12-08T15:13:52.825Z","updated_at":"2025-08-27T05:05:02.409Z","avatar_url":"https://github.com/prdn.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PIGATO-RUBY - Ruby Client / Worker for PIGATO\n\n[![PIGATO](http://ardoino.com/pub/pigato-ruby-200.png)](https://github.com/prdn/pigato-ruby)\n\n**PIGATO - an high-performance microservices framework based on ZeroMQ**\n\nPIGATO aims to offer an high-performance, reliable, scalable and extensible service-oriented framework supporting multiple programming languages: Node.js/Io.js and Ruby.\n\n* [Official PIGATO project page](http://prdn.github.io/pigato/) \n* [Node.js and io.js broker/client/worker](https://github.com/prdn/pigato)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'pigato'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install pigato\n\n## API\n\n### Client\n#### `Pigato::Client.new(addr, conf)`\n\n**Example**\n\n```\nrequire \"rubygems\"\nrequire \"pigato\"\n\nclient = Pigato::Client.new('tcp://localhost:55555', { :autostart =\u003e 1 })\nclient.request('echo', 'Hello world', { 'nocache' =\u003e 1 })\n```\n\n### Worker\n#### `Pigato::Worker.new(addr, serviceName)`\n\n**Example**\n\n```\nworker = Pigato::Worker.new('tcp://localhost:55555', 'echo')\nreply = nil\n\nloop do\n  request = worker.recv reply\n  worker.reply request\nend\n```\n\n## Usage\n\nIn order to run the example you need to run Node.js PIGATO example Broker from the [main project](https://github.com/prdn/pigato/tree/master/examples)\n\nExample client/worker echo:\n\n* `examples/echo_client.rb`\n* `examples/echo_worker.rb`\n\n## Contributing\n\n1. Fork it ( https://github.com/[my-github-username]/pigato/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprdn%2Fpigato-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprdn%2Fpigato-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprdn%2Fpigato-ruby/lists"}