Skip to content

Instantly share code, notes, and snippets.

@timakin
Last active June 6, 2024 07:06
Show Gist options
  • Save timakin/8730b891fe77bb025e17b3ceeb20079d to your computer and use it in GitHub Desktop.
Save timakin/8730b891fe77bb025e17b3ceeb20079d to your computer and use it in GitHub Desktop.
Go製ジョブワーカーライブラリの比較

ライブラリ検索するときに便利 -> https://golanglibs.com

  • benmans/goworker(1584 stars)
    • redis-backed
    • Go製のジョブワーカーでは一番メジャーぽい
    • 当初Enqueueがなかったようだが、2015/12に追加されてる: 参考
    • リポジトリ自体は4年前からあって、7か月前にも更新はされてる
  • rallison/go-workers(816 stars)
    • redis-backed  - 機能的にはgoworkerとほぼ変わらなさそう  - メンテのタイミングはgoworkerより古い
    • goworkerがresque互換なのに対して、go-workersはsidekiq互換と謳っている
  • kavu/go-resque(24 stars)
    • redis-backed
    • 最終メンテナンスは2017/01現在で2 years agoになっている
    • Enqueueのみ
    • go-resqueでできることはだいたいgoworkerでできそう?
  • albrow/jobs(369 stars)
    • goworkerと機能的には近い
    • goworkerが強くresqueを意識してるのに対して、こちらはそんなことはなさそう
    • Redisへのconfigの書き方が、goworker方がスッキリしてる
    • メンテ...
  • gocraft/work(1173 stars)  - redis-backed
    • job用のfuncの定義時に、このライブラリのwork.NextMiddlewareFuncを引数に加えなきゃいけなかったりで、若干ライブラリへの依存度が高まる。
    • Periodic Enqueueing(cron)をサポートしてる
@mosasiru
Copy link

@supercaracal
Copy link

@timakin
Copy link
Author

timakin commented Sep 13, 2020

令和になったのでCloud SchedulerかCloudwatch Eventsでなんとかしたい気持ちですw(´・_・`)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment