Akka standalone (for local actors only)

66 views
Skip to first unread message

Daniel Ribeiro

unread,
Dec 11, 2010, 5:17:30 PM12/11/10
to Akka User List
Hi,

Is it possible to start Akka without the microkernel, as standalone
library, without a servelet container? This is mostly interesting for
a projects without remote actors I am working on. I've read the boot
class [1] from Vasil Remeniuk, which complements his blog post on
Actors that instrumentate the registry[2], and wondered if this is
enough, or if there is a more traditional way to accomplish this.



Refs:
[1] https://github.com/remeniuk/akka-easyscale/blob/master/src/main/scala/com/vasilrem/akka/easyscale/boot/Boot.scala

[2]http://vasilrem.com/blog/software-development/even-simpler-
scalability-with-akka-through-registryactor/

Regards,
- Daniel Ribeiro

√iktor Klang

unread,
Dec 11, 2010, 6:19:30 PM12/11/10
to akka...@googlegroups.com


On Sat, Dec 11, 2010 at 11:17 PM, Daniel Ribeiro <dan...@gmail.com> wrote:
Hi,

Hi Daniel,
 

Is it possible to start Akka without the microkernel, as standalone
library, without a servelet container?

If you don't use the microkernel or the servlet container, there's really nothing you need to start, just add the akka dependencies you need and you're done.
 
This is mostly interesting for
a projects without remote actors I am working on. I've read the boot
class [1] from Vasil Remeniuk, which complements his blog post on
Actors that instrumentate the registry[2], and wondered if this is
enough, or if there is a more traditional way to accomplish this.


Accomplish what?


Cheers,
 

--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.




--
Viktor Klang,
Code Connoisseur
Work:   Scalable Solutions
Code:   github.com/viktorklang
Follow: twitter.com/viktorklang
Read:   klangism.tumblr.com

Daniel Ribeiro

unread,
Dec 11, 2010, 7:24:17 PM12/11/10
to Akka User List
Great. Thanks Viktor Klang.

3 Jars (akka_2.8.0-0.10.jar, scala-library.jar and akka-
core_2.8.0-0.10.jar) and I was set.

> > This is mostly interesting for
> > a projects without remote actors I am working on. I've read the boot
> > class [1] from Vasil Remeniuk, which complements his blog post on
> > Actors that instrumentate the registry[2], and wondered if this is
> > enough, or if there is a more traditional way to accomplish this.
>
> Accomplish what?
This. In more words: get started witha minimal akka actor example in
java, with minimal dependencies. For now this suffices. In time I am
planning to set up simple method that sets up actors to accomplish the
canonical map-reduce example (word count), and compare the performance
gains with a equivalent sequential version. If it all goes well, use
it in production.

Thanks a lot,
- Daniel Ribeiro





On Dec 11, 9:19 pm, √iktor Klang <viktor.kl...@gmail.com> wrote:
> On Sat, Dec 11, 2010 at 11:17 PM, Daniel Ribeiro <dan...@gmail.com> wrote:
> > Hi,
>
> Hi Daniel,
>
>
>
> > Is it possible to start Akka without the microkernel, as standalone
> > library, without a servelet container?
>
> If you don't use the microkernel or the servlet container, there's really
> nothing you need to start, just add the akka dependencies you need and
> you're done.
>

>
> Cheers,
>
>
>
>
>
> > Refs:
> > [1]
> >https://github.com/remeniuk/akka-easyscale/blob/master/src/main/scala...
>
> > [2]http://vasilrem.com/blog/software-development/even-simpler-
> > scalability-with-akka-through-registryactor/
>
> > Regards,
> > - Daniel Ribeiro
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Akka User List" group.
> > To post to this group, send email to akka...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > akka-user+...@googlegroups.com<akka-user%2Bunsu...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/akka-user?hl=en.
>
> --
> Viktor Klang,
> Code Connoisseur
> Work:   Scalable Solutions <http://www.scalablesolutions.se>

Daniel Ribeiro

unread,
Dec 12, 2010, 10:11:46 PM12/12/10
to Akka User List
Thanks.

On Dec 11, 9:19 pm, √iktor Klang <viktor.kl...@gmail.com> wrote:
> On Sat, Dec 11, 2010 at 11:17 PM, Daniel Ribeiro <dan...@gmail.com> wrote:
> > Hi,
>
> Hi Daniel,
>
>
>
> > Is it possible to start Akka without the microkernel, as standalone
> > library, without a servelet container?
>
> If you don't use the microkernel or the servlet container, there's really
> nothing you need to start, just add the akka dependencies you need and
> you're done.
>
> > This is mostly interesting for
> > a projects without remote actors I am working on. I've read the boot
> > class [1] from Vasil Remeniuk, which complements his blog post on
> > Actors that instrumentate the registry[2], and wondered if this is
> > enough, or if there is a more traditional way to accomplish this.
>
> Accomplish what?
This simple minimal example.

> Cheers,
>
>
>
>
>
> > Refs:
> > [1]
> >https://github.com/remeniuk/akka-easyscale/blob/master/src/main/scala...
>
> > [2]http://vasilrem.com/blog/software-development/even-simpler-
> > scalability-with-akka-through-registryactor/
>
> > Regards,
> > - Daniel Ribeiro
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Akka User List" group.
> > To post to this group, send email to akka...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > akka-user+...@googlegroups.com<akka-user%2Bunsu...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/akka-user?hl=en.
>
> --
> Viktor Klang,
> Code Connoisseur
> Work:   Scalable Solutions <http://www.scalablesolutions.se>

√iktor Klang

unread,
Dec 13, 2010, 3:00:43 AM12/13/10
to akka...@googlegroups.com
Cool, great to hear that everything got sorted.
Have fun with Akka!

To unsubscribe from this group, send email to akka-user+...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.




--
Viktor Klang,
Code Connoisseur
Work:   Scalable Solutions
Reply all
Reply to author
Forward
0 new messages