This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define a parameter for the connection string | |
param ( | |
[string]$ConnectionString = $null | |
) | |
# Step 1: Check if SqlPackage is installed, if not, install it | |
try { | |
SqlPackage | |
} catch { | |
Write-Host "SqlPackage is not installed, proceeding with the installation..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// requires the `Akka` NuGet package to be installed in the query | |
int entitiesPerNodeFactor = 100; | |
List<string> nodes = Enumerable.Range(0, 10).Select(c => $"hostname-{c}").ToList(); | |
Dictionary<string, int> entityToNodeAllocations = nodes.ToDictionary(c => c, k => 0); | |
var entityIds = Enumerable.Range(0, nodes.Count * entitiesPerNodeFactor).Select(e => $"entity-{e}"); | |
foreach(var e in entityIds){ | |
var hashCode = MurmurHash.StringHash(e); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
Problem statement - what is the nature of the issue we’re going to try to solve with this specification?
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
akka.persistence{ | |
journal { | |
plugin = "akka.persistence.journal.sql-server" | |
sql-server { | |
# qualified type name of the SQL Server persistence journal actor | |
class = "Akka.Persistence.SqlServer.Journal.SqlServerJournal, Akka.Persistence.SqlServer" | |
# connection string used for database access | |
connection-string = "str1" |
Directory:
D:\Repositories\olympus\akka.net\src\contrib\cluster\Akka.DistributedData.Tests.MultiNode\bin\Release\net471
Mode LastWriteTime Length Name
d----- 8/6/2021 9:35 PM cs
d----- 8/6/2021 9:35 PM de