{"id":19006368,"url":"https://github.com/puniverse/comsat","last_synced_at":"2025-10-24T23:07:43.695Z","repository":{"id":57716299,"uuid":"11724937","full_name":"puniverse/comsat","owner":"puniverse","description":"Fibers and actors for web development","archived":false,"fork":false,"pushed_at":"2017-11-27T06:11:51.000Z","size":20220,"stargazers_count":597,"open_issues_count":34,"forks_count":98,"subscribers_count":60,"default_branch":"master","last_synced_at":"2025-04-19T15:58:07.090Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"docs.paralleluniverse.co/comsat","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/puniverse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-28T19:53:24.000Z","updated_at":"2025-04-11T06:50:39.000Z","dependencies_parsed_at":"2022-08-25T11:01:02.281Z","dependency_job_id":null,"html_url":"https://github.com/puniverse/comsat","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puniverse%2Fcomsat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puniverse%2Fcomsat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puniverse%2Fcomsat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puniverse%2Fcomsat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/puniverse","download_url":"https://codeload.github.com/puniverse/comsat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254544146,"owners_count":22088807,"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-11-08T18:32:05.027Z","updated_at":"2025-10-24T23:07:43.635Z","avatar_url":"https://github.com/puniverse.png","language":"Java","readme":"# *COMSAT*\u003cbr/\u003eScalable, Concurrent Web Apps\n[![Build Status](http://img.shields.io/travis/puniverse/comsat.svg?style=flat)](https://travis-ci.org/puniverse/comsat) [![Dependency Status](https://www.versioneye.com/user/projects/52dfc913ec1375318800039f/badge.png?style=flat)](https://www.versioneye.com/user/projects/52dfc913ec1375318800039f) [![Version](http://img.shields.io/badge/version-0.7.0-blue.svg?style=flat)](https://github.com/puniverse/comsat/releases) [![License](http://img.shields.io/badge/license-EPL-blue.svg?style=flat)](https://www.eclipse.org/legal/epl-v10.html) [![License](http://img.shields.io/badge/license-LGPL-blue.svg?style=flat)](https://www.gnu.org/licenses/lgpl.html)\n\n## Getting started\n\nAdd the following Maven/Gradle dependencies:\n\n| Feature                                                                                                                   | Artifact\n|---------------------------------------------------------------------------------------------------------------------------|--------------------------\n| Servlet integration for defining fiber-per-request servlets.                                                              | `co.paralleluniverse:comsat-servlet:0.7.0`\n| A fiber-blocking Clojure [Ring](https://github.com/ring-clojure/ring) adapter based on Jetty 9.3.                         | `co.paralleluniverse:comsat-ring-jetty9:0.7.0`\n| [HTTP Kit](http://www.http-kit.org/client.html)-based fiber-blocking HTTP client.                                         | `co.paralleluniverse:comsat-httpkit:0.7.0`\n| [Jersey server](https://jersey.java.net/) integration for defining REST services.                                         | `co.paralleluniverse:comsat-jersey-server:0.7.0`\n| [Dropwizard](http://dropwizard.io/) integration including Jersey, ApacheHttpClient and JDBI.                              | `co.paralleluniverse:comsat-dropwizard:0.7.0`\n| [Spring Framework](http://projects.spring.io/spring-framework/) Web MVC fiber-blocking controller methods integration.    | `co.paralleluniverse:comsat-spring-webmvc:0.7.0`\n| [Spring Boot](http://projects.spring.io/spring-boot/) auto-configuration support for Web MVC controllers.                 | `co.paralleluniverse:comsat-spring-boot:0.7.0`\n| [Spring Security](http://projects.spring.io/spring-security/) configuration support for fibers.                           | `co.paralleluniverse:comsat-spring-security:0.7.0`\n| [JAX-RS client](https://jersey.java.net/documentation/latest/client.html) integration for HTTP calls with fibers.         | `co.paralleluniverse:comsat-jax-rs-client:0.7.0`\n| [ApacheHttpClient](http://hc.apache.org/httpcomponents-client-ga/) integration for HTTP calls with fibers.                | `co.paralleluniverse:comsat-httpclient:0.7.0`\n| [Retrofit](http://square.github.io/retrofit/) integration with fibers.                                                    | `co.paralleluniverse:comsat-retrofit:0.7.0`\n| [JDBI](http://jdbi.org/) integration with fibers.                                                                         | `co.paralleluniverse:comsat-jdbi:0.7.0`\n| JDBC integration with fibers.                                                                                             | `co.paralleluniverse:comsat-jdbc:0.7.0`\n| [jOOQ](http://www.jooq.org/) integration with fibers.                                                                     | `co.paralleluniverse:comsat-jooq:0.7.0`\n| MongoDB fiber-blocking integration for the [Allanbank API](http://www.allanbank.com/mongodb-async-driver/index.html).     | `co.paralleluniverse:comsat-mongodb-allanbank:0.7.0`\n| [OkHttp](https://github.com/square/okhttp) HTTP+SPDY client integration.                                                  | `co.paralleluniverse:comsat-okhttp:0.7.0`\n| The Web Actors API.                                                                                                       | `co.paralleluniverse:comsat-actors-api:0.7.0`\n| Deploy HTTP, SSE and WebSocket Web Actors as [Undertow](http://undertow.io/) handlers.                                    | `co.paralleluniverse:comsat-actors-undertow:0.7.0`\n| Deploy HTTP, SSE and WebSocket Web Actors as [Netty](http://netty.io/) handlers.                                          | `co.paralleluniverse:comsat-actors-netty:0.7.0`\n| Deploy HTTP, SSE and WebSocket Web Actors in J2EE 7 Servlet and WebSocket (JSR-356) embedded and standalone containers.   | `co.paralleluniverse:comsat-actors-servlet:0.7.0`\n| Use Comsat in the Tomcat servlet container without the java agent.                                                        | `co.paralleluniverse:comsat-tomcat-loader:0.7.0[:jdk8]` (for JDK 8 optionally add the `jdk8` classifier)\n| Use Comsat in the Jetty servlet container without the java agent.                                                         | `co.paralleluniverse:comsat-jetty-loader:0.7.0[:jdk8]` (for JDK 8 optionally add the `jdk8` classifier)\n| [Spring Framework](http://projects.spring.io/spring-framework/) Web integration allows using fiber-blocking controllers.  | `co.paralleluniverse:comsat-spring-web:0.7.0`\n| [Apache Kafka](http://kafka.apache.org/) producer integration module.                                                     | `co.paralleluniverse:comsat-kafka:0.7.0`\n| [Apache Shiro](http://shiro.apache.org/) realms integration module.                                                       | `co.paralleluniverse:comsat-shiro:0.7.0`\n\nOr, build and install from sources (after installing [Gradle](http://www.gradle.org) locally) in your local maven repository with:\n\n```\ngradle install\n```\n\nThe full testsuite can be run with `gradle build`.\n\n## Usage\n\n* [Documentation](http://docs.paralleluniverse.co/comsat/)\n* [Javadoc](http://docs.paralleluniverse.co/comsat/javadoc)\n\nA [Gradle template](https://github.com/puniverse/comsat-gradle-template) project and a [Maven archetype](https://github.com/puniverse/comsat-mvn-archetype) using various integration modules and featuring setup with both Dropwizard and standalone Tomcat are also available for jumpstart and study. Both have a `without-comsat` branch which is useful to clearly see the (minimal, if any) porting effort required (branches comparison works very well for this purporse).\n\nThere's a [Comsat-Ring Clojure Leiningen template](https://github.com/puniverse/comsat-ring-template) as well which includes an `auto-instrument` branch that doesn't need any explicit suspendable-marking code (`suspendable!`, `defsfn`, `sfn` etc.) thanks to [Pulsar's new auto-instrumentation feature](http://docs.paralleluniverse.co/pulsar/#automatic-instrumentation).\n\nYou can also have a look at [additional examples](https://github.com/puniverse/comsat-examples).\n\nFinally there are several regularly updated third-party bootstrap projects: [Comsat + Dropwizard + jOOQ](https://github.com/circlespainter/comsat-jooq-gradle-template), [Comsat Web Actors Stock Quotes (ported from Akka)](https://github.com/circlespainter/quasar-stocks), [Spring MVC + Tomcat standalone servlet container](https://github.com/circlespainter/spring4-mvc-gradle-annotation-hello-world).\n\n## Getting help\n\nQuestions and suggestions are welcome at this [forum/mailing list](https://groups.google.com/forum/#!forum/comsat-user).\n\n## Contributions (including Pull Requests)\n\nPlease have a look at some brief [information for contributors](https://github.com/puniverse/comsat/blob/master/CONTRIBUTING.md).\n\n## License\n\nCOMSAT is free software published under the following license:\n\n```\nCopyright (c) 2013-2016, Parallel Universe Software Co. All rights reserved.\n\nThis program and the accompanying materials are dual-licensed under\neither the terms of the Eclipse Public License v1.0 as published by\nthe Eclipse Foundation\n\n  or (per the licensee's choosing)\n\nunder the terms of the GNU Lesser General Public License version 3.0\nas published by the Free Software Foundation.\n```\n","funding_links":[],"categories":["Projects","Networking","项目","III. Network and Integration","网络编程"],"sub_categories":["Networking","联网","2. Networking"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuniverse%2Fcomsat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuniverse%2Fcomsat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuniverse%2Fcomsat/lists"}