All Projects → tarantx → Tarant

tarantx / Tarant

Licence: mit
Reactive, actor based framework that can be used in client and server side.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Tarant

Reactivemanifesto
The Reactive Manifesto
Stars: ✭ 542 (+1542.42%)
Mutual labels:  reactive, asynchronous
Programming Challenges
Algorithmic, Data Structures, Frontend and Pentest - Programming challenges and competitions to improve knowledge.
Stars: ✭ 592 (+1693.94%)
Mutual labels:  backend, frontend
Live Torrent
Torrent Web Client
Stars: ✭ 546 (+1554.55%)
Mutual labels:  backend, frontend
Curriculum
Dive into our 7-month web development program covering HTML, CSS, Javascript, Node, and React!
Stars: ✭ 453 (+1272.73%)
Mutual labels:  backend, frontend
Repractise
RePractise
Stars: ✭ 695 (+2006.06%)
Mutual labels:  backend, frontend
Reactive Interaction Gateway
Create low-latency, interactive user experiences for stateless microservices.
Stars: ✭ 465 (+1309.09%)
Mutual labels:  reactive, frontend
Full Stack Fastapi Postgresql
Full stack, modern web application generator. Using FastAPI, PostgreSQL as database, Docker, automatic HTTPS and more.
Stars: ✭ 7,635 (+23036.36%)
Mutual labels:  backend, frontend
Conf
Конспекты докладов IT-конференций
Stars: ✭ 365 (+1006.06%)
Mutual labels:  backend, frontend
Aws Boilerplate
Opinionated full stack web app's boilerplate, ready to be deployed to AWS platform.
Stars: ✭ 682 (+1966.67%)
Mutual labels:  backend, frontend
Kvision
Object oriented web framework for Kotlin/JS
Stars: ✭ 658 (+1893.94%)
Mutual labels:  reactive, frontend
Udash Core
Scala framework for building beautiful and maintainable web applications.
Stars: ✭ 405 (+1127.27%)
Mutual labels:  backend, frontend
Template Sailsjs Vue
Two independent projects (BackEnd and FrontEnd) working as one. A Sails application.
Stars: ✭ 16 (-51.52%)
Mutual labels:  backend, frontend
Cloe
Cloe programming language
Stars: ✭ 398 (+1106.06%)
Mutual labels:  reactive, asynchronous
Free Courses
Free IT courses
Stars: ✭ 522 (+1481.82%)
Mutual labels:  backend, frontend
Lettuce Core
Advanced Java Redis client for thread-safe sync, async, and reactive usage. Supports Cluster, Sentinel, Pipelining, and codecs.
Stars: ✭ 4,319 (+12987.88%)
Mutual labels:  reactive, asynchronous
Ethql
A GraphQL interface to Ethereum 🔥
Stars: ✭ 547 (+1557.58%)
Mutual labels:  backend, frontend
Beeva Best Practices
Best Practices and Style Guides in BEEVA
Stars: ✭ 335 (+915.15%)
Mutual labels:  backend, frontend
Reactor Core
Non-Blocking Reactive Foundation for the JVM
Stars: ✭ 3,891 (+11690.91%)
Mutual labels:  reactive, asynchronous
Osu Web
the browser-facing portion of osu!
Stars: ✭ 610 (+1748.48%)
Mutual labels:  backend, frontend
Reactivemongo
🍃 Non-blocking, Reactive MongoDB Driver for Scala
Stars: ✭ 825 (+2400%)
Mutual labels:  reactive, asynchronous

logomakr_7yenvo

npm Build Status Coverage Status PRs Welcome issues Welcome npm GitHub issues GitHub pull requests Downloads

Join Gitter

Tarant is a TypeScript/JavaScript library for building software using the actor system model. You can visit the home page for more information and a more complete quick start guide: https://tarant.js.org/

  • Actors are easy to reason about: An actor is the unit of state and logic of your application. They are transactional, so you don't need to handle state rollbacks in case of errors.
  • Actors improve performance: Asynchronous by default, every actor actual communication is non-blocking so slow actors will not block fast actors.
  • Actors are extensible: As actors are built on top of objects, actor classes can be inherited, composed and injected.

Features

Tarant implements a rich set of features that makes it suitable for building complex applications.

  • Actors are reliable because they are transactional. You don't need to bother yourself with error recovery.
  • Actors are performant, as they are pull-based and decoupled from other actors lifecycle.
  • Actors are easy to debug. All messages come with information about the sender and all the state information is saved in a time machine, for further debugging and navigation.
  • The Actor System has an event bus. Actors can subscribe, publish and request messages from any topic and subscriptions can be handled at any time.
  • The Actor System is highly extensive. You can add your own supervisor and materializers to add new features like implicit persistence or rendering of actors.

Showcase

Quick start

Creating your first actor system is easy and you don't need to understand everything that is happening under the hood. First you must install the package:

npm install tarant --save

Then create your first ActorSystem

let { Actor, ActorSystem } = require('tarant')
let system = ActorSystem.default()

And create your actor class:

class Ping extends Actor {
    ping() {
        console.log("PING")
    }
}

Then you only need to instantiate your actor and send messages to it:

let myPinger = system.actorOf(Ping, [])
myPinger.ping()

The application will continue running and processing messages until you stop the actor system:

system.free()

If you run the application you will see the following output:

PING

Contribution PRs Welcome Issues Welcome

PR and issues are always welcome as a quick way of contributing to the project. Remember to be polite, this is a open source project and ordinary requirements for PRs and issues are also a requirement.

If you want to be a long-term contributor and participate actively on the design of new features on the project, contact us! Check the package.json to see who you need to contact.

Created my free logo at LogoMakr.com
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].