All Projects → RuedigerMoeller → Kontraktor

RuedigerMoeller / Kontraktor

Licence: lgpl-3.0
distributed Actors for Java 8 / JavaScript

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Kontraktor

Scalecube Services
ScaleCube Services is a high throughput, low latency reactive microservices library built to scale. it features: API-Gateways, service-discovery, service-load-balancing, the architecture supports plug-and-play service communication modules and features. built to provide performance and low-latency real-time stream-processing. its open and designed to accommodate changes. (no sidecar in a form of broker or any kind)
Stars: ✭ 482 (+44.74%)
Mutual labels:  microservices, cluster
Akkatecture
a cqrs and event sourcing framework for dotnet core using akka.net
Stars: ✭ 414 (+24.32%)
Mutual labels:  microservices, actors
Akkadotnet Code Samples
Akka.NET professional reference code samples
Stars: ✭ 451 (+35.44%)
Mutual labels:  actors, cluster
xoom-cluster
The VLINGO XOOM platform SDK cluster management for Reactive, scalable resiliency of JVM tools and applications running on XOOM LATTICE and XOOM ACTORS.
Stars: ✭ 25 (-92.49%)
Mutual labels:  actors, cluster
Actor4j Core
Actor4j is an actor-oriented Java framework. Useful for building lightweighted microservices (these are the actors themselves or groups of them). Enhanced performance of message passing.
Stars: ✭ 48 (-85.59%)
Mutual labels:  microservices, actors
Zato
ESB, SOA, REST, APIs and Cloud Integrations in Python
Stars: ✭ 889 (+166.97%)
Mutual labels:  microservices, cluster
Coerce Rs
Coerce - an asynchronous (async/await) Actor runtime and cluster framework for Rust
Stars: ✭ 231 (-30.63%)
Mutual labels:  actors, cluster
Nact
nact ⇒ node.js + actors ⇒ your services have never been so µ
Stars: ✭ 848 (+154.65%)
Mutual labels:  microservices, actors
Azos
A to Z Sky Operating System / Microservice Chassis Framework
Stars: ✭ 137 (-58.86%)
Mutual labels:  microservices, cluster
theater
Actor framework for Dart. This package makes it easier to work with isolates, create clusters of isolates.
Stars: ✭ 29 (-91.29%)
Mutual labels:  actors, cluster
Vertx Zero
Zero Framework:http://www.vertxup.cn
Stars: ✭ 320 (-3.9%)
Mutual labels:  microservices
Tarsjava
Java language framework rpc source code implementation
Stars: ✭ 321 (-3.6%)
Mutual labels:  microservices
Nacos
an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
Stars: ✭ 20,691 (+6113.51%)
Mutual labels:  microservices
Akka Ddd
Akka CQRS/ES framework
Stars: ✭ 330 (-0.9%)
Mutual labels:  microservices
Springy Store Microservices
Springy Store is a conceptual simple μServices-based project using the latest cutting-edge technologies, to demonstrate how the Store services are created to be a cloud-native and 12-factor app agnostic. Those μServices are developed based on Spring Boot & Cloud framework that implements cloud-native intuitive, design patterns, and best practices.
Stars: ✭ 318 (-4.5%)
Mutual labels:  microservices
Microcks
Kubernetes native tool for mocking and testing API and micro-services
Stars: ✭ 325 (-2.4%)
Mutual labels:  microservices
Bitnami Docker Redis
Bitnami Redis Docker Image
Stars: ✭ 317 (-4.8%)
Mutual labels:  cluster
Robot Shop
Sample microservices application for playing with
Stars: ✭ 316 (-5.11%)
Mutual labels:  microservices
Docklands
Minimalistic Java EE / Jakarta EE / MicroProfile Related Dockerfiles
Stars: ✭ 315 (-5.41%)
Mutual labels:  microservices
Compoxure
Proxy middleware for express that enables composition of microservices.
Stars: ✭ 332 (-0.3%)
Mutual labels:  microservices

kontraktor 4

What is kontraktor ?

  • A boilerplate free and consistent abstraction for asynchronous remote communication powered by a distributed actor-model
  • One important application of this abstraction are SPA WebApplications enabling Java to back modern SPA javascript client frameworks like React.js, Polymer.js, .. (transpilation, packaging, optimization). Different to webpack/browserify etc. kontraktor does this on the fly (when running in prod mode) without an extra build step using pure java. see IntrinsicReact example
  • separates network transport (TCP, WebSockets, Http) and message encoding (fast-serialization, json, ..) from application code.
  • asynchronous, non-blocking,high performance
  • production proven

Documentation

Code Examples, Related Blogpost's

React Example

What can I use it for ?

  • build modern microservice systems (java (JVM), nodejs) beyond the Limits of REST. Asynchronous, event sourced, independent of encoding and network transport (choose from TCP, WebSockets, Http-(Long Poll), json or binary encoding).
  • power modern SPA apps with a java based webserver

Credits: kontraktor makes use of many awesome open source libraries such as

  • undertow, (io.undertow) see undertow.io
  • jsoup (org.jsoup) - real world html parser
  • httpasyncclient (org.apache.httpcomponents)
  • npm-semver, (com.github.yuchi)
  • fast-classpath-scanner (io.github.lukehutch)
  • org.apache.commons, slf4j-api, minimal-json (com.eclipsesource.minimal-json), junit

Modules

Kontraktor consists of several modules. For sake of simplicity all module versions are kept in sync with kontraktor core.

Kontraktor Core

Actors + TCP Remoting

  • transform regular java code (satisfying some conventions) into remoteable actors.
  • no boilerplate required
  • TCP remoting included (2 implementations: SyncIO and AsyncIO)
  • general messaging optimizations: batching, binary queues (reduce GC load + save heap by queuing raw bytes instead of object's).

Core Documentation [in progress]

<dependency>
    <groupId>de.ruedigermoeller</groupId>
    <artifactId>kontraktor</artifactId>
    <version>4.22</version>
</dependency>

Kontraktor Http

Adds WebSockets, Http LongPoll for actor-remoting, JavaScript interop. Uses Undertow as underlying webserver

  • npm modules to (a) implement a kontraktor actor (=service) using nodejs and (b) to connect a kontraktor service from nodejs
  • server push via adaptive longpolling (polling automatically turns off if no pending callback / promise is present)
  • support for websockets
  • advanced bundling and inlining of resources (js, css, html) webpack style. Instead of introducing a build step, kontraktor bundles and caches your stuff dynamically upon first request (production mode).
  • session handling fundamentals

JavaScript, Http-Documentation [in progress]

Instrinsic React/JSX Documentation [in progress]

<dependency>
    <groupId>de.ruedigermoeller</groupId>
    <artifactId>kontraktor-http</artifactId>
    <version>4.22.3</version>
</dependency>

kontraktor-http 4 javascript nodejs. npm modules

kontraktor-common

defines fundamentals: remote actor refs, en/decoding of Java-serialized objects, KPromise

kontraktor-client

Can be used from a browser (attention then: needs to be added using a <script> tag, not babel/browserify'ish using 'require'). Can be used from nodejs to connect services/actors implemented in java or javascript

kontraktor-server

write an ES6 class and make it accessible to other (kontraktor) processes using websockets. Some limitations: no actor proxies, only websockets supported.

js4k

old (es5) implementation of kontraktor-client. somewhat messy, but production-proven

Kontraktor-Bare

(Minimalistic standalone Http-LongPoll client [legacy apps, Android] ), requires Java 7, Apache 2.0 Licensed

<dependency>
    <groupId>de.ruedigermoeller</groupId>
    <artifactId>kontraktor-bare</artifactId>
    <version>4.22</version>
</dependency>

Examples:

https://github.com/RuedigerMoeller/kontraktor/tree/trunk/examples

Misc

Older Blogposts (samples are of OLD 2.0, 3.0 version, might need rewrite/changes (mostly Future => IPromise):

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].