Can we store 100 + reliable dictionaries in a single stateful service is it right approach?

srinivasreddy velpula 21 Reputation points
2019-12-10T09:34:02.16+00:00

Hi Team,

If I store data in those many dictionaries how much CPU the stateful service will take.Will it impact on performance of the application and I have services which are similar to this.

Will it be okay or can anyone suggest me how can I do this.

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
270 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. jakaruna-MSFT 601 Reputation points Microsoft Employee
    2019-12-13T09:59:47.233+00:00

    100 + reliable dictionaries in a single stateful service should be fine.

    Lets take a look at the FAQ from the service fabric FAQs.

    "Consider keeping number of Reliable Collections per partition to be less than 1000. Prefer Reliable Collections with more items over more Reliable Collections with fewer items"

    I dont have info about the benchmark (cpu and memory) for reliable collections. I will check and let you about that.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.