{"id":80257,"library":"work-queue","title":"Work Queue","description":"A tunable work queue for coordinating work between a producer and a pool of worker threads.","status":"active","version":"2.5.4","language":"ruby","source_language":null,"source_url":"https://github.com/fmmfonseca/work_queue","tags":["threads","concurrency","queue","workers"],"install":[{"cmd":"gem install work_queue","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'work_queue', '~> 2.5.4'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"WorkQueue","correct":"require 'work_queue'"}],"quickstart":{"code":"require 'work_queue'\nwq = WorkQueue.new(2) # 2 worker threads\nwq.enqueue_b { sleep 1; puts 'Task done' }\nwq.join","lang":"ruby","description":"Create a work queue with 2 workers and enqueue a task"},"warnings":[],"env_vars":null,"search_vec":"'concurr':20 'coordin':8 'pool':15 'produc':12 'queue':2,6,21 'thread':18,19 'tunabl':4 'work':1,5,9 'worker':17,22","created_at":"2026-06-18T05:18:25.299170+00:00","updated_at":"2026-06-18T05:18:25.299170+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/fmmfonseca/work_queue","github":"https://github.com/fmmfonseca/work_queue","docs":"http://www.rubydoc.info/gems/work_queue/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}