This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Script to populate Redis with sample user reactions data and scan the results. | |
| """ | |
| import random | |
| from datetime import datetime, timedelta | |
| import redis | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Script to connect to production Redis cluster using GlideClusterClient. | |
| """ | |
| import asyncio | |
| from glide import GlideClusterClient, GlideClusterClientConfiguration, NodeAddress | |
| async def main(): |