skip to Main Content

Redis – EnvoyProxy Rate Limit Not Working in Istio 1.7

I'm not able to see rate limit applied in istio 1.7 by applying the following scripts. --- apiVersion: v1 kind: Namespace metadata: name: sock-shop labels: istio-injection: enabled apiVersion: networking.istio.io/v1alpha3 kind: EnvoyFilter metadata: name: filter-ratelimit namespace: istio-system spec: workloadSelector: labels: istio:…

VIEW QUESTION

Redis – Filter zcard by last 30 days

I am trying to know how many new followers a company have in last 30 days. Below what I have right now: To add each new follower: ts = time.time() redis_store.zadd('followers_companies:'+str(company_id_to_fav), str(current_user.id), ts) To retrieve all followers: followers = redis_store.zcard('followers_companies:'+str(company.id))…

VIEW QUESTION
Back To Top
Search