Well, I went ahead and tried to update it with what you said, but it seems that it is just as slow somehow when utilizing the cluster of relays.
"Clustered Outbox Analysis
Running
Discovers user relays, clusters users by common relays, then batch queries each relay cluster for maximum speed and accuracy
Checking: Relay clustering + batch queries"
Have any more ideas of what it might be doing inefficiently?
Login to reply
Replies (1)
The optimization works by:
Phase 1: Discover relays for each user (NIP-65, NIP-02, activity-based)
Phase 2: Create relay clusters Map<relay, Set<pubkey>>
Phase 3: For each relay cluster, make 3 optimized batch queries
Phase 4: Distribute results back to individual users with deduplication