{"id":18657845,"url":"https://github.com/lightsofapollo/sqs-playground","last_synced_at":"2025-11-05T22:30:22.120Z","repository":{"id":31896298,"uuid":"35465143","full_name":"lightsofapollo/sqs-playground","owner":"lightsofapollo","description":"Totally useless repo only for my personal testing","archived":false,"fork":false,"pushed_at":"2015-05-12T05:24:55.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-12-27T15:12:40.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/lightsofapollo.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}},"created_at":"2015-05-12T03:39:55.000Z","updated_at":"2015-05-12T03:40:13.000Z","dependencies_parsed_at":"2022-09-08T13:21:00.648Z","dependency_job_id":null,"html_url":"https://github.com/lightsofapollo/sqs-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2Fsqs-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2Fsqs-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2Fsqs-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsofapollo%2Fsqs-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightsofapollo","download_url":"https://codeload.github.com/lightsofapollo/sqs-playground/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239475960,"owners_count":19645041,"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":"2024-11-07T07:30:01.850Z","updated_at":"2025-11-05T22:30:22.087Z","avatar_url":"https://github.com/lightsofapollo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQS/SNS Playground...\n\nThe idea here was to see how easy it was to use sqs/sns together and how fast\nI could use them in a few different situations. In particular the workload I am\ntargeting takes 30-200s total so waiting a huge amount of time to start that work\nis a non starter.\n\nThe [code](/perf.js) is not particularly smart it creates a sqs queue\ndynamically and links it up to a sns topic (also created dynamically) creating a\n\"fanout\" model (note yes you can have infinity sqs queues!) then continues on\nsending and receiving messages in parallel (note no http optimization was done here).\n\nEach message contains a json encoded time that gets compared to the current time\nwhen we decode the message...\n\n\n## Results\n\nTaken over 2k messages.\n\n| Region | Median Round Trip* |\n| -------| -------------------|\n| same region | 0.33s |\n| us-east-1 | 0.757s |\n| my laptop | 0.541s |\n\n*Note that the round trip _includes_ the time to send the message simulating the use case of\nparallel sender/recievers (YMMV).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightsofapollo%2Fsqs-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightsofapollo%2Fsqs-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightsofapollo%2Fsqs-playground/lists"}