New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating Orleans to .NET 4.5.1 #173
Comments
Internally, within the Orleans runtime we went through a significant effort years ago to completely remove all usages of LOH. We use dynamic buffer pool of fixed sized buffers for all messages and serialization, thus basically never allocating in the LOH. If the application code within the grain allocates huge chunks of memory that go into LOH, I would personally say - better review your app to remove all LOH allocations, instead of doing on demand LOH compaction. |
I agree. It looks like coming down to performance benefits, if any. I'll link a note here with regards to redirecting assembly versions as it may bear some relevane to Issue #174
|
I see no reason not to move to 4.5.1. |
EDIT: Ups, didn't look closely at the PR status... |
I don't think we did. #273. We discussed it and decided not to merge yet, I think. |
We decided to merge it when Azure moves to 4.5.2 or 4.6. |
FYI, Azure SDK 2.6 is released now, but still requires explicit install of .NET 4.5.2 or 4.6 rather than it being in the base image, so I think we are still need to stay in the holding pattern on this issue for now based on our N-1 version policy. http://azure.microsoft.com/en-us/documentation/articles/azure-sdk-dotnet-release-notes-2_6/ "With Azure SDK 2.6 you can develop cloud service applications (PaaS) targeting .NET 4.5.2 or .NET 4.6 provided that you manually install the target .NET Framework on the Cloud Service Role." http://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-install-dotnet/ |
I installed Orleans 1.0.8, but get the references by NuGet still is 1.0.7 , How can I solve this problem? The VS2013 come up with this probolem: " ClientGenerator could not compile and generate CSharp -- encountered 3 compilation warnings/errors "? |
Try upgrading 1.0.7 NuGet packages referenced by your solution to 1.0.8. |
OK I try it. |
Ask for help, I meet this problem: "Failed to start Orleans silo 'Primary' as a Primary node. Orleans silo 'Primary' shutdown.",How can I solve the problem? |
What kind of deployment is this? The notion of 'Primary' only exist in an on-premises unreliable deployment - http://dotnet.github.io/orleans/Orleans-Configuration-Guide/Typical-Configurations. If you share the logs, it will be easier to help. |
I use Local Development to run HelloWorld project. when I refer to the tutorial to complete after the experiment: Running in a Stand alone Silo Microsoft Orleans Tutorial http://dotnet.github.io/orleans/Step-by-step-Tutorials/Running-in-a-Stand-alone-Silo, then I run the Hello again, I met with this problem: "Failed to start Orleans silo 'Primary' as a Primary node. Orleans silo 'Primary' shutdown." |
Can you share the logs? |
yes HelloWorld.vshost.exe' (CLR v4.0.30319: HelloWorld.vshost.exe): Loaded 'E:\Microsoft Project Orleans SDK v1.0.8\SDK\LocalSilo\Orleans.dll'. Cannot find or open the PDB file. |
'HelloWorld.vshost.exe' (CLR v4.0.30319: HelloWorld.vshost.exe): Loaded 'E:\Microsoft Project Orleans SDK v1.0.8\SDK\LocalSilo\HelloWorld.exe'. Symbols loaded. |
sorry, I don't know how to find logs . Is this above ? |
That's it? What happens if you manually run E:\Microsoft Project Orleans SDK v1.0.8\SDK\LocalSilo\OrleansHost.exe? |
It failed |
Logs should be in E:\Microsoft Project Orleans SDK v1.0.8\SDK\LocalSilo. |
Just run OrleansHost.exe from a command prompt and capture the console output. |
Also make sure you updated the Orleans NuGet packages in your solution to 1.0.8. |
Looking at the log you sent, I suspect there is a version mismatch between binaries. I suggest you do the following:
|
Ok. Thank you for your advice,I'll try it again now. |
How do I deployed Orleans on two machines? which is client and which is Server? The tutorial make me very confused!!! http://dotnet.github.io/orleans/Step-by-step-Tutorials/On-Premise-Deployment. I don't know how to deployed . Can you help me? |
And I don't know which is Source Location and which is destination locations. These also make me very confused |
Have you found this page - http://dotnet.github.io/orleans/Orleans-Configuration-Guide/? Servers are machines running silos. Client is usually a web frontend machine, such as an IIS server. You can deploy multiple servers and multiple (potentially a different number of) clients. |
There is no real need or benefit in building Orleans against 4.5.1 as it can already run under 4.5.1 as is. |
In reference to discussion that originates from the sources mentioned at #169, can we update the solution to use .NET 4.5.1 instead of .NET 4.5? It looks like .NET 4.5.2 is out of reach as Azure PaaS doesn't support it -- and otherwise too probably due to reasons Azure PaaS doesn't support it.
For context regarding performance
NET 4.5.1 Is Bigger Than It Appears
In a broader context, I don't know if there's anything stopping the upgrade. Thinking about on-premises enterprise deployments, .NET 4.5.1 maybe "too new", on the other hand, perhaps the serviceability story is otherwise better. Maybe LOH and faster cold startups aren't a a strong enough reason to update if there are reasons otherwise not to update.
The text was updated successfully, but these errors were encountered: