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

MS Orleans style virtual actors #22

Closed
rogeralsing opened this issue Nov 13, 2016 · 3 comments
Closed

MS Orleans style virtual actors #22

rogeralsing opened this issue Nov 13, 2016 · 3 comments

Comments

@rogeralsing
Copy link
Collaborator

I'm currently working on MS Orleans style virtual actors.
This is implemented the same way as they do in Orleans.

This allows you to do massively distributed systems without having to care where and how actors are created.

func main() {
	cluster.Start("127.0.0.1:0", "127.0.0.1:7711")

        //get a PID to your virtual actor, the cluster module will find or register it's existence for you
        //on one of the nodes in the cluster.

	pid := cluster.Get("myfirst", shared.Type1)
	pid.Tell(&shared.HelloMessage{})
	console.ReadLine()
}
@rogeralsing
Copy link
Collaborator Author

Currently, this support covers:

  • Registering actor types
  • Look up actors by ID
  • Automatic placement of actors

Some features need to be implemented:

  • Passivation of idle actors, this should be doable with a pipeline plugin
  • Joining nodes need to take ownership of some actor lookups from nodes on the left and right of it.

@rogeralsing
Copy link
Collaborator Author

rogeralsing commented Nov 17, 2016

Joining nodes need to take ownership of some actor lookups from nodes on the left and right of it.

This have been implemented.

@rogeralsing
Copy link
Collaborator Author

Typed Grains are now generated via Protobuf protoc compiler.

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

1 participant