Questions tagged [service-fabric-stateful]

222 questions
0
votes
1 answer

How to upload data in IReliable dictionary from IEnumerable

I am retrieving data from Azure Table Storage and storing them in IEnumerable, but I don't know how to convert this IEnumerable into IReliableDictionary, so that I can save this store data into state manager of stateful service.…
Rumpi Guha
  • 118
  • 1
  • 1
  • 7
0
votes
1 answer

Reliable Dictionary Performance Semantics

The service fabric documentation doesn't explicitly define the ordering of keys in a Reliable Dictionary during enumeration. A quick test enumerates this using key-order, regardless of insertion order. Is the key-ordering intentional? Can I write…
tejas
  • 607
  • 6
  • 11
0
votes
1 answer

In Service Fabric, Are reliable queues only available to the same service type?

I created a pair of services in service fabric, one goes and reads from the source database and if it finds any new items, adds to a reliable queue; the other one tries to dequeue from the reliable queue and creates in the other database where I…
Murven
  • 2,377
  • 17
  • 23
0
votes
1 answer

Service Fabric: How can we report a metric load on specific replicas for stateful services and on specific instances for stateless services

How can we report a metric load on specific replicas for stateful services and on specific instances for stateless services. For example, stateless service with 5 instances, I want to report a metric load for instance 1 only, not affecting instances…
0
votes
1 answer

Service Fabric model partial data loss

We have a stateful service that saves data in a ReliableDictionary. We noticed a small amount of data missing from this service today. We had a recent code update which changed the namespace and assembly of one of the models that was stored in the…
0
votes
1 answer

Does this make sense for Orleans or SF and if so guidance please

We’re working to take our software to Azure cloud and looking at Orleans and Service Fabric (SF) as potential frameworks. We need to: Populate our analysis engines with lots of data (e.g., 100MB to 2GB) per engine instance. Maintain that state, and…
0
votes
2 answers

Service Fabric - Reliable services pub/sub or broadcast events

I could not found any broadcast or pub/sub pattern between Reliable Services in any documentation. Did I miss anything? My use case is , we need to notify custom event to all the SF stateful service replica in cluster if there any state change in…
0
votes
1 answer

Multi tenant stateful service: service instance per tenant vs partition per tenant

We plan on using a stateful service to act basically as a cache for tenant data that is stored externally. Is there much difference in creating a separate service of the same service type for each tenant vs having one service and a separate…
user2202761
  • 183
  • 1
  • 5
0
votes
1 answer

File in use Error service Fabric

I have a really annoying issue with service fabric where I am now getting a file in use error This makes no sense because I have reset the cluster, rebooted, etc and nothing works The problem is that the message is useless 12>powershell…
Paul
  • 2,773
  • 7
  • 41
  • 96
0
votes
1 answer

Service Fabric Replica Stuck

I am upgrading an application on Service Fabric and one of the replicas is showing the following warning: Unhealthy event: SourceId='System.RAP', Property='IStatefulServiceReplica.ChangeRole(S)Duration', HealthState='Warning',…
Sam Schneider
  • 202
  • 4
  • 12
0
votes
1 answer

Service fabric Stateful service - Scaling without partitioning?

I am planning to migrate my existing cloud monolithic Restful Web API service to Service fabric in three steps. The Memory cache (in process) has been heavily used in my cloud service. Step 1) Migrate cloud service to SF stateful service with 1…
Ashish
  • 407
  • 3
  • 12
0
votes
1 answer

Accessing a specific node in local service fabric cluster

I am working on a Service Fabric Application, in which I am running my Application that contains a bunch of ASP.NET Core Web APIs. Now when I run my application on my local service fabric cluster that is configured with 5 nodes, the application runs…
starklord
  • 291
  • 2
  • 6
  • 16
0
votes
1 answer

ReliableCollections Service Fabric: Statemanager's GetOrAddAsync() returns invalid queue with different names

I have two reliable queues and they are being accessed by two guest executables and each of them access their own. Sometimes the function I use to access them doesn't update the reliable queue object in the function and the wrong request is sent to…
0
votes
3 answers

Int64RangePartitionInformation - how can I create object? I want to use object in my unit test

Int64RangePartitionInformation - how can I create object? I want to use object in my unit test. When I attempt to create object using var c = new Int64RangePartitionInformation(); compiler throws me error 'Int64RangePartitionInformation' does not…
Datha
  • 655
  • 1
  • 5
  • 12
0
votes
2 answers

Azure Service Fabric - External State Manager

As part of a Proof of Concept, We're trying to store an ASF Reliable Service or Actor state in a durable data store (like a MongoDB or DocumentDB). The idea is to provide a custom state manager, that stores data in a database instead of memory (or…