Skip to content

Merge Request - Noizu Fork #19

@noizu

Description

@noizu

Hello sheharyarn, as mentioned previously I have a forked version of your library which adds support for priority levels, sharded workers (to avoid supervisor bottlenecks), node tenancy (jobs only run on the server they were created on or specified to run on), and dirty mnesia transactions using raw :mnesia module due to performance bottlenecks under high load.

I'd like to get things tidy enough to be able to merge upstread and avoid the need to maintain a separate fork. With that in mind I've made these features compile time configurable with the defaults behaving essentially like vanilla Que with the exception of the priority level changes and an error handler that treats :no_proc responses as success (which is negotiable) as they are generally caused by que jobs that exit too quickly.

However there is a breaking change to the table definition to include the priority level and node tenancy fields, and I am not sure if there is an elegant way to work around that with Memento or if I should further hide that change behind config options and modify the table structure only if tenancy and or priority levels are enabled.

When you have a chance give things a peak and let me know of any feedback or criticism you have that would need to be dealt with before making a merge request.

master...noizu:master

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions