8000 GitHub - lyagusha/wolfmq: Simple message broker for Erlang applications
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lyagusha/wolfmq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WolfMQ

WolfMQ is a small and fast Erlang message broker and queued task processor

Description

Wolfmq features:

  • Automatic creation and closing of the queues
  • Use any term as a queue id
  • Processes messages in the order in which they come
  • Run different groups of queues on different supervisors
  • By default, the queue is a task processor, but you can change behaviour

Getting Started

1> application:start(wolfmq).
ok
2> 
2> QueueId = erlang:unique_integer([monotonic, positive]) rem 10.
1
3>
3> ok = wolfmq:push(QueueId, fun() -> io:format("Hello world!~n"), ok end).
Hello world!
ok
4> 
4> ok = wolfmq:push(QueueId, {io, format, ["Hello world!~n"]}).                
Hello world!
ok

Project Chat Room

Gitter chat

About

Simple message broker for Erlang applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 99.7%
  • Makefile 0.3%
0