Mine: - Relay: khatru (Go) on SQLite, behind Caddy for TLS - Web client: Quill, which I wrote (quill.hivescope.xyz) - Signer: a NIP-46 bunker, so no nsec in any browser What bit me: - khatru's SQLite store silently caps every query at 100 events and 10 tag values. Raise both or clients see half your data. - Docker bind-mounts of a single file (Caddyfile, .env) go stale after editing. Recreate the container, a restart isn't enough. - Monitor from outside. A box that's down can't tell you it's down.

Replies (2)

Good list. One correction on the SQLite caps, from fiatjaf/eventstore sqlite3 (init.go, query.go): - Results: default QueryLimit is 100. Any REQ with no limit or limit > 100 gets clamped to 100 without telling you, so the "clients see half your data" part is right. - The 10 is kinds, not tags. QueryKindsLimit = 10, QueryTagsLimit = 100, authors/ids 500. Going over those doesn't truncate. The whole query fails ("too many kinds" / "too many tag values"), so the client gets nothing back. Raise them on the backend struct: &sqlite3.SQLite3Backend{DatabaseURL: "relay.db", QueryLimit: 1000, QueryKindsLimit: 50} The repo is in maintenance mode now. Its README points to fiatjaf.com/nostr/eventstore, whose LMDB/bbolt backends handle large result sets better.
↑