Urgent.News

What's breaking now, across thousands of outlets.

Tech

Defend your endorsement nodes: Rate limiting token-bucket for Fabric.

Defend your endorsement nodes: Rate limiting token-bucket for Fabric. Day 07 of the wFabricSecurity Open Source technical series. Verifying ECDSA signatures is CPU expensive. Saturating an endorsement peer will bring down the node. wFabricSecurity defends your cluster with rate limiting token-bucket. Real Issues A worker in a loop saturating endorsement peers with thousands of signature requests CPU exhaustion in…

Translated from Spanish Read in Spanish

Protege tus nodos de endoso: implementación de límite de velocidad token-bucket para Fabric. La verificación de firmas ECDSA es procesamiento intensivo de CPU. Si un peer de endoso está saturado, todo el nodo se bloqueará. El proyecto wFabricSecurity protege el clúster con este mecanismo de límite de velocidad. Los problemas reales incluyen un trabajador en bucle saturando peers de endoso con miles de solicitudes de firma, agotando la CPU en nodos criptográficos.

Las transacciones legítimas son descartadas debido al colapso de recursos en el peer. La implementación de wFabricSecurity utiliza el módulo RateLimiter de la biblioteca wFabricSecurity, que limita a 100 tokens con un reabastecimiento de 10 tokens por segundo. Si el límite se excede, se lanza una excepción RateLimitError, que protege la verificación intensiva de ECDSA del sobrecarga.

El algoritmo de límite de velocidad token-bucket absorbe picos mientras impone un límite de carga sostenido. El control de RateLimitError rechaza solicitudes abusivas antes de consumir CPU en criptografía. Este código está probado y verificado en entornos de Hyperledger Fabric y es compatible con Python 3.10+. Se encuentra disponible en GitHub y PyPI.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

This story

This is one outlet's version. Read the fullest account.

Read the original at dev.to →

More in Tech

Defend your endorsement nodes: Token-bucket rate limiting for Fabric.

Defend your endorsement nodes: Token-bucket rate limiting for Fabric. Day 07 of the wFabricSecurity Open-Source Engineering Series. ECDSA signature verification is computationally expensive.

  • Token-bucket rate limiting prevents overload on Fabric endorsement nodes
  • Allows 100 tokens with 10 tokens refilled per second
  • Raises RateLimitError for participants exceeding limits

Apple Faces $5.7 Billion Patent Infringement Verdict Over iPhone And Apple Watch Haptics

"A federal jury in San Diego awarded Taction Technology more than $5.7 billion in damages Friday after finding that Apple infringed claims from two haptics patents," reports CNBC: Taction sued Apple…

  • Apple fined $5.7 billion for iPhone and Apple Watch haptics patent infringement
  • Taction Technology wins lawsuit against Apple, alleging patent violation
  • Case lasted five and a half years, settled in San Diego federal court

More from Monday 28 September →