{"id":37029437,"url":"https://github.com/pronghorn-tech/coroutines","last_synced_at":"2026-01-14T03:32:09.934Z","repository":{"id":57743191,"uuid":"103337455","full_name":"pronghorn-tech/coroutines","owner":"pronghorn-tech","description":"A Kotlin framework for development of high performance, IO-driven applications.","archived":false,"fork":false,"pushed_at":"2018-04-24T20:21:00.000Z","size":249,"stargazers_count":34,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-01-23T00:11:49.259Z","etag":null,"topics":["coroutines","framework","kotlin","performance"],"latest_commit_sha":null,"homepage":"https://www.pronghorn.tech","language":"Kotlin","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/pronghorn-tech.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}},"created_at":"2017-09-13T01:18:49.000Z","updated_at":"2024-01-23T00:11:49.260Z","dependencies_parsed_at":"2022-09-12T10:50:57.608Z","dependency_job_id":null,"html_url":"https://github.com/pronghorn-tech/coroutines","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/pronghorn-tech/coroutines","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronghorn-tech%2Fcoroutines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronghorn-tech%2Fcoroutines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronghorn-tech%2Fcoroutines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronghorn-tech%2Fcoroutines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pronghorn-tech","download_url":"https://codeload.github.com/pronghorn-tech/coroutines/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronghorn-tech%2Fcoroutines/sbom","scorecard":{"id":746945,"data":{"date":"2025-08-18","repo":{"name":"github.com/pronghorn-tech/coroutines","commit":"65ee5f136ccfabe571777f1eb8c1ffcb71f2ef2c"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":2.9,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/8 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T19:06:27.982Z","repository_id":57743191,"created_at":"2025-08-22T19:06:27.982Z","updated_at":"2025-08-22T19:06:27.982Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["coroutines","framework","kotlin","performance"],"created_at":"2026-01-14T03:32:09.304Z","updated_at":"2026-01-14T03:32:09.925Z","avatar_url":"https://github.com/pronghorn-tech.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pronghorn Coroutine Framework\nThe Pronghorn Coroutine Framework is a [Kotlin](https://kotlinlang.org/) framework for development of high performance, IO-driven applications. It is opinionated about its threading model, and currently does not support blocking operations.\n\n_Note: Pronghorn is still considered early in development.  As such, documentation is minimal and APIs may change.  Pronghorn is actively being used by a private project, and so it will continue being developed.  If you are interested it is recommended that you follow the project for updates.  Documentation will be forthcoming when the API stabilizes._\n\n## Use Cases\nThis framework is best suited for IO-driven applications where high performance is critical. For instance, [a web server](https://github.com/pronghorn-tech/server).\n\n## Usage\nPronghorn is available via [Maven Central](http://search.maven.org/#artifactdetails%7Ctech.pronghorn%7Ccoroutines%7C0.2.1%7Cjar).  The current version is `0.2.1`.\n\n# Overview\nApplications built with the framework consist of one or more services each running on a set of workers, typically one worker per thread. Shared data is minimized between workers allowing each worker's services to function without synchronization mechanisms.\n\n## Getting Started\nThe following is a simple Hello World example of a Pronghorn Coroutine Framework application.\n\n```kotlin    \nclass ExampleApplication(workerCount: Int): CoroutineApplication\u003cExampleWorker\u003e() {\n    override val workers: Set\u003cExampleWorker\u003e = (0 until workerCount).map { ExampleWorker() }.toSet()\n}\n```\n\nLet's start by defining an ExampleApplication class that extends the CoroutineApplication abstract class. This generic class takes a type parameter declaring what type of worker this application will use. In addition, the number of workers to spawn, and a method that produces new workers must be defined.\n\n```kotlin\nclass ExampleWorker : CoroutineWorker(){\n    override val initialServices = listOf(ExampleService(this))\n}\n```\n\nNext, an ExampleWorker class worker extends the CoroutineWorker abstract class, and at a minimum must define a list of services to run.\n\n```kotlin\nclass ExampleService(override val worker: CoroutineWorker) : IntervalService(Duration.ofSeconds(1)){\n    override fun process() {\n        println(\"${Date().toInstant()} : Hello World from worker ${worker.workerID}\")\n    }\n}\n```\n\nThis ExampleService is an IntervalService, one of several available service types. This one runs its process() function on the requested interval.\n\n```kotlin\nfun main(args: Array\u003cString\u003e) {\n    val workerCount = Runtime.getRuntime().availableProcessors()\n    val app = ExampleApplication(workerCount)\n    app.start()\n}\n```\n\nFinally, we'll instantiate the application, and start it. Since the workerCount here is defined by the number of available processors, on a dual core machine this would produce output similar to :\nv\n```\n2017-09-14T02:41:47.734Z : Hello World from worker 1\n2017-09-14T02:41:47.734Z : Hello World from worker 2\n...\n2017-09-14T02:41:48.734Z : Hello World from worker 2\n2017-09-14T02:41:48.734Z : Hello World from worker 1\n...\n2017-09-14T02:41:49.734Z : Hello World from worker 2\n2017-09-14T02:41:49.734Z : Hello World from worker 1\n```\n\n# Releases\n\n_This section will be populated in the future._\n\n# ServiceTypes\n\n_This section will be populated in the future._\n\n# License\nCopyright 2017 Pronghorn Technology LLC\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpronghorn-tech%2Fcoroutines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpronghorn-tech%2Fcoroutines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpronghorn-tech%2Fcoroutines/lists"}