How We Cut Template Production Time by 95% with the Fuxi Workbench

Facing rapid growth of the KuaiPin hiring platform, the team tackled labor‑intensive image and AIGC template creation by building the Fuxi Workbench, which automated template production, introduced D2C conversion, a DSL editor, and layered architecture, ultimately boosting efficiency, scalability, and stability while reducing costs dramatically.

Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
How We Cut Template Production Time by 95% with the Fuxi Workbench

Background

KuaiPin, launched by Kuaishou in 2022, is a short‑video hiring platform for blue‑collar workers. Rapid business expansion created a shortage of manpower for image/AIGC template production, prompting the need for an automated solution.

Business Challenges

Template creation was labor‑intensive, with unclear management, long review cycles, and low efficiency—each new template required 0.3–0.5 person‑days. Merchants also demanded more customizable posters and richer text content.

Business Goals

Provide an efficient, standardized AIGC and image template production & consumption solution.

Achieve minute‑level template generation via D2C.

Enable template editing and image generation through a universal DSL.

Solution: Fuxi Workbench

The Fuxi Workbench was built with a client‑server architecture, integrating D2C conversion, HTML preview, editing, packaging, and management capabilities. It introduced a DSL for template definition and replaced Puppeteer‑based image generation with a high‑performance Rust SVG renderer.

Key Technical Challenges

Implementing D2C code conversion using custom CodeLing plugins.

Designing a scalable layered architecture separating API, scheduling, and rendering services.

Ensuring high performance and stability of the SVG rendering pipeline.

Performance Guarantees

Memory leaks in the resvg library were fixed, and a sliding‑window Redis rate‑limiting middleware was added to protect the service. The new pipeline reduced template development time from 0.5 person‑days to 5 minutes (95% efficiency gain) and cut image generation latency from several seconds to around 1 second.

Results

Template development efficiency improved by 95%.

Template management became fully online, lowering design and product review costs.

Version 1.0 saved 33% CPU and 78% memory under high load.

Version 2.0 further shortened the image pipeline, enabling no‑code template creation and mobile‑friendly DSL output.

Conclusion

After a year of development, the Fuxi Workbench scaled template volume from hundreds to tens of thousands, saved over 1,000 person‑days of frontend effort, and delivered measurable technical and business benefits.

图片
图片
图片
图片
图片
图片
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

performance optimizationBackend DevelopmentAIGCtemplate automationNo-codeservice scaling
Kuaishou Frontend Engineering
Written by

Kuaishou Frontend Engineering

Explore the cutting‑edge tech behind Kuaishou's front‑end ecosystem

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.