[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"workflow-asset-b8895f72":3,"seo:featured-workflow:b8895f72-4eca-11f1-9bc6-00163e2b0d79:fr":83,"workflow-related-asset-b8895f72-b8895f72-4eca-11f1-9bc6-00163e2b0d79":84},{"id":4,"uuid":5,"slug":6,"title":7,"description":8,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":12,"parent_id":12,"parent_uuid":13,"lang_type":14,"steps":15,"tags":22,"has_voted":28,"visibility":18,"share_token":13,"is_featured":12,"content_hash":29,"asset_kind":30,"target_tools":31,"install_mode":35,"entrypoint":19,"risk_profile":36,"dependencies":38,"verification":43,"agent_metadata":46,"agent_fit":59,"trust":71,"provenance":80,"created_at":82,"updated_at":82},3611,"b8895f72-4eca-11f1-9bc6-00163e2b0d79","asset-b8895f72","Hystrix — Latency and Fault Tolerance Library for Distributed Systems","Hystrix is a Netflix open-source library that isolates remote service calls, prevents cascading failures, and provides real-time monitoring dashboards for JVM-based microservice architectures.","8a911193-3180-11f1-9bc6-00163e2b0d79","AI Open Source","https:\u002F\u002Ftokrepo.com\u002Fapple-touch-icon.png",0,"","en",[16],{"id":17,"step_order":18,"title":19,"description":13,"prompt_template":20,"variables":13,"depends_on":21,"expected_output":13},4171,1,"Hystrix Fault Tolerance","# Hystrix — Latency and Fault Tolerance for Distributed Systems\n\n## Quick Use\n```xml\n\u003C!-- Maven dependency -->\n\u003Cdependency>\n  \u003CgroupId>com.netflix.hystrix\u003C\u002FgroupId>\n  \u003CartifactId>hystrix-core\u003C\u002FartifactId>\n  \u003Cversion>1.5.18\u003C\u002Fversion>\n\u003C\u002Fdependency>\n```\n```java\npublic class GetOrderCommand extends HystrixCommand\u003COrder> {\n    protected Order run() { return orderService.get(id); }\n    protected Order getFallback() { return Order.empty(); }\n}\n```\n\n## Introduction\nHystrix implements the circuit breaker pattern for JVM applications. When a downstream service becomes slow or unavailable, Hystrix short-circuits requests and routes them to a fallback, protecting the calling service from cascading failures.\n\n## What Hystrix Does\n- Wraps remote calls in isolated thread pools or semaphores to contain failures\n- Opens a circuit breaker when error rates exceed a configurable threshold\n- Routes failed or timed-out requests to developer-defined fallback logic\n- Publishes real-time metrics via an event stream for the Hystrix Dashboard\n- Provides request caching and request collapsing for batching\n\n## Architecture Overview\nEach Hystrix command runs inside its own thread pool (bulkhead pattern), preventing a slow dependency from consuming all application threads. A sliding-window health monitor tracks success, failure, timeout, and rejection rates. When failures cross the threshold, the circuit opens and all requests go to the fallback for a configurable sleep window before half-open probing resumes.\n\n## Self-Hosting & Configuration\n- Add hystrix-core as a Maven or Gradle dependency in any JVM project\n- Configure per-command thread pool sizes, timeouts, and circuit breaker thresholds via Archaius or static properties\n- Deploy the Hystrix Dashboard WAR alongside your service for real-time monitoring\n- Use Turbine to aggregate metrics streams across a cluster\n- Integrates with Spring Cloud Netflix for annotation-driven usage\n\n## Key Features\n- Bulkhead isolation keeps failing dependencies from taking down the whole service\n- Configurable circuit breaker with automatic recovery probing\n- Real-time streaming dashboard for observing command health\n- Request collapsing reduces fan-out by batching concurrent calls\n- Mature and battle-tested at Netflix scale\n\n## Comparison with Similar Tools\n- **Resilience4j** — modern lightweight successor designed for Java 8+; recommended for new projects since Hystrix is in maintenance mode\n- **Sentinel (Alibaba)** — broader flow control and system protection; more features but heavier\n- **Polly (.NET)** — equivalent circuit breaker library for the .NET ecosystem\n- **Istio\u002FEnvoy** — implements circuit breaking at the service mesh layer rather than in application code\n\n## FAQ\n**Q: Is Hystrix still maintained?**\nA: Hystrix entered maintenance mode in 2018. Netflix recommends Resilience4j for new projects, but Hystrix remains stable and widely deployed.\n\n**Q: Can I use Hystrix without Spring Cloud?**\nA: Yes. Hystrix is a standalone library; Spring Cloud Netflix is an optional integration layer.\n\n**Q: How does the circuit breaker decide when to open?**\nA: It uses a rolling time window to track error percentages. When the error rate exceeds the configured threshold and minimum request volume, the circuit opens.\n\n**Q: Does Hystrix work with reactive frameworks?**\nA: Hystrix includes an RxJava-based observable command variant for reactive pipelines.\n\n## Sources\n- https:\u002F\u002Fgithub.com\u002FNetflix\u002FHystrix\n- https:\u002F\u002Fgithub.com\u002FNetflix\u002FHystrix\u002Fwiki","0",[23],{"id":24,"name":25,"slug":26,"icon":27},12,"Configs","config","⚙️",false,"14ca6be68a1e2e1eeca22fe206bd9259aced8cd9770c43b2fb11a60089068b89","skill",[32,33,34],"claude_code","codex","gemini_cli","single",{"executes_code":28,"modifies_global_config":28,"requires_secrets":37,"uses_absolute_paths":28,"network_access":28},[],{"npm":39,"pip":40,"brew":41,"system":42},[],[],[],[],{"commands":44,"expected_files":45},[],[19],{"asset_kind":30,"target_tools":47,"install_mode":35,"entrypoint":19,"risk_profile":48,"dependencies":50,"content_hash":29,"verification":55,"inferred":58},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":49,"uses_absolute_paths":28,"network_access":28},[],{"npm":51,"pip":52,"brew":53,"system":54},[],[],[],[],{"commands":56,"expected_files":57},[],[19],true,{"target":33,"score":60,"status":61,"policy":62,"why":63,"asset_kind":30,"install_mode":35},98,"native","allow",[64,65,66,67,68,69,70],"target_tools includes codex","asset_kind skill","install_mode single","markdown-only","policy allow","safe markdown-only Codex install","trust established",{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":29,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":74,"review_status":75,"signals":76},"established","hash_only",[],"unreviewed",[77,78,79],"author has published assets","content hash available","no dangerous capability badges",{"owner_uuid":9,"owner_name":10,"source_url":81,"content_hash":29,"visibility":18,"created_at":82,"updated_at":82},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-b8895f72","2026-05-13 20:53:21",null,[85,142,191,238],{"id":86,"uuid":87,"slug":88,"title":89,"description":90,"author_id":91,"author_name":92,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":93,"parent_id":12,"parent_uuid":13,"lang_type":14,"steps":94,"tags":95,"has_voted":28,"visibility":18,"share_token":13,"is_featured":12,"content_hash":101,"asset_kind":30,"target_tools":102,"install_mode":35,"entrypoint":103,"risk_profile":104,"dependencies":106,"verification":111,"agent_metadata":114,"agent_fit":126,"trust":128,"provenance":132,"created_at":134,"updated_at":135,"__relatedScore":136,"__relatedReasons":137,"__sharedTags":141},2588,"f252f5ed-474f-11f1-9bc6-00163e2b0d79","asset-f252f5ed","Resilience4j — Lightweight Fault Tolerance Library for Java","Resilience4j is a lightweight fault tolerance library for Java applications, providing circuit breaker, rate limiter, retry, bulkhead, and time limiter patterns with a functional programming model.","8a910e34-3180-11f1-9bc6-00163e2b0d79","Script Depot",102,[],[96],{"id":97,"name":98,"slug":99,"icon":100},11,"Scripts","script","📜","53b4e143fe5385cfc67184e057bad17fee41824cdaea5ea4f06120ec8c81f38f",[32,33,34],"Resilience4j",{"executes_code":28,"modifies_global_config":28,"requires_secrets":105,"uses_absolute_paths":28,"network_access":28},[],{"npm":107,"pip":108,"brew":109,"system":110},[],[],[],[],{"commands":112,"expected_files":113},[],[103],{"asset_kind":30,"target_tools":115,"install_mode":35,"entrypoint":103,"risk_profile":116,"dependencies":118,"content_hash":101,"verification":123},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":117,"uses_absolute_paths":28,"network_access":28},[],{"npm":119,"pip":120,"brew":121,"system":122},[],[],[],[],{"commands":124,"expected_files":125},[],[103],{"target":33,"score":60,"status":61,"policy":62,"why":127,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":101,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":129,"review_status":75,"signals":130},[],[131,77,78,79],"asset has usage views",{"owner_uuid":91,"owner_name":92,"source_url":133,"content_hash":101,"visibility":18,"created_at":134,"updated_at":135},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-f252f5ed","2026-05-04 08:26:51","2026-05-13 18:20:43",106.01925583705776,[138,139,140],"topic-match","same-kind","same-target",[],{"id":143,"uuid":144,"slug":145,"title":146,"description":147,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":148,"parent_id":12,"parent_uuid":13,"lang_type":14,"steps":149,"tags":150,"has_voted":28,"visibility":18,"share_token":13,"is_featured":12,"content_hash":152,"asset_kind":30,"target_tools":153,"install_mode":35,"entrypoint":154,"risk_profile":155,"dependencies":157,"verification":162,"agent_metadata":165,"agent_fit":177,"trust":179,"provenance":182,"created_at":184,"updated_at":185,"__relatedScore":186,"__relatedReasons":187,"__sharedTags":189},2940,"693927ad-4c6a-11f1-9bc6-00163e2b0d79","asset-693927ad","Apache Mesos — Distributed Systems Kernel for Data Center Resources","Apache Mesos abstracts CPU, memory, storage, and other compute resources across a cluster, enabling fault-tolerant distributed applications and frameworks to share infrastructure efficiently.",14,[],[151],{"id":24,"name":25,"slug":26,"icon":27},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",[32,33,34],"SKILL.md",{"executes_code":28,"modifies_global_config":28,"requires_secrets":156,"uses_absolute_paths":28,"network_access":28},[],{"npm":158,"pip":159,"brew":160,"system":161},[],[],[],[],{"commands":163,"expected_files":164},[],[],{"asset_kind":30,"target_tools":166,"install_mode":35,"entrypoint":154,"risk_profile":167,"dependencies":169,"content_hash":152,"verification":174,"inferred":58},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":168,"uses_absolute_paths":28,"network_access":28},[],{"npm":170,"pip":171,"brew":172,"system":173},[],[],[],[],{"commands":175,"expected_files":176},[],[],{"target":33,"score":60,"status":61,"policy":62,"why":178,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":152,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":180,"review_status":75,"signals":181},[],[77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":183,"content_hash":152,"visibility":18,"created_at":184,"updated_at":185},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-693927ad","2026-05-10 20:18:54","2026-05-13 02:21:06",104.76413688858352,[138,139,140,188],"same-author",[26,190],"configs",{"id":192,"uuid":193,"slug":194,"title":195,"description":196,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":197,"parent_id":12,"parent_uuid":13,"lang_type":14,"steps":198,"tags":199,"has_voted":28,"visibility":18,"share_token":13,"is_featured":12,"content_hash":201,"asset_kind":30,"target_tools":202,"install_mode":35,"entrypoint":203,"risk_profile":204,"dependencies":206,"verification":211,"agent_metadata":214,"agent_fit":226,"trust":228,"provenance":231,"created_at":233,"updated_at":234,"__relatedScore":235,"__relatedReasons":236,"__sharedTags":237},1863,"cc578655-3cf6-11f1-9bc6-00163e2b0d79","hazelcast-real-time-distributed-computing-platform-cc578655","Hazelcast — Real-Time Distributed Computing Platform","Hazelcast is an open-source distributed computing platform providing in-memory data structures, stream processing, and compute capabilities for low-latency applications at scale.",84,[],[200],{"id":24,"name":25,"slug":26,"icon":27},"f887ddeb425b4741abc62fb442f5c8e5c87b5ee05ac95cd03d51c954eb305ebb",[32,33,34],"Hazelcast Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":205,"uses_absolute_paths":28,"network_access":28},[],{"npm":207,"pip":208,"brew":209,"system":210},[],[],[],[],{"commands":212,"expected_files":213},[],[203],{"asset_kind":30,"target_tools":215,"install_mode":35,"entrypoint":203,"risk_profile":216,"dependencies":218,"content_hash":201,"verification":223},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":217,"uses_absolute_paths":28,"network_access":28},[],{"npm":219,"pip":220,"brew":221,"system":222},[],[],[],[],{"commands":224,"expected_files":225},[],[203],{"target":33,"score":60,"status":61,"policy":62,"why":227,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":201,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":229,"review_status":75,"signals":230},[],[77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":232,"content_hash":201,"visibility":18,"created_at":233,"updated_at":234},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fhazelcast-real-time-distributed-computing-platform-cc578655","2026-04-21 04:23:31","2026-05-14 00:02:37",103.89412838857145,[138,139,140,188],[26,190],{"id":239,"uuid":240,"slug":241,"title":242,"description":243,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":244,"parent_id":12,"parent_uuid":13,"lang_type":14,"steps":245,"tags":246,"has_voted":28,"visibility":18,"share_token":13,"is_featured":12,"content_hash":248,"asset_kind":30,"target_tools":249,"install_mode":35,"entrypoint":250,"risk_profile":251,"dependencies":253,"verification":258,"agent_metadata":261,"agent_fit":273,"trust":280,"provenance":284,"created_at":286,"updated_at":287,"__relatedScore":288,"__relatedReasons":289,"__sharedTags":290},1907,"9d3d2b36-3d7d-11f1-9bc6-00163e2b0d79","zipkin-distributed-tracing-system-microservices-9d3d2b36","Zipkin — Distributed Tracing System for Microservices","A guide to Zipkin, the distributed tracing system that helps gather timing data to troubleshoot latency problems in microservice architectures.",88,[],[247],{"id":24,"name":25,"slug":26,"icon":27},"1539c432103d0b7a1edb4c4ee8e90c6c7eac3e907e5acb0f038d74ef1a7407c7",[32,33,34],"Zipkin Guide",{"executes_code":28,"modifies_global_config":28,"requires_secrets":252,"uses_absolute_paths":28,"network_access":58},[],{"npm":254,"pip":255,"brew":256,"system":257},[],[],[],[],{"commands":259,"expected_files":260},[],[250],{"asset_kind":30,"target_tools":262,"install_mode":35,"entrypoint":250,"risk_profile":263,"dependencies":265,"content_hash":248,"verification":270},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":264,"uses_absolute_paths":28,"network_access":58},[],{"npm":266,"pip":267,"brew":268,"system":269},[],[],[],[],{"commands":271,"expected_files":272},[],[250],{"target":33,"score":274,"status":275,"policy":276,"why":277,"asset_kind":30,"install_mode":35},64,"needs_confirmation","confirm",[64,65,66,278,279,70],"policy confirm","risk_profile.network_access is true",{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":248,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":281,"review_status":75,"signals":283},[282],"network_access",[77,78],{"owner_uuid":9,"owner_name":10,"source_url":285,"content_hash":248,"visibility":18,"created_at":286,"updated_at":287},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fzipkin-distributed-tracing-system-microservices-9d3d2b36","2026-04-21 20:28:34","2026-05-13 16:29:31",97.92408500996737,[138,139,140,188],[26,190]]