Is there abounded amount of actors in the same Service Fabric Actor app?

37 Views Asked by At

I wonder if in 'real life' and not just in theory, is there a max limit of the number of actors in the same app? Does it know to handle 500,000 actors in the same time? asume that I have the physical resources (cpu and memory)

1

There are 1 best solutions below

2
LoekD On

Yes. The nice thing about Actors is that their lifecycle is managed. If they're not used, they are persisted and taken out of memory (garbage collected). So it's not a problem to have millions of Actors in your system. See this link for an example, an online game with millions of players.

Provided you think ahead of the resource requirements and partitioning, SF should scale well.