Practise the standard verbs for working with Redis pub/sub channels.
0 / 5 completed
1 / 5
Fill in: 'We ___ to a Redis channel so a subscriber starts receiving messages the moment it connects.'
We 'subscribe to' a channel — the standard, established pub/sub collocation for listening on a topic. The other options aren't the recognised term here.
2 / 5
Fill in: 'A subscriber that disconnects briefly can ___ every message published during that gap since Redis pub/sub isn't durable.'
We say a gap in connection will 'miss' messages — the standard, natural collocation for the resulting data loss. The other options aren't idiomatic here.
3 / 5
Fill in: 'We ___ a message to the channel whenever an event happens that downstream services care about.'
We 'publish a message' — the standard, established pub/sub collocation for broadcasting an event. The other options aren't the recognised term here.
4 / 5
Fill in: 'We ___ Redis Streams instead of plain pub/sub whenever a subscriber genuinely needs message durability.'
We 'use' a tool — the standard, simple collocation for choosing an appropriate technology. The other options are less idiomatic here.
5 / 5
Fill in: 'We ___ from a channel cleanly on shutdown so Redis doesn't keep a dead connection registered as a listener.'
We 'unsubscribe from' a channel — the standard, established collocation for the opposite of subscribing. The other options aren't the recognised term here.