[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"workflow-asset-8ef86317":3,"seo:featured-workflow:8ef86317-4db8-11f1-9bc6-00163e2b0d79:fr":84,"workflow-related-asset-8ef86317-8ef86317-4db8-11f1-9bc6-00163e2b0d79":85},{"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":11,"fork_count":12,"vote_count":12,"view_count":13,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":15,"tags":22,"has_voted":28,"visibility":18,"share_token":11,"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":83},3203,"8ef86317-4db8-11f1-9bc6-00163e2b0d79","asset-8ef86317","fasthttp — High-Performance HTTP Server Library for Go","fasthttp is a high-performance HTTP implementation for Go that serves as an alternative to net\u002Fhttp, optimized for speed and low memory allocation in high-throughput scenarios.","8a910e34-3180-11f1-9bc6-00163e2b0d79","Script Depot","",0,2,"en",[16],{"id":17,"step_order":18,"title":19,"description":11,"prompt_template":20,"variables":11,"depends_on":21,"expected_output":11},3766,1,"fasthttp Overview","# fasthttp — High-Performance HTTP Server Library for Go\n\n## Quick Use\n```bash\ngo get github.com\u002Fvalyala\u002Ffasthttp\n```\n\n```go\npackage main\n\nimport \"github.com\u002Fvalyala\u002Ffasthttp\"\n\nfunc main() {\n    fasthttp.ListenAndServe(\":8080\", func(ctx *fasthttp.RequestCtx) {\n        ctx.WriteString(\"Hello, World!\")\n    })\n}\n```\n\n## Introduction\nfasthttp is a Go HTTP library designed from scratch for high throughput and low memory allocation. Unlike the standard net\u002Fhttp package, it reuses request and response objects via object pooling, making it a strong choice for proxy servers, API gateways, and any service that handles tens of thousands of concurrent connections.\n\n## What fasthttp Does\n- Provides a zero-allocation HTTP server and client for Go\n- Reuses request\u002Fresponse objects with sync.Pool to reduce GC pressure\n- Supports HTTP\u002F1.1 pipelining and keep-alive connections by default\n- Offers a RequestCtx-based API for handling requests without per-request heap allocation\n- Includes built-in helpers for common tasks like file serving, routing, and compression\n\n## Architecture Overview\nfasthttp avoids the net\u002Fhttp pattern of creating a new goroutine with fresh allocations per request. Instead, it maintains a worker pool and recycles RequestCtx objects. Buffers for headers, URI parsing, and body reading are pre-allocated and grown only when needed. This design trades API familiarity for raw throughput, making it measurably faster under sustained load while using less memory.\n\n## Self-Hosting & Configuration\n- Install via `go get github.com\u002Fvalyala\u002Ffasthttp` with Go 1.20+\n- Configure concurrency limits with `Server.Concurrency` to cap worker goroutines\n- Set `Server.ReadTimeout` and `Server.WriteTimeout` for connection lifecycle control\n- Enable TLS by passing cert and key files to `ListenAndServeTLS`\n- Use `Server.MaxRequestBodySize` to guard against oversized payloads\n\n## Key Features\n- Up to 10x lower memory allocation per request compared to net\u002Fhttp\n- Built-in connection pooling for the HTTP client\n- Streaming request and response body support\n- Hot path optimizations for header parsing and URI decoding\n- Compatible with popular routers like fasthttp\u002Frouter and fiber\n\n## Comparison with Similar Tools\n- **net\u002Fhttp** — standard library, broader ecosystem, but higher allocation per request\n- **Fiber** — web framework built on top of fasthttp with Express-like API\n- **Echo** — net\u002Fhttp-based framework with middleware, slightly lower raw throughput\n- **Gin** — net\u002Fhttp-based, strong middleware ecosystem, simpler migration from net\u002Fhttp\n\n## FAQ\n**Q: Can I use fasthttp as a drop-in replacement for net\u002Fhttp?**\nA: No. The API differs significantly — fasthttp uses RequestCtx instead of http.Request\u002Fhttp.ResponseWriter. Migration requires rewriting handlers.\n\n**Q: Does fasthttp support HTTP\u002F2?**\nA: Not natively. For HTTP\u002F2 you need net\u002Fhttp or a reverse proxy like Nginx in front.\n\n**Q: When should I stick with net\u002Fhttp?**\nA: If your service is I\u002FO-bound rather than CPU-bound, or if you rely heavily on net\u002Fhttp middleware, the standard library is the simpler choice.\n\n**Q: Is fasthttp production-ready?**\nA: Yes. It has been used in production at scale for years and is the engine behind the Fiber framework.\n\n## Sources\n- https:\u002F\u002Fgithub.com\u002Fvalyala\u002Ffasthttp\n- https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fvalyala\u002Ffasthttp","0",[23],{"id":24,"name":25,"slug":26,"icon":27},11,"Scripts","script","📜",false,"bf05769ccc81ed1e0faccdcc4aee6b939aae7d3dd2a8b13cce14c2e50c2a40b5","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":83},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-8ef86317","2026-05-12 12:10:49","2026-05-12 19:50:59",null,[86,138,185,232],{"id":87,"uuid":88,"slug":89,"title":90,"description":91,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":92,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":93,"tags":94,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":96,"asset_kind":30,"target_tools":97,"install_mode":35,"entrypoint":98,"risk_profile":99,"dependencies":101,"verification":106,"agent_metadata":109,"agent_fit":121,"trust":123,"provenance":126,"created_at":128,"updated_at":129,"__relatedScore":130,"__relatedReasons":131,"__sharedTags":136},1209,"8dae1416-3734-11f1-9bc6-00163e2b0d79","zeromq-high-performance-asynchronous-messaging-library-8dae1416","ZeroMQ — High-Performance Asynchronous Messaging Library","ZeroMQ (0MQ) is a high-performance asynchronous messaging library for distributed applications. It provides socket-like abstractions for message passing patterns — pub\u002Fsub, request\u002Freply, push\u002Fpull — without the complexity of a full message broker.",92,[],[95],{"id":24,"name":25,"slug":26,"icon":27},"7d03f4d39acc7b56a128a6eb7bbaef0b5013fd8e4c721bb8733257efcabad4da",[32,33,34],"SKILL.md",{"executes_code":28,"modifies_global_config":28,"requires_secrets":100,"uses_absolute_paths":28,"network_access":28},[],{"npm":102,"pip":103,"brew":104,"system":105},[],[],[],[],{"commands":107,"expected_files":108},[],[11],{"asset_kind":30,"target_tools":110,"install_mode":35,"entrypoint":98,"risk_profile":111,"dependencies":113,"content_hash":96,"verification":118},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":112,"uses_absolute_paths":28,"network_access":28},[],{"npm":114,"pip":115,"brew":116,"system":117},[],[],[],[],{"commands":119,"expected_files":120},[],[11],{"target":33,"score":60,"status":61,"policy":62,"why":122,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":96,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":124,"review_status":75,"signals":125},[],[77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":127,"content_hash":96,"visibility":18,"created_at":128,"updated_at":129},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fzeromq-high-performance-asynchronous-messaging-library-8dae1416","2026-04-13 20:30:28","2026-05-12 18:11:39",122.9527244228309,[132,133,134,135],"topic-match","same-kind","same-target","same-author",[26,137],"scripts",{"id":139,"uuid":140,"slug":141,"title":142,"description":143,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":144,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":145,"tags":146,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":148,"asset_kind":30,"target_tools":149,"install_mode":35,"entrypoint":150,"risk_profile":151,"dependencies":153,"verification":158,"agent_metadata":161,"agent_fit":173,"trust":175,"provenance":178,"created_at":180,"updated_at":181,"__relatedScore":182,"__relatedReasons":183,"__sharedTags":184},2320,"63276421-433f-11f1-9bc6-00163e2b0d79","caffeine-high-performance-java-caching-library-63276421","Caffeine — High-Performance Java Caching Library","A near-optimal caching library for Java that provides an in-memory cache using a Window TinyLfu admission policy for high hit rates.",89,[],[147],{"id":24,"name":25,"slug":26,"icon":27},"157c3c8bcc34fadd4391342fa0d5d5edf7714e4ec69e5b870bf86235b4fa89e6",[32,33,34],"Caffeine Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":152,"uses_absolute_paths":28,"network_access":28},[],{"npm":154,"pip":155,"brew":156,"system":157},[],[],[],[],{"commands":159,"expected_files":160},[],[150],{"asset_kind":30,"target_tools":162,"install_mode":35,"entrypoint":150,"risk_profile":163,"dependencies":165,"content_hash":148,"verification":170},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":164,"uses_absolute_paths":28,"network_access":28},[],{"npm":166,"pip":167,"brew":168,"system":169},[],[],[],[],{"commands":171,"expected_files":172},[],[150],{"target":33,"score":60,"status":61,"policy":62,"why":174,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":148,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":176,"review_status":75,"signals":177},[],[77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":179,"content_hash":148,"visibility":18,"created_at":180,"updated_at":181},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fcaffeine-high-performance-java-caching-library-63276421","2026-04-29 04:18:15","2026-05-12 19:51:43",119.93136376415899,[132,133,134,135],[26,137],{"id":186,"uuid":187,"slug":188,"title":189,"description":190,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":191,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":192,"tags":193,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":195,"asset_kind":30,"target_tools":196,"install_mode":35,"entrypoint":197,"risk_profile":198,"dependencies":200,"verification":205,"agent_metadata":208,"agent_fit":220,"trust":222,"provenance":225,"created_at":227,"updated_at":228,"__relatedScore":229,"__relatedReasons":230,"__sharedTags":231},1757,"0dc8d12a-3ba8-11f1-9bc6-00163e2b0d79","clay-high-performance-ui-layout-library-c-0dc8d12a","Clay — High-Performance UI Layout Library in C","Clay is a single-header C library for building responsive UI layouts with microsecond performance, supporting flexbox-style positioning in under 2000 lines of code.",55,[],[194],{"id":24,"name":25,"slug":26,"icon":27},"29744af48ea6bdcef4a928f6ea0a7b229b6c41a20e1e45c16cdce72277f74986",[32,33,34],"Clay Layout Guide",{"executes_code":28,"modifies_global_config":28,"requires_secrets":199,"uses_absolute_paths":28,"network_access":28},[],{"npm":201,"pip":202,"brew":203,"system":204},[],[],[],[],{"commands":206,"expected_files":207},[],[197],{"asset_kind":30,"target_tools":209,"install_mode":35,"entrypoint":197,"risk_profile":210,"dependencies":212,"content_hash":195,"verification":217},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":211,"uses_absolute_paths":28,"network_access":28},[],{"npm":213,"pip":214,"brew":215,"system":216},[],[],[],[],{"commands":218,"expected_files":219},[],[197],{"target":33,"score":60,"status":61,"policy":62,"why":221,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":195,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":223,"review_status":75,"signals":224},[],[77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":226,"content_hash":195,"visibility":18,"created_at":227,"updated_at":228},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fclay-high-performance-ui-layout-library-c-0dc8d12a","2026-04-19 12:27:19","2026-05-12 09:52:23",116.6222820405093,[132,133,134,135],[26,137],{"id":233,"uuid":234,"slug":235,"title":236,"description":237,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":92,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":238,"tags":239,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":241,"asset_kind":30,"target_tools":242,"install_mode":35,"entrypoint":243,"risk_profile":244,"dependencies":246,"verification":251,"agent_metadata":254,"agent_fit":266,"trust":268,"provenance":271,"created_at":273,"updated_at":274,"__relatedScore":275,"__relatedReasons":276,"__sharedTags":277},1834,"7abd1277-3c92-11f1-9bc6-00163e2b0d79","jax-high-performance-numerical-computing-google-7abd1277","JAX — High-Performance Numerical Computing by Google","A Python library for high-performance machine learning research combining NumPy-like syntax with automatic differentiation, XLA compilation, and hardware acceleration on GPU and TPU.",[],[240],{"id":24,"name":25,"slug":26,"icon":27},"f29c87df1579d8e73ceefcfa9366fd54008f59279a50c994b6b12e341598ffdc",[32,33,34],"JAX Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":245,"uses_absolute_paths":28,"network_access":28},[],{"npm":247,"pip":248,"brew":249,"system":250},[],[],[],[],{"commands":252,"expected_files":253},[],[243],{"asset_kind":30,"target_tools":255,"install_mode":35,"entrypoint":243,"risk_profile":256,"dependencies":258,"content_hash":241,"verification":263},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":257,"uses_absolute_paths":28,"network_access":28},[],{"npm":259,"pip":260,"brew":261,"system":262},[],[],[],[],{"commands":264,"expected_files":265},[],[243],{"target":33,"score":60,"status":61,"policy":62,"why":267,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":241,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":269,"review_status":75,"signals":270},[],[77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":272,"content_hash":241,"visibility":18,"created_at":273,"updated_at":274},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fjax-high-performance-numerical-computing-google-7abd1277","2026-04-20 16:25:24","2026-05-12 16:20:17",111.9527244228309,[132,133,134,135],[26,137]]