{"blog_url":"https://ryuichi1208.hateblo.jp/","url":"https://ryuichi1208.hateblo.jp/entry/2025/05/31/142816","type":"rich","published":"2025-05-31 14:28:16","categories":[],"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/ryuichi1208/","blog_title":"\u5730\u65b9\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5b66\u7fd2\u65e5\u8a18","image_url":null,"provider_url":"https://hatena.blog","height":"190","description":"import redis r = redis.Redis(host='localhost', port=6379, db=0) r.set('mykey', 'Hello, Redis!') value = r.get('mykey') print(value.decode('utf-8')) # \u51fa\u529b: Hello, Redis! \u4f55\u3082\u3057\u306a\u3044\u3068\u3053\u3093\u306a\u611f\u3058\u306e\u30b3\u30fc\u30c9\u306b\u306a\u308b\u3002exponential_backoff_retry\u3092\u4ed5\u8fbc\u3080\u3002 import redis import time import random def exponential_backoff_retry(func, max_ret\u2026","width":"100%","version":"1.0","title":"\u3010Python\u3011ElastiCache for Redis\u306eFO\u306b\u5bfe\u5fdc\u3059\u308b","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryuichi1208.hateblo.jp%2Fentry%2F2025%2F05%2F31%2F142816\" title=\"\u3010Python\u3011ElastiCache for Redis\u306eFO\u306b\u5bfe\u5fdc\u3059\u308b - \u5730\u65b9\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5b66\u7fd2\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"ryuichi1208"}