{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/orleans/issues/4505","repository_url":"https://api.github.com/repos/dotnet/orleans","labels_url":"https://api.github.com/repos/dotnet/orleans/issues/4505/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/orleans/issues/4505/comments","events_url":"https://api.github.com/repos/dotnet/orleans/issues/4505/events","html_url":"https://github.com/dotnet/orleans/issues/4505","id":317217760,"node_id":"MDU6SXNzdWUzMTcyMTc3NjA=","number":4505,"title":"Orleans gets slower over time","user":{"login":"SebastianStehle","id":1236435,"node_id":"MDQ6VXNlcjEyMzY0MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/1236435?v=4","gravatar_id":"","url":"https://api.github.com/users/SebastianStehle","html_url":"https://github.com/SebastianStehle","followers_url":"https://api.github.com/users/SebastianStehle/followers","following_url":"https://api.github.com/users/SebastianStehle/following{/other_user}","gists_url":"https://api.github.com/users/SebastianStehle/gists{/gist_id}","starred_url":"https://api.github.com/users/SebastianStehle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebastianStehle/subscriptions","organizations_url":"https://api.github.com/users/SebastianStehle/orgs","repos_url":"https://api.github.com/users/SebastianStehle/repos","events_url":"https://api.github.com/users/SebastianStehle/events{/privacy}","received_events_url":"https://api.github.com/users/SebastianStehle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ReubenBond","id":203839,"node_id":"MDQ6VXNlcjIwMzgzOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/203839?v=4","gravatar_id":"","url":"https://api.github.com/users/ReubenBond","html_url":"https://github.com/ReubenBond","followers_url":"https://api.github.com/users/ReubenBond/followers","following_url":"https://api.github.com/users/ReubenBond/following{/other_user}","gists_url":"https://api.github.com/users/ReubenBond/gists{/gist_id}","starred_url":"https://api.github.com/users/ReubenBond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReubenBond/subscriptions","organizations_url":"https://api.github.com/users/ReubenBond/orgs","repos_url":"https://api.github.com/users/ReubenBond/repos","events_url":"https://api.github.com/users/ReubenBond/events{/privacy}","received_events_url":"https://api.github.com/users/ReubenBond/received_events","type":"User","site_admin":false},"assignees":[{"login":"ReubenBond","id":203839,"node_id":"MDQ6VXNlcjIwMzgzOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/203839?v=4","gravatar_id":"","url":"https://api.github.com/users/ReubenBond","html_url":"https://github.com/ReubenBond","followers_url":"https://api.github.com/users/ReubenBond/followers","following_url":"https://api.github.com/users/ReubenBond/following{/other_user}","gists_url":"https://api.github.com/users/ReubenBond/gists{/gist_id}","starred_url":"https://api.github.com/users/ReubenBond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReubenBond/subscriptions","organizations_url":"https://api.github.com/users/ReubenBond/orgs","repos_url":"https://api.github.com/users/ReubenBond/repos","events_url":"https://api.github.com/users/ReubenBond/events{/privacy}","received_events_url":"https://api.github.com/users/ReubenBond/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotnet/orleans/milestones/25","html_url":"https://github.com/dotnet/orleans/milestone/25","labels_url":"https://api.github.com/repos/dotnet/orleans/milestones/25/labels","id":3231896,"node_id":"MDk6TWlsZXN0b25lMzIzMTg5Ng==","number":25,"title":"2.1.0","description":"","creator":{"login":"sergeybykov","id":8248806,"node_id":"MDQ6VXNlcjgyNDg4MDY=","avatar_url":"https://avatars1.githubusercontent.com/u/8248806?v=4","gravatar_id":"","url":"https://api.github.com/users/sergeybykov","html_url":"https://github.com/sergeybykov","followers_url":"https://api.github.com/users/sergeybykov/followers","following_url":"https://api.github.com/users/sergeybykov/following{/other_user}","gists_url":"https://api.github.com/users/sergeybykov/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeybykov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeybykov/subscriptions","organizations_url":"https://api.github.com/users/sergeybykov/orgs","repos_url":"https://api.github.com/users/sergeybykov/repos","events_url":"https://api.github.com/users/sergeybykov/events{/privacy}","received_events_url":"https://api.github.com/users/sergeybykov/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":7,"state":"open","created_at":"2018-03-30T20:28:19Z","updated_at":"2018-06-15T20:17:05Z","due_on":null,"closed_at":null},"comments":42,"created_at":"2018-04-24T13:08:37Z","updated_at":"2018-06-18T20:36:42Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\nit is a little bit vague, but I have the impression that Orleans gets slower over time.\r\n\r\nMy specs are:\r\n\r\n* .NET Core 2.0\r\n* Running on Kubernetes in GCloud, 2 Nodes/Silos\r\n* Co-Hosted with ASP.NET Core\r\n\r\nI have a very simple grain, that just returns the snapshot (my own state system):\r\n\r\nhttps://github.com/Squidex/squidex/blob/master/src/Squidex.Domain.Apps.Entities/Schemas/SchemaGrain.cs#L305\r\n\r\nI use my own serializer with JSON.NET and my benchmarks show that the serialization takes 2-3 ms usually. I also tested it with 100x larger states that expected and the performance is great.\r\n\r\nI added some profiling to the client side and I have experienced that the call takes 4-5 ms after I deploy it and several days later up to 200ms or even more (the max I have seen is 10seconds).\r\n\r\nI also checked my MongoDB logs where I save all slow queries and there is nothing related.\r\n\r\nI am a little bit lost."},"comment":{"url":"https://api.github.com/repos/dotnet/orleans/issues/comments/398187157","html_url":"https://github.com/dotnet/orleans/issues/4505#issuecomment-398187157","issue_url":"https://api.github.com/repos/dotnet/orleans/issues/4505","id":398187157,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODE4NzE1Nw==","user":{"login":"SebastianStehle","id":1236435,"node_id":"MDQ6VXNlcjEyMzY0MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/1236435?v=4","gravatar_id":"","url":"https://api.github.com/users/SebastianStehle","html_url":"https://github.com/SebastianStehle","followers_url":"https://api.github.com/users/SebastianStehle/followers","following_url":"https://api.github.com/users/SebastianStehle/following{/other_user}","gists_url":"https://api.github.com/users/SebastianStehle/gists{/gist_id}","starred_url":"https://api.github.com/users/SebastianStehle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebastianStehle/subscriptions","organizations_url":"https://api.github.com/users/SebastianStehle/orgs","repos_url":"https://api.github.com/users/SebastianStehle/repos","events_url":"https://api.github.com/users/SebastianStehle/events{/privacy}","received_events_url":"https://api.github.com/users/SebastianStehle/received_events","type":"User","site_admin":false},"created_at":"2018-06-18T20:36:42Z","updated_at":"2018-06-18T20:36:42Z","author_association":"CONTRIBUTOR","body":"Yes, it is much better with the nightly build."}}
{"actor":{"display_login":"SebastianStehle"}}