ChicagoBoss / tinymq

TinyMQ - a diminutive, in-memory message queue
MIT License
124 stars 43 forks source link

Separating the data structure and the processes #12

Open lud opened 10 years ago

lud commented 10 years ago

Hi,

I need what tinymq provides but i want the process to handle other things, not just messaging. So what i've done so far is create a tinymq_queue module that handles the priority queue, the purge-only-each-second-at-max, etc ...

I dont know if you plan to do this someday, but if you do, please look at what I've done and let me know what you think. We can change function names, etc.

Another problem I have is that I think the messages that tinymq_channel_controller sends should be tagged as in {tinymq,ChannelName,Timestamp,Messages}.

Thank you for reading.