From 56076347021e8d26959eebaa7512b4ae46be7c2c Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Tue, 19 Apr 2022 20:43:40 -0500 Subject: [PATCH] migrating to Akka.Persistence storage for sharding (#27) * migrating to Akka.Persistence storage for sharding * Delete kubectl * updated --- RELEASE_NOTES.md | 9 +++++++++ k8s/prod/kubectl | 0 k8s/prod/services/prod-services.yaml | 6 +++--- src/Directory.Build.props | 4 ++-- src/backend/AkkaDotNet.BackEnd/Program.cs | 2 +- .../AkkaDotNet.Infrastructure.csproj | 2 +- 6 files changed, 16 insertions(+), 7 deletions(-) delete mode 100644 k8s/prod/kubectl diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 54ce46b..dfd967c 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,12 @@ +## [0.4.6] / 19 April 2022 +- Arbitrary bump for deployment purposes + +## [0.4.5] / 19 April 2022 +- Switched Cluster.Sharding `state-store-mode=persistence` + +## [0.4.4] / 19 April 2022 +- Bumped Phobos to 2.0.2 + ## [0.4.3] / 15 April 2022 - Bumped Akka.Remote max-frame-size to 1mb, buffer sizes to 2mb. diff --git a/k8s/prod/kubectl b/k8s/prod/kubectl deleted file mode 100644 index e69de29..0000000 diff --git a/k8s/prod/services/prod-services.yaml b/k8s/prod/services/prod-services.yaml index e0c59b7..d60c710 100644 --- a/k8s/prod/services/prod-services.yaml +++ b/k8s/prod/services/prod-services.yaml @@ -78,7 +78,7 @@ spec: emptyDir: {} containers: - name: frontend - image: akkalargescaleimages64b06635.azurecr.io/akkadotnet.frontend:0.4.3 + image: akkalargescaleimages64b06635.azurecr.io/akkadotnet.frontend:0.4.6 env: - name: POD_NAME valueFrom: @@ -190,7 +190,7 @@ metadata: akkacluster: stress spec: serviceName: "backend-akka" - replicas: 3 + replicas: 130 selector: matchLabels: app: backend @@ -207,7 +207,7 @@ spec: emptyDir: {} containers: - name: backend - image: akkalargescaleimages64b06635.azurecr.io/akkadotnet.backend:0.4.3 + image: akkalargescaleimages64b06635.azurecr.io/akkadotnet.backend:0.4.6 env: - name: POD_NAME valueFrom: diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 4a64e79..2722a97 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -2,8 +2,8 @@ Copyright © 2022 Petabridge Petabridge - 0.4.3 - • Bumped Akka.Remote max-frame-size to 1mb%2C buffer sizes to 2mb. + 0.4.6 + • Arbitrary bump for deployment purposes diff --git a/src/backend/AkkaDotNet.BackEnd/Program.cs b/src/backend/AkkaDotNet.BackEnd/Program.cs index c4906bb..902cca2 100644 --- a/src/backend/AkkaDotNet.BackEnd/Program.cs +++ b/src/backend/AkkaDotNet.BackEnd/Program.cs @@ -30,7 +30,7 @@ { RememberEntities = false, Role = ActorSystemConstants.BackendRole, - StateStoreMode = StateStoreMode.DData + StateStoreMode = StateStoreMode.Persistence }) .WithItemMessagingActor(); }); diff --git a/src/shared/AkkaDotNet.Infrastructure/AkkaDotNet.Infrastructure.csproj b/src/shared/AkkaDotNet.Infrastructure/AkkaDotNet.Infrastructure.csproj index a56cb5a..2857bbb 100644 --- a/src/shared/AkkaDotNet.Infrastructure/AkkaDotNet.Infrastructure.csproj +++ b/src/shared/AkkaDotNet.Infrastructure/AkkaDotNet.Infrastructure.csproj @@ -23,7 +23,7 @@ - +