{"id":26658183,"url":"https://github.com/vipul-sharma20/async-go-py","last_synced_at":"2025-04-11T13:07:55.428Z","repository":{"id":76064370,"uuid":"100758319","full_name":"vipul-sharma20/async-go-py","owner":"vipul-sharma20","description":"Async: Coroutines vs Goroutines","archived":false,"fork":false,"pushed_at":"2017-09-03T18:10:33.000Z","size":13,"stargazers_count":11,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T14:46:52.444Z","etag":null,"topics":["async","coroutine","go","golang","goroutine","python","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vipul-sharma20.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2017-08-18T23:59:53.000Z","updated_at":"2020-09-30T07:32:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac1ef5de-7112-4236-aa98-248608aa3047","html_url":"https://github.com/vipul-sharma20/async-go-py","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/vipul-sharma20%2Fasync-go-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipul-sharma20%2Fasync-go-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipul-sharma20%2Fasync-go-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vipul-sharma20%2Fasync-go-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vipul-sharma20","download_url":"https://codeload.github.com/vipul-sharma20/async-go-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248404499,"owners_count":21097762,"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":["async","coroutine","go","golang","goroutine","python","python3"],"created_at":"2025-03-25T09:18:55.320Z","updated_at":"2025-04-11T13:07:55.418Z","avatar_url":"https://github.com/vipul-sharma20.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"async-go-py\n===========\n\nComparing Go's goroutines and Python's coroutines.\n\nCheckout analysis at: [http://vipul.xyz/2017/09/performance-analysis-goroutine-pythons-coroutine.html](http://vipul.xyz/2017/09/performance-analysis-goroutine-pythons-coroutine.html)\n\n\nGolang\n------\n\nUsing `net/http` package\n\nPython3\n-------\n\nUsing `urllib3`, `requests` and `aiohttp` libraries\n\nAnalysis\n--------\n\n### Async/Sync HEAD requests (time in seconds) ###\n\n[![oh no](http://i.imgur.com/pI2SV5J.png)](http://i.imgur.com/pI2SV5J.png)\n\n### Async/Sync GET requests (time in seconds) ###\n\n[![oh no](http://i.imgur.com/QoQ9o2R.png)](http://i.imgur.com/QoQ9o2R.png)\n\n### Async/Sync HEAD requests (memory in MB) ###\n\n[![oh no](http://i.imgur.com/hPffv48.png)](http://i.imgur.com/hPffv48.png)\n\n### Async/Sync GET requests (memory in MB) ###\n\n[![oh no](https://i.imgur.com/vTTn4JZ.png)](https://i.imgur.com/vTTn4JZ.png)\n\nThanks to\n---------\nPeople who helped me understand important concepts\n\n* Brett Cannon: [How the heck async/await works](https://snarky.ca/how-the-heck-does-async-await-work-in-python-3-5/)\n* Abu Ashraf Masnun: [Concurrency in Python](http://masnun.rocks/2016/10/06/async-python-the-different-forms-of-concurrency/)\n* Nathan Leclaire: [Go channels](https://nathanleclaire.com/blog/2014/02/21/how-to-wait-for-all-goroutines-to-finish-executing-before-continuing-part-two-fixing-my-ooops/)\n* People on Reddit :')\n\nLICENSE\n-------\n\nThis project is licensed under MIT License:\n\nCopyright (c) 2017-2018: Vipul Sharma\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvipul-sharma20%2Fasync-go-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvipul-sharma20%2Fasync-go-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvipul-sharma20%2Fasync-go-py/lists"}