232 questions
0
votes
0
answers
28
views
How to send notifications from grain to client preserving order?
Assume, there is a grain that every microsecond compares time series from several sources, e.g. files, and sends notification with the next smallest value to its subscribers.
Example
File A: 1, 3, 10
...
0
votes
1
answer
176
views
Unexpected Codec Exception when running .NET Orleans web application
The given following example works fine:
namespace Test
{
public class Program
{
static async Task Main(string[] args)
{
using var host = new HostBuilder()
...
3
votes
1
answer
183
views
Hosting Orleans within Azure App Service using a Linux container
I have the following setup with Orleans to allow for clustering. Using Docker locally, I can spin up two instances with the code below, and both instances join the cluster successfully.
builder.Host....
0
votes
1
answer
407
views
.NET Aspire with Aspir8 deploy to kubernetes - Storage Account Connection String
I have a pretty simply .net solution that is using .net aspire. There is a web project and a service project that use .net orleans. To support orleans I am using Azure Storage. I currently have the ...
0
votes
1
answer
81
views
Hosting MS Orleans 7.0 on .NET 4.8
I understand that Orleans and Microsoft.Hosting both work with .NET Standard 2.0 which is supported by .NET 4.8
See: Run Anywhere
For reference, I have already viewed this question which answers "...
0
votes
0
answers
66
views
Multiple web apps in azure gives socket exception
I'm new to Azure portal and DevOps in general.
Some context:
I recently created a new App Service(Web app) in azure which will be my production environment.
I used the same app plan as my UAT ...
1
vote
0
answers
151
views
Implementing Oneway Grain to Grain Media Streaming with Different Nodes and Silos in the Same Cluster
Description:
I'm trying to implement a one-way grain to grain media streaming system using Orleans, where the sender and receiver grains are located on different nodes and silos within the same ...
1
vote
1
answer
468
views
What does this Orleans message mean: Dropping expired message Request
We are running into some issues for our Microsoft Orleans.
The error message is:
Dropping expired message Request [S172.18.0.28:11111:65729425
documentstate/105-ACTIVE-ACTIVE!5487.1]->[S172.18.0....
8
votes
1
answer
385
views
Orleans TestClusterBuilder can't share dependency injection registrations
I can't figure out how to share my service registrations between my test code that uses Orleans and the test code that is outside of Orleans. I've spent days trying to figure this out.
My unit tests ...
1
vote
2
answers
817
views
What is the scope of Orleans grains that are created on the client with the key Guid.Empty?
According to the Microsoft doc Grain Identity, I can get a singleton grain instance by using the key Guid.Empty on the client.
Will this singleton grain instance be scoped globally, to the cluster, or ...
2
votes
0
answers
60
views
How can I generate a sequence of numbers in orleans without using external providers?
I'd like to have a similar behavior that Postgres sequences have in a grain itself. So I can give a unique number to each incoming request without going to a DB.
I can use a DB sequence but then my ...
-2
votes
1
answer
416
views
Question about Microsoft Orleans Dashboard
On the "Grains" view of the Orleans Dashboard I see the Labels(?) for Grains. See the red marked part in this picture:
What does it mean? If this is some kind of "Label" for the ...
1
vote
1
answer
1k
views
Project Orleans Cannot find grain implementation
I have a solution in .NET 7 version. I am using Orleans 7.0.2 version in this solution.
I have 3 projects in my solution named Contracts, Grains and ConsoleApp.
I have IStock.cs interface in my ...
0
votes
0
answers
709
views
RabbitMQ streaming provider for Orleans
Consider we have one RabbitMQ stream in Orleans and there are some messages in the queue that are being processed. If for some reason we stop the application (messages remain in the queue) and then ...
0
votes
1
answer
111
views
Expose ModifiedOn column from Orleans IPersistentState
The question is pretty self defining, what would be the easiest way to expose the ModifiedOn column in the IPersistentState object I inject in to the Grain using [PersistentState("stateType",...
0
votes
1
answer
842
views
What happens when a grain instance is obtained with a new Guid?
I have an Orleans grain that performs an async database operation. I would rather not have the calling code wait for that to finish because it may negatively affect the overall response time and the ...
0
votes
1
answer
89
views
What happens when the version column hits int max in the Orleans Storage table?
I'm using Microsoft Orleans (C#) with ADO on SQL Server for persistence. I see in the OrleansStorage table on the Version column it is using the INT datatype. Does anyone know how an INT rollover is ...
0
votes
1
answer
211
views
Filtering out Orleans Reminder Grains at startup when they load into the memory from MySQL server
My application at the startup loads all of the reminder grains from the MySQL server but the server contains different type of reminder grains from different applications.
It means I got these kind of ...
7
votes
1
answer
3k
views
Usage of Dapr Virtual Actors vs Orleans
I was looking at virtual Actors and I pumped into Dapr and Orleans.
I understand that Dapr is a more complete framework to build a microservices architecture, where virtual actors are just one part of ...
3
votes
2
answers
602
views
Orleans Private Property Deserialization
I have an orleans project with a stateful grain.
Orleans seems to not deserialize private properties when hydrating the state for the grain.
In the image below UserId gets deserialized but not State.
...
4
votes
1
answer
2k
views
Orleans slow with minimalistic use case
I'm evaluating Orleans for a new project we are starting soon.
Eventually we want to run a bunch of persistent actors, but I'm currently struggling to just get base line in memory version of orleans ...
1
vote
1
answer
194
views
What is the PrimarySilo in a cluster?
Currently I am working with Orleans and I am wondering what exactly the PrimarySilo is in a cluster? My guess is that if I make a silo the PrimarySilo, by using the following piece of code for example:...
2
votes
1
answer
1k
views
Microsoft Orleans and Co-hosted clients
I am starting a side-project with Microsoft Orleans (it is a relatively simple online game) and I have a doubt about the deploy and the structure in relation to the Co-Hosted Clients (https://dotnet....
1
vote
0
answers
631
views
How to catch uncaught exceptions in Orleans
Whenever exception occurs in orlean grain, it silently gets deactivated without any log message, so it has become very problematic to find what is going wrong.
Please help us to know how to log ...
4
votes
1
answer
1k
views
Is Orleans reminder execution interleaved?
If there are two different reminders on the same grain activation to be fired at the same point, given that grain execution context is single-threaded, will both reminders be executed and interleaved ...