LearnersGuild / echo

learning management system
MIT License
3 stars 31 forks source link

implement a more robust caching strategy for Slack user- and channel-ids #995

Open jeffreywescott opened 7 years ago

jeffreywescott commented 7 years ago

From ch2142

Description

Slack uses their own internal IDs rather than human-friendly names for both channels and users, and they don’t provide an api to translate between the two.

Right now, we are caching the user and channel list (in memory) for 5 minutes. This will work until we have too many users / channels for that to be reasonable (e.g., 10s of thousands). We should fix this.

Proposal

jeffreywescott commented 7 years ago

[Comment from Clubhouse user @jeffreywescott:] @prattsj: move to P4 GH?