Hi people!

Thanks, George, by the feedback.

After months, I'm back on this project. Now, it has actor reference, so you
can tell a message to an actor that is in current process or in a remote
process.

https://github.com/ajlopez/SimpleActors (0.0.2 not published in npm, yet)

It's mainly based on Akka ideas, lot of work to do (error control, router,
disconnections, dead messages, remote samples).

Comments welcome!

Angel "Java" Lopez
@ajlopez

On Tue, Jun 5, 2012 at 3:45 PM, George Stagas <[email protected]> wrote:

> You say actors, but in the example you use shared object properties to
> call methods from the other actors.
>
> Actors can only speak with messages, and can only know the addresses
> of other actors. If you're passing a shared memory reference to invoke
> methods from another actor then it's not actors. It's plain objects
> with a message queue, with all the drawbacks.
>
> How to mentally test if something is an actor: Just ask yourself: "If
> I take this actor alone, and put it in another machine, will the
> actors in this machine, still be able to talk to that actor far away
> without changing one line of code?"
>
> If the answer is yes, then you've probably implemented The Actor Model.
>
> 2012/6/5 Angel Java Lopez <[email protected]>:
> > Hi people!
> >
> > (I borrowed next phrase from a recent email by Alan Hoffmeister, English
> is
> > not my native language ;-)
> >
> > I just needed to improve my Node.js file system skills, so I created
> > SimpleActors.
> >
> > SimpleActors wraps up a Javascript object, so if you call one of its
> method
> > it is queued to be run as an event. In this way
> > calling a method is like sending a message in actor model.
> >
> > If you are interested in the returning value, you can add an additional
> > parameter with a callback function.
> >
> > https://github.com/ajlopez/SimpleActors
> >
> > A simple web crawler is included with the samples (with git clone, not in
> > with npm package).
> >
> > Critics, comments, issues are welcome!
> >
> > Angel "Java" Lopez
> > http://ajlopez.wordpress.com
> > http://twitter.com/ajlopez
> >
> >
> > --
> > Job Board: http://jobs.nodejs.org/
> > Posting guidelines:
> > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> > You received this message because you are subscribed to the Google
> > Groups "nodejs" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> > http://groups.google.com/group/nodejs?hl=en?hl=en
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to