{"id":20127151,"url":"https://github.com/cloudamqp/websockets-rabbitmq-benchmarks","last_synced_at":"2026-04-15T21:31:58.721Z","repository":{"id":195951253,"uuid":"694020665","full_name":"cloudamqp/websockets-rabbitmq-benchmarks","owner":"cloudamqp","description":"Benchmark web-mqtt, web-stomp, and web-amqp","archived":false,"fork":false,"pushed_at":"2026-03-31T12:34:59.000Z","size":219,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-31T14:38:48.228Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/cloudamqp.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-20T07:11:24.000Z","updated_at":"2026-03-31T12:35:02.000Z","dependencies_parsed_at":"2023-10-03T18:43:44.260Z","dependency_job_id":"fbf4d921-81a4-4f20-b1a1-4b01bca3d8f5","html_url":"https://github.com/cloudamqp/websockets-rabbitmq-benchmarks","commit_stats":null,"previous_names":["cloudamqp/websockets-rabbitmq-benchmarks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloudamqp/websockets-rabbitmq-benchmarks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Fwebsockets-rabbitmq-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Fwebsockets-rabbitmq-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Fwebsockets-rabbitmq-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Fwebsockets-rabbitmq-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudamqp","download_url":"https://codeload.github.com/cloudamqp/websockets-rabbitmq-benchmarks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Fwebsockets-rabbitmq-benchmarks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31861339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-11-13T20:19:28.767Z","updated_at":"2026-04-15T21:31:58.704Z","avatar_url":"https://github.com/cloudamqp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Comparing the performances of web-mqtt, web-stomp and web-amqp. Metrics\n\n## Steps to run\n\n- Clone repo: `git clone https://github.com/cloudamqp/websockets-rabbitmq-benchmarks.git`\n- Navigate into project: `cd websockets-rabbitmq-benchmarks`\n- Install dependencies: `npm install`\n\n## Environment variables\n\nThe below values can be set either as OS env vars or in a `.env`\nfile. See [example](web_mqtt/.env-example)\n\n- set `BROKER_USERNAME` and `BROKER_PASSWORD` for credentials no matter which protocol you choose\n- set `MQTT_BROKER`, `STOMP_BROKER` or `AMQP_BROKER` respectively for\n  the full websocket URL (including protocol, host, port and path). For\n  example ```export STOMP_BROKER=ws://127.0.0.1:15674/ws```\n\n- set `VHOST` for the STOMP client\n\n## Usage\nYou can either test idle connections or connections with messages\n\n- Create n idle web-mqtt, web-stomp or web-amqp connections with:\n    ```npm run [command] [number of connections]```\n\n    Where [command] is one of: `mqtt-connections stomp-connections amqp-connections`\n\n- Create n connections(with messages flowing)  with:\n    ```npm run [command] [number of connections]```\n\n    Where [command] is one of: `mqtt-messages stomp-messages amqp-messages`\n\n## Bottlenecks\n\nFor better results, here are some bottlenecks to get rid of or minimize:\n\n- Reduce connection tcp buffer sizes to reduce memory usage\n- Increase the statistics collection interval - default is 5 secs\n- Raise the maximum number of file handles the RabbitMQ node can have open\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudamqp%2Fwebsockets-rabbitmq-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudamqp%2Fwebsockets-rabbitmq-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudamqp%2Fwebsockets-rabbitmq-benchmarks/lists"}