{"id":13807282,"url":"https://github.com/vert-x3/vertx-sync","last_synced_at":"2025-05-14T00:31:09.056Z","repository":{"id":2505381,"uuid":"36552538","full_name":"vert-x3/vertx-sync","owner":"vert-x3","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-29T13:52:06.000Z","size":1364,"stargazers_count":97,"open_issues_count":14,"forks_count":37,"subscribers_count":34,"default_branch":"4.x","last_synced_at":"2025-04-29T14:51:41.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/vert-x3.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2015-05-30T09:49:51.000Z","updated_at":"2025-04-29T13:52:10.000Z","dependencies_parsed_at":"2023-11-15T17:41:23.237Z","dependency_job_id":"628b01f7-1d94-4c3a-b022-a300725a5c82","html_url":"https://github.com/vert-x3/vertx-sync","commit_stats":null,"previous_names":[],"tags_count":123,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vert-x3%2Fvertx-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vert-x3%2Fvertx-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vert-x3%2Fvertx-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vert-x3%2Fvertx-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vert-x3","download_url":"https://codeload.github.com/vert-x3/vertx-sync/tar.gz/refs/heads/4.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254046264,"owners_count":22005566,"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":[],"created_at":"2024-08-04T01:01:23.597Z","updated_at":"2025-05-14T00:31:04.033Z","avatar_url":"https://github.com/vert-x3.png","language":"Java","readme":"[CAUTION]\n====\nThis project is now deprecated with the https://github.com/puniverse/quasar[Quasar project] being effectively abandoned in Vert.x 4 and removed in Vert.x 5.\n\nUse https://github.com/vert-x3/vertx-virtual-threads-incubator/[Vert.x virtual thread instead].\n====\n\n= Synchronous but non-OS-thread-blocking verticles\n\nimage:https://github.com/vert-x3/vertx-sync/workflows/CI/badge.svg?branch=master[\"Build Status\", link=\"https://github.com/vert-x3/vertx-sync/actions?query=workflow%3ACI\"]\n\n*Love scalability?*\n\n*Hate blocking kernel threads?*\n\n*Hate callback hell?*\n\n*Want to squash the pyramid of doom?*\n\n*Well, now you can have your cake and eat it...*\n\nVert.x lets you write code without blocking kernel threads for i/o by offering non-blocking implementations of common operations. However, these operations are necessarily asynchronous, meaning that for complex processing pipelines, it is necessary to either nest callbacks (leading to \"callback hell\" or use a library such as Rx to enable composition). Wouldn't it be nice if you could write asynchronous code that just looked like synchronous code?\n\nVertx-sync allows you to deploy verticles that run using *fibers*. Fibers are very lightweight threads that can be\nblocked without blocking a kernel thread.\n\nThis enables you to write your asynchronous verticle code in a familiar synchronous style (i.e. no callbacks or promises or Rx). Consider it syntactic sugar over asynchronous processing. (Note, it cannot magically convert code which will block, such as synchronous JDBC operations, into non-blocking asynchronous code, so you will need to avoid using blocking libraries. If you do use a blocking library, you will block the event loop, which is to be avoided at all times).\n\nAs no kernel threads are blocked your application retains the scalability advantages of a non (kernel thread) blocking\napplication.\n\nPlease see the in source asciidoc documentation or the main documentation on the web-site for a full description\nof vertx-sync\n\n* Web-site docs\n* link:src/main/asciidoc/index.adoc[Java in-source docs]\n","funding_links":[],"categories":["Sync Thread Non Block"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvert-x3%2Fvertx-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvert-x3%2Fvertx-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvert-x3%2Fvertx-sync/lists"}