Skip to main content

Questions tagged [akka]

Akka is a toolkit and runtime for building highly concurrent, distributed, and fault tolerant event-driven applications on the JVM

1 vote
4 answers
947 views

After doing some research regarding the actor model, Im still not really sure what an actor actually is.. and what its supposed to "replace". From what I have understood an actor is supposed ...
Inx51's user avatar
  • 313
0 votes
1 answer
253 views

I have a web applications (angular) which is connected to backend using websockets. The role of web app is to display data from multiple sources (which are updated constantly by some Scala Spark apps) ...
AlleXyS's user avatar
  • 117
1 vote
1 answer
214 views

What are the drawbacks of sharing immutable state between actors in a non-clustered system? It's clear as to why a mutable shared state works against a lot of the guarantees that the actor model ...
Dave New's user avatar
  • 897
2 votes
2 answers
495 views

We have data in Kafka which we need to export to multiple destinations. Each message key is to be exported to one destination. A destination can be a REST endpoint, a file, a database etc. Each ...
JavaTechnical's user avatar
1 vote
1 answer
265 views

We have a Java Play Framework Application which we want to scale out into a cluster. The only issue is that there are services ran by the Akka Scheduler once per day, and we don't want these services ...
Amit Tiwary's user avatar
0 votes
0 answers
190 views

I have been developing with Orleans actor implementation. Recently, I saw that we were scheduling a long running job on an actor, which was effectively blocking the actor since it couldn't process the ...
AvinashK's user avatar
  • 101
2 votes
0 answers
46 views

I have an application say x which uses another Java library(say Y) as a JAR file . So y basically needs to download a file and load it into memory before any of it's methods are called at runtime by X....
techzombie's user avatar
2 votes
2 answers
80 views

In a distributed asynchronous system serializability cannot be achieved, but we still have to somehow provide the semantics. Consider quite natural requirement that user must have unique email or no ...
Pavel Voronin's user avatar
6 votes
1 answer
232 views

I need to create a distributed application with timers / periodically checking two timestamps for elapsed time. Is it possible to achieve following behaviour with the actor model: Spawn Child actor ...
Towen's user avatar
  • 69
0 votes
1 answer
639 views

I'm new to AKKA and i can't figure out a general proper way to integrate a backend actor system with my WPF views. I studied a few examples i found (all very similar, probably based on this), but in ...
Mauro Sampietro's user avatar
1 vote
3 answers
1k views

I was reading Akka Persistance documentation and it says that Akka is good for Event Sourcing. Imagine I have a User entity. Each user is defined uniquely with ID and has some properties and some ...
eddyP23's user avatar
  • 209
2 votes
3 answers
2k views

I know that transactions use locks. It is claimed that actors liberate us from shared state and locks make sure all crashes are the same as clean shutdowns: this can be done through practices such ...
Val's user avatar
  • 367
6 votes
2 answers
4k views

Now I'm trying to understand Actor model. I know main concepts like everything is an actor etc. I see a lot of words like "it's very good from performance point of view", "no locks because there is no ...
Maxim Tkachenko's user avatar
2 votes
1 answer
166 views

If the supervisor and its child actors are sharing the same messages, which is the right place to keep those case classes? Should it be in both Supervisor and the individual actors or should it be in ...
codingsplash's user avatar
-1 votes
1 answer
122 views

As I can see in recent releases of akka-http, successor of spray, spray-routing's approach of using shapeless HList was replaced in favor of self-included Tuple What is the motivation for this ...
Odomontois's user avatar

15 30 50 per page