The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
30 views

In Actor Pattern (AKKA.Net) Should actors be classes OR Objects?

Im Just getting started with actor pattern. Coming from UnitOfWork pattern. Lets say i want to create Actor Pattern for a Employee Management System to mark they are present or absent. The Problem Im ...
4
votes
2answers
285 views

Understanding the Single-Writer Principle

The article on the Single-Writer Principle of the Mechanical Sympathy blog explains how bad queues are (performance-wise), because they need to be able to receive messages from multiple produers, and ...
4
votes
2answers
355 views

Why is Akka good for concurrency?

I am new to Akka and actor framework - I am sure I am missing something obvious, please accept my apologies in advance. I keep reading that one of the main points to choose Akka is the way it manages ...
2
votes
1answer
160 views

F# MailboxProcessor aka Agent as an API

Seeing how there's raise in actor-based solutions, I'm a bit confused about the lack of F# libs that use something like the stock MailboxProcessor as the API. What's the downside? Why deal with ...
3
votes
1answer
403 views

Is Erlang really an actor model language?

I was reading this article: http://www.doc.ic.ac.uk/~nd/surprise_97/journal/vol2/pjm2/ And it mentions that: ...in the actor model even an integer is represented as an actor... Wikipedia ...
1
vote
2answers
1k views

Use Case Diagram. Can a system be its own actor?

Hello I got the definition below for an actor. That means the system cannot be an actor to itself. I was wondering what if the system is supposed to display certain elements on a screeen. In that case ...
1
vote
1answer
215 views

Difference between the actors in the existing (non-automated) and the new (automated) system [closed]

I guess two main use-case diagrams in building an automated system (Software) from a non-automated system are: Analysis of the existing system by a use-case diagram. Mapping the current use-cases ...
0
votes
1answer
88 views

Actors in a sequential protocol handshake

I am new to actors and trying to implement a very sequential protocol handshake (over websockets). This is in Scala/Akka. It goes something like this: HTTPs connection is established then upgraded ...
10
votes
3answers
2k views

What is a “lifted representation”?

Just ran across this term here: http://www.codemesh.io/codemesh2014/viktor-klang "We'll demonstrate the Flow API—a lifted representation—as well as a pluggable way of transforming the lifted ...
8
votes
1answer
2k views

Why is Akka being marketed as reactive? Is Actor Model reactive?

As far as I understand the Actor Model and the Reactive Programming are separate concepts. Actor Model does not seem to be inherently reactive to me. However the Akka framework which is an Actor ...
2
votes
1answer
103 views

Message Passing: How to detect and/or handle “dead ends”

I'm playing with a mental model for distributed actor system that communicates using messages. In this, it is possible for an actor to create another actor. I've encountered one specific situation ...
6
votes
1answer
676 views

Which parallel pattern to use?

I need to write a server application that fetches mails from different mail servers/mailboxes and then needs to process/analyze these mails. Traditionally, I would do this multi-threaded, launching a ...
3
votes
1answer
2k views

Using akka actors with service spring beans

Do you think that using akka actors in front of transactional service beans, is a good idea ? Actors are waked up by a facade used by a client application, and actor use a message to handle right ...
3
votes
2answers
358 views

Error checking in actor-based paradigm

I have an existing Scala application that I am trying to refactor in order to use Akka. One of the problems I have is how to manage error-checking in actor-based applications. Usually error-checking ...
5
votes
3answers
4k views

Actor library / framework for C++ [closed]

In the C++ project I am working on, we have an application consisting of several processes deployed on different machines. This network of processes is dynamic since processes (clients or background ...
3
votes
3answers
247 views

Actor based concurrency and cancellation

I'm reading about actor based concurrency and I appreciate the simplicity of actors sequentially processing messages on a single thread. However there is one scenario that doesn't seen possible. ...
6
votes
3answers
734 views

Is the architecture of my project a common one? What's its name?

I am responsible for a software project for a few years now (a Java desktop application, which is mostly event-driven). I started it from scratch, and at the beginning of this project I made some ...
5
votes
3answers
976 views

What are the recommended resources for learning about the Actor model of concurrent systems? [closed]

The Actor concurrency model is clearly gaining favor. Is there a good book that presents the patterns and pitfalls of the model? I am thinking about something that would discuss, for instance, the ...
12
votes
2answers
1k views

Is my description of the actor model right?

If I understood, the actor model is just like the object model, but with a few differences: EVERY object spawns it's own separate thread and its not a problem even when you have thousands of ...
13
votes
3answers
6k views

How is the actor model used?

I have read a bit about the actor model, but don't really understand how to use actors in a real world situation – how to model a problem with them. Can someone please explain? A simple example or ...
5
votes
2answers
1k views

Using an actor model versus a producer-consumer model?

I'm doing some early-stage research towards architecting a new software application. Concurrency and multithreading will likely play a significant part, so I've been reading up on the various topics. ...
3
votes
2answers
433 views

Is Lambda function same as Actor? How can it be explained?

Sometime back I read (from a book) that conceptually Lambda function is similar to Actor. However I am clear on the concept, and will appreciate any insight or explanations for this. If they are ...
16
votes
3answers
1k views

What are your thoughts about the Actor Model? [closed]

The Actor Model which is used by Erlang seems to be a very different way to do concurrent programming. What are your thoughts about the Actor Model? Will it be a popular solution for concurrency?