{"id":28585985,"url":"https://github.com/phusion/passenger-ruby-server-sent-events-demo","last_synced_at":"2026-03-16T18:33:20.854Z","repository":{"id":10145074,"uuid":"12221232","full_name":"phusion/passenger-ruby-server-sent-events-demo","owner":"phusion","description":"Phusion Passenger: HTML5 Server Side Events demo (Ruby version)","archived":false,"fork":false,"pushed_at":"2013-09-24T21:01:13.000Z","size":105,"stargazers_count":33,"open_issues_count":0,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-04-09T13:16:09.291Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/phusion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-19T16:12:36.000Z","updated_at":"2020-05-13T20:49:24.000Z","dependencies_parsed_at":"2022-09-17T17:52:04.659Z","dependency_job_id":null,"html_url":"https://github.com/phusion/passenger-ruby-server-sent-events-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phusion%2Fpassenger-ruby-server-sent-events-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phusion%2Fpassenger-ruby-server-sent-events-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phusion%2Fpassenger-ruby-server-sent-events-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phusion%2Fpassenger-ruby-server-sent-events-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phusion","download_url":"https://codeload.github.com/phusion/passenger-ruby-server-sent-events-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phusion%2Fpassenger-ruby-server-sent-events-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259211928,"owners_count":22822385,"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","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":"2025-06-11T06:12:42.583Z","updated_at":"2025-10-17T20:21:59.535Z","avatar_url":"https://github.com/phusion.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phusion Passenger Server Sent Events demo\n\nThis app demonstrates [Phusion Passenger's](https://www.phusionpassenger.com/) support for HTML5 Server Sent Events. Every second, the server sends us a random number. The app repeats sends at most 5 numbers per connection, but the browser keeps querying the server so the EventStream is infinite.\n\n## Getting started\n\n    bundle install\n    gem install passenger\n    passenger start\n\nThen visit http://127.0.0.1:3000/\n\n## Compatibility\n\n * This app uses plain Rack, and thus is framework agnostic.\n * Server Sent Events works on Phusion Passenger for Apache, Phusion Passenger for Nginx and Phusion Passenger Standalone.\n * At least version 4.0.5 of Phusion Passenger is required.\n\n## Multithreading and performance\n\nServer Sent Events works great on both the open source variant of Phusion Passenger, as well as on [Phusion Passenger Enterprise](https://www.phusionpassenger.com/). For optimal performance, Phusion Passenger Enterprise with multithreading is recommended. You should use the following settings for enabling multithreading. The more concurrent users you have, the higher your thread count should be. As a rule, your thread count should be at least the number of Server Sent Event sessions you have.\n\nApache:\n\n    PassengerConcurrencyModel thread\n    PassengerThreadCount 64\n\nNginx:\n\n    passenger_concurrency_model thread\n    passenger_thread_count 64\n\n## Feedback\n\nPlease join [the discussion forum](http://groups.google.com/group/phusion-passenger) if you have questions or feedback about this demo.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphusion%2Fpassenger-ruby-server-sent-events-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphusion%2Fpassenger-ruby-server-sent-events-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphusion%2Fpassenger-ruby-server-sent-events-demo/lists"}