Sidekiq 8.0:对 Web UI 的改进

  • Sidekiq 8.0 released last month with few reported issues, happy with rollout and providing context.
  • Goals for software are to reduce dependencies and keep it simple.
  • Web UI introduced in 2012 with Sinatra and Twitter Bootstrap. Sidekiq 4.2 removed Sinatra dependency and made it a plain Rack app.
  • Sidekiq 8.0 removes Bootstrap CSS framework and uses vanilla CSS with support for variables, reducing CSS size from 165k to 16k.
  • Front end and UX skills may be minimal but Open Source community is amazing as @antoinem migrated CSS. Special attention to color accessibility.
  • Much of web internals unchanged since 4.2, refactored to improve understanding and remove unnecessary code. Provided configuration API similar to Sidekiq configuration APIs.
  • Before refactoring, got baseline for performance with Sidekiq::Web 7 through Vernier and found bug of loading YAML files on every request. Empty pages now render in 1-3ms.
  • Summary: Stability of Web UI for last decade supports reducing dependencies and simplicity. Faster rendering and 10x smaller CSS. Hopes users find Sidekiq 8's Web UI fast and delightful.
阅读 9
0 条评论