{"id":17912590,"url":"https://github.com/symonk/go-concurrency-deep-dive","last_synced_at":"2025-07-23T11:06:05.407Z","repository":{"id":249376219,"uuid":"831330694","full_name":"symonk/go-concurrency-deep-dive","owner":"symonk","description":"A deep dive into go concurrency patterns","archived":false,"fork":false,"pushed_at":"2024-07-21T15:18:54.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-03T07:13:41.466Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/symonk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-07-20T08:39:07.000Z","updated_at":"2024-10-22T17:28:17.000Z","dependencies_parsed_at":"2024-10-28T19:56:17.433Z","dependency_job_id":null,"html_url":"https://github.com/symonk/go-concurrency-deep-dive","commit_stats":null,"previous_names":["symonk/go-concurrency-deep-dive"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/symonk/go-concurrency-deep-dive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symonk%2Fgo-concurrency-deep-dive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symonk%2Fgo-concurrency-deep-dive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symonk%2Fgo-concurrency-deep-dive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symonk%2Fgo-concurrency-deep-dive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/symonk","download_url":"https://codeload.github.com/symonk/go-concurrency-deep-dive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symonk%2Fgo-concurrency-deep-dive/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266665813,"owners_count":23964974,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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-10-28T19:46:05.178Z","updated_at":"2025-07-23T11:06:05.382Z","avatar_url":"https://github.com/symonk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Go Concurrency\n\nThis repository houses various golang concurrency pattern implementations.  If you are new to \nconcurrency in go, the optimal order to review the solutions is outlined below:\n\n-----\n\n### Patterns\n\n* [01 - Goroutines](goroutines/main.go)\n* [02 - Channels](channels/main.go)\n* [03 - Generators](generators/main.go)\n* [04 - Fan In](fan_in/main.go)\n* [05 - Restore Sequence](restore_sequence/main.go)\n* [06 - Select Timeout](select_timeout/main.go)\n* [07 - Quit Signal](quit_signal/main.go)\n* [08 - Daily Chain](daisy_chain/main.go)\n* [09 - Google Search Synchronous](google_search_synchronous/main.go)\n* [10 - Google Search Asynchronous](google_search_asynchronous/main.go)\n* [11 - Google Search Async Filtered](google_search_async_timeout/main.go)\n* [18 - Worker Pool](workerpool/main.go)\n\n-----\n\n### Pattern Overviews\n\n* `Goroutines` - A basic implementation of goroutines, running things asynchronously.\n* `Channels` - A communication mechanism between goroutines, sharing memory by communicating.\n* `Generators` - Python like generators, a function returns a channel to interact with it.\n* `Fan In` - Merging multiple goroutines results into a single channel for processing.\n* `Restore Sequence` - Fan in with a twist, allowing order of fanned channel results to be controlled.\n* `Select Timeout` - Giving a routine a period of time to finish else doing something else.\n* `Quit Signal` - Signally to a goroutine that it is time to stop potentially early.\n* `Daisy Chain` - Many goroutines, passing along messages like chinese whispers - confusing!\n* `Google Search Synchronous` - A synchronous implementation of basic google searching. \n* `Google Search Asynchronous` - Goroutines per search type and filtering in results.\n* `Google Search Asynchronous Filtered` - Omitting results that took too long.\n* ...\n* `Worker Pool` - Fan out work to multiple works to complete in parallel.\n\n\n\n### Learning Materials TODO\n\nMore materials to include in the repository, things I personally need to learn more about:\n\n - indepth channels\n - go scheduler, runtime and os thread specifics\n - daisy chain is confusing!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymonk%2Fgo-concurrency-deep-dive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymonk%2Fgo-concurrency-deep-dive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymonk%2Fgo-concurrency-deep-dive/lists"}