Skip to content

Instantly share code, notes, and snippets.

File Size Operation Time (ns/op)
Small Replace 10,787
Medium Replace 77,025
Large Replace 671,757
@fritzstauff
fritzstauff / perfomance.csv
Created January 16, 2024 16:31
streamdal tansformations
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 1 column, instead of 2 in line 2.
| File Size | Operation | Time (ns/op) |
|-----------|-----------|--------------|
| Small | Replace | 10,787 |
| Medium | Replace | 77,025 |
| Large | Replace | 671,757 |
@fritzstauff
fritzstauff / entry-point.sh
Created January 8, 2024 20:30
streamdal-entry
#!/bin/bash
# Generate a unique identifier, e.g., using the hostname
NODE_NAME="node-$(hostname)"
# Set the environment variable
export STREAMDAL_SERVER_NODE_NAME=$NODE_NAME
# Execute the original Docker entry point
exec "$@"
graceTimeOut = 10
logLevel = "ERROR"
defaultEntryPoints = ["http", "https"]
[web]
address = ":8081"
CertFile = "/etc/traefik/certs/traefik-admin.cert.pem"
KeyFile = "/etc/traefik/certs/traefik-admin.key.pem"
[marathon]