bashbeginner

Rate Limiting Gateway

DevOps practice: rate-limiting-gateway

bash
#!/usr/bin/env bash
set -euo pipefail

echo "Running workflow: rate-limiting-gateway"
mkdir -p .ops/logs
printf '%s %s\n' "$(date -u +%FT%TZ)" "rate-limiting-gateway" >> .ops/logs/run.log
cat .ops/logs/run.log | tail -n 5

Use Cases

  • infrastructure management
  • automation

Tags

Related Snippets

Similar patterns you can reuse in the same workflow.