Questions tagged [service-fabric-actor]

93 questions
7
votes
1 answer

What are the limits on actorevents in service fabric?

I am currently testing the scaling of my application and I ran into something I did not expect. The application is running on a 5 node cluster, it has multiple services/actortypes and is using a shared process model. For some component it uses actor…
P. Gramberg
  • 329
  • 1
  • 3
  • 14
5
votes
0 answers

Actors WCF Service - Client code using WCF

I have an Actor Service which uses WCF: [assembly: WcfActorRemotingProvider(RemotingListener = RemotingListener.V2Listener, RemotingClient = RemotingClient.V2Client)] namespace Player.Interfaces { /// /// This interface defines the…
5
votes
1 answer

Why are my Service Fabric actors using more disk space than expected?

I am trying to understand why our actor service is using more disk space than expected. Our service currently contains around 80,000 actors distributed over 10 partitions. Each actor stores around 150Kb of state. Looking at one (out of 10) nodes in…
5
votes
2 answers

Service Fabric spawn actor on startup

Is there a way to require the system to spawn certain actors on startup. Currently I activate the set of actors that I need in Program.cs after the actor registration. This is working ok, but I occasionally get a ReminderLoadInProgressException…
5
votes
3 answers

How to pass data to `OnActivateAsync()` to initialize my stateful actor?

I am creating a reliable, stateful, service actor. Question: Is there a way to pass initialization data during the actor proxy creation (ActorProxy.Create())? Basically an equivalent to a constructor for my actor. Current thoughts: I can achieve…
Mauricio Aviles
  • 1,074
  • 9
  • 24
4
votes
1 answer

Service Fabric Actor Service Dependency Injection and Actor Events

When an actor service spins up I would like to auto-subscribe to any of the events as described in the documentation. Manually subscribing to the events works. However when the service is instantiated is there a way to auto-subscribe the actor…
4
votes
1 answer

Spawning actors in RunAsync throws "Interface id '1830616258' is not implemented by object 'CustomActorService.InternalCustomActorService'"

I am following the advice in Service Fabric spawn actor on startup for spawning a couple of actors at service start. I have a custom ActorService subclass with the following RunAsync override: internal sealed class InternalCustomActorService :…
Palo Mraz
  • 625
  • 5
  • 16
3
votes
3 answers

Reliable Actor with multiple interfaces?

Is there a way to create an actor that has two interfaces? I want to define the public interface in the Interfaces assembly and the internal interface in the actor assembly. The reason is to separate methods that clients should use and methods that…
Eli Pulsifer
  • 713
  • 9
  • 25
2
votes
1 answer

Service Fabric local development cluster with 5 nodes runs less instances and less partitions than expected

I am running a Service Fabric application on a local development cluster with 5 nodes "simulated" on my PC. The application has a public API stateless service with instance count set to -1. I expect to see 5 instances of the stateless service in…
2
votes
3 answers

Dynamically creating services in an service fabric application

This is a bit descriptive so please bear with me. :) In the application that I'm trying to build, there are distinct functionalities of product. Users can choose to opt-in for functionality A, B, D but not C. The way I'm building this, is that each…
2
votes
0 answers

Azure Service Fabric Actors Alternative?

I have an Event Hub with loads of ingress for telemetry kind of data and there is a worker for receiving these events and delegate the small processing work to an Actor on Service Fabric. Even though there is no data consistency problem while…
Mahesh Jasti
  • 572
  • 3
  • 18
2
votes
0 answers

Deleting Service Fabric Actor doesn't appear to clear state on D: (Temp Storage drive)

We appear to have encountered an issue within a Service Fabric cluster where by the state of an Actor service has grown to the point where the Temporary Storage (D:) drive had filled up. As I understand, Actor state and reliable collection state is…
2
votes
2 answers

How can I prevent Service Fabric from generating Default Services for Actors

Everytime I build my Service Fabric solution in Visual Studio, the ApplicationManifest and ServiceManifest are modified and Default Services entries are added for all Reliable Actors in my solution. How can I prevent that? Note: Default Services are…
Frenchy
  • 61
  • 5
2
votes
2 answers

Service Fabric Actors for processing Sensor Data

We are currently architecting a system which should be capable of processing large amount of sensor events. Since the requirement is to handle millions of different sensors instances, I thought the Service Fabric Actor Model would be a perfect…
coalmee
  • 1,334
  • 2
  • 16
  • 27
2
votes
2 answers

Azure Service Fabric Actor Initialization

How can I initialize an Azure Service Fabric Actor on creation? I've tried overloading actor constructor with initialization method and it didn't worked. Must I call initialization method from client after creating the actor or there's a way to make…
1
2 3 4 5 6 7