Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress / Production? #2

Open
mikecann opened this issue Sep 3, 2022 · 2 comments
Open

Progress / Production? #2

mikecann opened this issue Sep 3, 2022 · 2 comments

Comments

@mikecann
Copy link

mikecann commented Sep 3, 2022

Hey I noticed that there hasnt been a commit in a long time.

Any reason why you abandoned this idea? Im very interested in it.

@nprbst
Copy link

nprbst commented Sep 8, 2022

AFAIK your best bet for an Actor framework in NodeJS would be Nact: https://github.com/nactio/nact

I'm also interested in an Akka/Orleans-like framework in JS. What's your interest-level and use-case, @mikecann?

@mikecann
Copy link
Author

mikecann commented Sep 9, 2022

Hi,

Ye the actor libs for JS are very limited and ones that have been done (Comedy, Nact) are either not finished, not production ready or abandoned.

These are the ones I have discovered so far:

Nact - 1k stars, AKKA style actors, not production ready, no networking (location transparency), typescript support? semi-abandoned?

Comedy - 566 stars, AKKA style actors, fully featured, but looks abandoned no update in 2-6 years, no replies to issues. Old JS style, no TS support?

ts-actors - 0 stars, AKKA style, looks abandoned, hobby project

dapr - 19k stars, meta framework, virtual actors, very professional docs, a strong contender but after spending more time with it, its "sidecar" and abstracted state management systems seem extremely burdensome, designed more for very large enterprise systems.

lemans - 15 stars - honestly one of the best looking ones, virtual actors, simple deployment (in theory), abandoned tho? no tests, not sure if production grade, would prefer a cleaner "less OO" based implementation. Not been updated for a long time, no docs, one small example

My level of interest is: I am the CTO of a games company and we have a web game that has been live for about 3 years and has millions of players. Its entirely Typescript, React on the frontend, NodeJS on the backed. There is a lot of code and im starting to hit some architectural issues and am looking at alternative architectures. I am very interested in ES having built a few but I am also very interested in Actor systems, but have never built one. I think one of those would be a good fit for our game.

My ideal system would be:

  • Virtual Actors (I think they are simpler to understand than AKKA based)
  • Well tested, production grade with performance benchmarks
  • Flexible, it should support you to use any storage solution you want (unlike dapr)
  • Easy to deploy, it doesnt require "sidecars" kubernetes or anything like that. Ideally you can get started with it running just on a single nodejs server, then it can scale up either via processes on the same server or on other nodes on other servers. Ideally those other nodes can discover each other via a common protocol or via a shared discovery mechanism like redis.
  • The language is Typescript, ideally uses modern typescript semantics and isnt just class heavy because it has been ported from an OO language. Im thinking more simple functions, data types and options objects.
  • Great docs and solid examples to show you how to get cracking

... so that it in a nutshell ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants