Exdisque
Elixir client for Disque (https://github.com/antirez/disque), an in-memory, distributed job queue.
Install / Use
/learn @mosic/ExdisqueREADME
ExDisque
Elixir client for Disque, an in-memory, distributed job queue.
Installation
Add this to your project's mix.exs file:
{:exdisque, ">= 0.0.1"}
Usage
Connect to the Disque Server
{:ok, client} = ExDisque.start_link
Add a job to a queue and fetch it back
ExDisque.query client, ["ADDJOB", "queue_name", "job_body", "0"]
#=> "DIa88749862374413ece8b8b8156a15466474edecb05a0SQ"
ExDisque.query client, ["GETJOB", "FROM", "queue_name"]
#=> [["queue", "DIa88749862374413ece8b8b8156a15466474edecb05a0SQ", "job_body"]]
See more Disque command examples on the Disque repo.
Dependencies
Only dependency of ExDisque is eredis, Redis client written in Erlang.
Contributing
Issues and pull requests welcome.
License
ExDisque is licensed under the MIT License.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
