# 62 Seafile: Änderung auf Client A, Zeit bis sie auf Client B liegt (2026-10-24) # Beide seaf-cli-Daemons laufen dauerhaft (der übliche Betrieb des offiziellen Clients); A schreibt eine Datei, B wartet. # Server mit Standard-.env: ENABLE_NOTIFICATION_SERVER=false Lauf 1: Datei bei B nach 30.98 s Lauf 2: Datei bei B nach 30.00 s Lauf 3: Datei bei B nach 30.08 s Lauf 4: Datei bei B nach 29.94 s Lauf 5: Datei bei B nach 30.00 s Mittel 30.20 s, Median 30.00 s, min 29.94, max 30.98 (n=5) ## Variante 2026-10-24T17:58:04Z: Notification Server eingeschaltet, Schritte wörtlich aus manual.seafile.com/13.0/extension/notification-server/ + cd /opt/seafile + wget -q https://manual.seafile.com/13.0/repo/docker/notification-server.yml + sed -i 's/^COMPOSE_FILE=.*/COMPOSE_FILE='\''seafile-server.yml,caddy.yml,seadoc.yml,notification-server.yml'\''/' .env + sed -i 's/^ENABLE_NOTIFICATION_SERVER=.*/ENABLE_NOTIFICATION_SERVER=true/' .env + grep -E '^COMPOSE_FILE|^ENABLE_NOTIF' .env COMPOSE_FILE='seafile-server.yml,caddy.yml,seadoc.yml,notification-server.yml' ENABLE_NOTIFICATION_SERVER=true + tail -1 + docker compose down Network seafile-net Removed + docker compose up -d + tail -1 Container notification-server Started + sleep 40 + curl -s https://cloud.example.com/notification/ping {"ret": "pong"} + echo [10/24/26 17:59:19] sync-mgr.c(1749): Notification server is enabled on the remote server https://cloud.example.com. [10/24/26 17:59:20] sync-mgr.c(1749): Notification server is enabled on the remote server https://cloud.example.com. # Erster Versuch nach dem Umschalten (17:59) lief ins Zeitlimit (300 s je Lauf): Fehler im Messskript, Client B hing noch an der # alten Bibliothek gleichen Namens (kein desync vor dem Neuanlegen). Behoben, Wiederholung: Lauf 1: Datei bei B nach 2.56 s Lauf 2: Datei bei B nach 1.99 s Lauf 3: Datei bei B nach 2.01 s Lauf 4: Datei bei B nach 3.00 s Lauf 5: Datei bei B nach 2.95 s Mittel 2.50 s, Median 2.56 s, min 1.99, max 3.00 (n=5) mit Notification Server # Befund: Mit der Standard-.env (ENABLE_NOTIFICATION_SERVER=false) fragt der Client den Server periodisch ab, B bekam jede Änderung nach rund 30 s. Mit dem Notification Server (eine zusätzliche Compose-Datei, ein Schalter) rund 2,5 s.