Install .NET via the following script:
I advise to first do a dry run and to enable verbose mode to review if envvar DOTNET_INSTALL_DIR
is set correctly:
// Note that you must explicitly enable compiler optimizations: | |
#LINQPad optimize+ | |
void Main() | |
{ | |
Util.AutoScrollResults = true; | |
BenchmarkRunner.Run<MaterializedViewStateBenchmarks>(); | |
} | |
// You can define other methods, fields, classes and namespaces here |
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
// ----------------------------------------------------------------------- | |
// <copyright file="AspDotNetClusteredRouterIntegrationSpec.cs" company="Petabridge, LLC"> | |
// Copyright (C) 2021 - 2021 Petabridge, LLC <https://petabridge.com> | |
// </copyright> | |
// ----------------------------------------------------------------------- | |
using System.Threading.Tasks; | |
using Phobos.Actor.Cluster.Integration.Tests.Services; | |
using Xunit; | |
using Xunit.Abstractions; |
services: | |
registry: | |
image: registry:2 | |
restart: unless-stopped | |
ports: | |
- "5000:5000" | |
environment: | |
REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /data | |
volumes: | |
- reg-data:/data |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: grafana-loadbalancer | |
namespace: observability | |
spec: | |
type: LoadBalancer | |
selector: | |
app.kubernetes.io/name: grafana | |
ports: |
#!/bin/bash | |
# create the docker data drive | |
mkdir /mnt/docker-base | |
# allow the root service account, which docker runs as, to own this directory and have write permissions | |
chown -R root:root /mnt/docker-base | |
chmod 701 /mnt/docker-base | |
# create a `daemon.json` file for the docker runtime |
Install .NET via the following script:
I advise to first do a dry run and to enable verbose mode to review if envvar DOTNET_INSTALL_DIR
is set correctly:
async Task Main() | |
{ | |
var actorSystem = ActorSystem.Create("Sys"); | |
var persistentActor = actorSystem.ActorOf<ExamplePersistentActor>("exampleActor"); | |
var watch = persistentActor.WatchAsync(); | |
// Sending multiple "save" commands to create snapshots | |
persistentActor.Tell("save-1"); | |
await Task.Delay(TimeSpan.FromSeconds(1)); // spacing out snapshots, time-wise |
version: '3.7' | |
services: | |
jaeger: | |
image: jaegertracing/all-in-one:1.55 | |
hostname: jaeger | |
restart: always | |
ports: | |
- '16686:16686' | |
- '5775:5775/udp' |
Command<ProjectionStarting>(_ => | |
{ | |
// TODO: seeing multiple of these being logged, which makes me think there's a problem with our Akka.Streams graph | |
_log.Info("Projection for Tag [{0}] is starting from Offset [{1}] - instance [{2}] rand [{3}]", NuGetPersistenceTags.NuGetProductTag, | |
CurrentState.LastOffset.AsLong(), Self.Path.Uid, Random.Shared.Next()); | |
Sender.Tell(ProjectionAck.Instance); | |
}); | |
Command<ProjectionCompleted>(_ => | |
{ |