42 lines
1.4 KiB
YAML
42 lines
1.4 KiB
YAML
|
|
# DOLPHIN — EsoF Daemon Deployment Configuration
|
||
|
|
# ================================================
|
||
|
|
# Esoteric Factors Daemon: continuous process that computes local
|
||
|
|
# astronomical/mathematical indicators (no external APIs, no rate limits)
|
||
|
|
# and pushes a fresh snapshot to Hazelcast DOLPHIN_FEATURES['esof_latest']
|
||
|
|
# every 5 seconds — synchronised with the master DOLPHIN scan frequency.
|
||
|
|
#
|
||
|
|
# NOT a scheduled flow — this is a continuous, long-running daemon.
|
||
|
|
#
|
||
|
|
# Deploy:
|
||
|
|
# prefect deployment apply prod/esof_deployment.yaml
|
||
|
|
# Run:
|
||
|
|
# prefect deployment run 'esof-prefect-flow/esof-daemon'
|
||
|
|
|
||
|
|
name: esof-daemon
|
||
|
|
description: |
|
||
|
|
Esoteric Factors Daemon — pure local computations (astropy + math),
|
||
|
|
zero external API calls. Pushes moon phase, mercury retrograde, liquidity
|
||
|
|
session, market cycle, fibonacci time, regional times, and calendar fields
|
||
|
|
to Hazelcast every 5s.
|
||
|
|
|
||
|
|
entrypoint: prod/esof_prefect_flow.py:esof_prefect_flow
|
||
|
|
version: 1.0.0
|
||
|
|
|
||
|
|
tags: ["esof", "esoteric-factors", "production"]
|
||
|
|
|
||
|
|
work_pool:
|
||
|
|
name: dolphin
|
||
|
|
work_queue_name: default
|
||
|
|
|
||
|
|
# warmup_s: one EsotericFactorsService poll cycle (5s) + 1s margin.
|
||
|
|
# poll_interval_s: internal compute cadence; keep equal to HZ push interval.
|
||
|
|
parameters:
|
||
|
|
warmup_s: 6
|
||
|
|
poll_interval_s: 5.0
|
||
|
|
|
||
|
|
# Process-based infrastructure — long-running daemon (mirrors ExF pattern)
|
||
|
|
infrastructure:
|
||
|
|
type: process
|
||
|
|
env: {}
|
||
|
|
labels: {}
|