{"id":21497447,"url":"https://github.com/jetty-project/selector-hack","last_synced_at":"2026-05-17T12:05:43.925Z","repository":{"id":37958693,"uuid":"299639771","full_name":"jetty-project/selector-hack","owner":"jetty-project","description":"Experimental project demonstrating how to hack the Selector within Eclipse Jetty","archived":false,"fork":false,"pushed_at":"2024-11-04T16:24:13.000Z","size":164,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-23T22:14:18.873Z","etag":null,"topics":["experimental","selector","selector-hack","windows","workaround"],"latest_commit_sha":null,"homepage":"","language":"Java","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/jetty-project.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":"2020-09-29T14:17:59.000Z","updated_at":"2024-07-22T17:26:29.000Z","dependencies_parsed_at":"2023-11-13T17:28:55.185Z","dependency_job_id":"44766d5b-3c47-4224-b23e-8ee8d78e21ec","html_url":"https://github.com/jetty-project/selector-hack","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/jetty-project%2Fselector-hack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jetty-project%2Fselector-hack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jetty-project%2Fselector-hack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jetty-project%2Fselector-hack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jetty-project","download_url":"https://codeload.github.com/jetty-project/selector-hack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244031871,"owners_count":20386674,"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":["experimental","selector","selector-hack","windows","workaround"],"created_at":"2024-11-23T16:24:03.192Z","updated_at":"2026-05-17T12:05:38.882Z","avatar_url":"https://github.com/jetty-project.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Experimental Selector Hack for Eclipse Jetty\n\nOn some machines, the NIO Selector shows signs of a buggy implementation\nthat spuriously wakes up the selector to report 0 selected keys.\nThe symptoms of this kind of OS / Network driver bug is 100% CPU usage.\n\nExample: https://github.com/eclipse/jetty.project/issues/2205\n\nThis repository contains an experimental ServerConnector that will\nrebuild there are consecutive select of 0 that exceeds `WorkaroundManagedSelector.MAX_NO_SELECT`.\n\nTo use this alternate ServerConnector would require substituting usages of\n`org.eclipse.jetty.server.ServerConnector` with the special one provide in here\n`org.eclipse.jetty.server.WorkaroundServerConnector`.\n\n**NOTICE:** Do not use this workaround if you don't have the above mentioned bugs on your\nsystem, as the performance of this workaround will negatively impact systems without\nthe selector bug. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetty-project%2Fselector-hack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjetty-project%2Fselector-hack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetty-project%2Fselector-hack/lists"}