[Redis] 使用 redis-py 連線 Redis Sentinel 時,出現 No master found for ‘mymaster’ 錯誤訊息?
今天在幫忙同事看一個 redis-py 連線 Redis Sentinel, 可是卻出現 No master found for ‘mymaster…
今天在幫忙同事看一個 redis-py 連線 Redis Sentinel, 可是卻出現 No master found for ‘mymaster…
公司的專案用了 Redis Sentinel,它是一個 HA 的架構, 由一個哨兵 (sentinel) 端點來告訴連線的人, 應該要連到哪一個真正的 Redi…
今天專案有個需求, 要去確認一下友軍製作的網站,支援的 SSL/TLS ciphers 是不是夠安全。 簡單看了一下,至少有兩種方法: 1. 使用…
最近在看專案 TLS cipher 的問題… 如果是用 curl 的話,它提供了 SSL ciphers 這頁裡列出的 cipher, 用 R…
Python 裡有個 threading.local(),可以取得 thread-local storage (TLS), 也就是每個執行緒 (thread) …