Title: Java 21 virtual threads instead of AGI thread pool · Issue #535 · asterisk-java/asterisk-java · GitHub
Open Graph Title: Java 21 virtual threads instead of AGI thread pool · Issue #535 · asterisk-java/asterisk-java
X Title: Java 21 virtual threads instead of AGI thread pool · Issue #535 · asterisk-java/asterisk-java
Description: I have a server with 2000-3000 simultaneously AGI connections. All of this threads is blocked 99.99% of time. Virtual threads will fit perfectly. Suggest: AbstractAgiServer protected void execute(Runnable command) { if (useVirtual) { Thr...
Open Graph Description: I have a server with 2000-3000 simultaneously AGI connections. All of this threads is blocked 99.99% of time. Virtual threads will fit perfectly. Suggest: AbstractAgiServer protected void execute(R...
X Description: I have a server with 2000-3000 simultaneously AGI connections. All of this threads is blocked 99.99% of time. Virtual threads will fit perfectly. Suggest: AbstractAgiServer protected void execute(R...
Opengraph URL: https://github.com/asterisk-java/asterisk-java/issues/535
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Java 21 virtual threads instead of AGI thread pool","articleBody":"I have a server with 2000-3000 simultaneously AGI connections. All of this threads is blocked 99.99% of time. \r\nVirtual threads will fit perfectly.\r\n\r\nSuggest:\r\nAbstractAgiServer\r\n\r\n```java\r\nprotected void execute(Runnable command) {\r\n if (useVirtual) {\r\n Thread.ofVirtual().start(command);\r\n } else {\r\n getPool().execute(command);\r\n }\r\n}\r\n```\r\n\r\nBut don't use threads for AMI Events processing because of high load.","author":{"url":"https://github.com/Adeptius","@type":"Person","name":"Adeptius"},"datePublished":"2023-09-24T11:12:48Z","url":"https://github.com/asterisk-java/asterisk-java/issues/535"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:946b0876-2649-9a71-94c8-3bf612f02712 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB92:14BE93:1D0950F:2876614:6AFD0C95 |
| html-safe-nonce | ed944097479d19361c4dc49e52c57471cd9f747c573ad0943a59a405a9c32a07 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjkyOjE0QkU5MzoxRDA5NTBGOjI4NzY2MTQ6NkFGRDBDOTUiLCJ2aXNpdG9yX2lkIjoiODU2OTk1MDQ1MDI2OTA5NzEwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 06b3d07112d2e4c63692b389d658b68feed80e9cfa0e8effff9250966e2472c9 |
| hovercard-subject-tag | issue:1910197093 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/asterisk-java/asterisk-java/535/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ffda7d9c73b2c623ac39aa1a5d74b81d59bd80c2e55cf92dd9450f20b3ca7e01/asterisk-java/asterisk-java/issues/535 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ffda7d9c73b2c623ac39aa1a5d74b81d59bd80c2e55cf92dd9450f20b3ca7e01/asterisk-java/asterisk-java/issues/535 |
| og:image:alt | I have a server with 2000-3000 simultaneously AGI connections. All of this threads is blocked 99.99% of time. Virtual threads will fit perfectly. Suggest: AbstractAgiServer protected void execute(R... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Adeptius |
| hostname | github.com |
| expected-hostname | github.com |
| None | b29de2abb97b6307b16270785efeb58b51a117d5a9b659acf00b77aa00e7043b |
| turbo-cache-control | no-preview |
| go-import | github.com/asterisk-java/asterisk-java git https://github.com/asterisk-java/asterisk-java.git |
| octolytics-dimension-user_id | 12164530 |
| octolytics-dimension-user_login | asterisk-java |
| octolytics-dimension-repository_id | 1195396 |
| octolytics-dimension-repository_nwo | asterisk-java/asterisk-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1195396 |
| octolytics-dimension-repository_network_root_nwo | asterisk-java/asterisk-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c9e619def6d670dc18a45d3b02cea938c1c7e47 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width