mborders / artifex Goto Github PK
View Code? Open in Web Editor NEWSimple in-memory job queue for Golang using worker-based dispatching
License: MIT License
Simple in-memory job queue for Golang using worker-based dispatching
License: MIT License
Awesome library, pretty much exactly what I was looking for! There is one feature I'd still like to have, though.
I'd like to have the ability to create throttled dispatchers, that is, dispatchers which run no more than X jobs per time (e.g. 5 per minute), regardless of which rate new jobs are created at.
This could be helpful when sending out large amounts of e-mails, for example. Say, I want to send an e-mail to each of 1,000 users every Friday night, but don't want to send them all at once, but over a period of 30 minutes, to relieve the mail server a bit.
Hi,
looks like a very useful module.
I tried to pull the latest version but it failed.
go get -v -u github.com/mborders/[email protected]
go get github.com/mborders/[email protected]: no matching versions for query "v0.4"
My understanding is that go.mod expects a semver tag and v0.4
doesn't have the patch version. I would assume that tagging v0.4.0
would work without having to change anything.
For now I can only get v0.3.1
which incidentally follows semver.
Module path is inconsistent with go import path.
GO111MODULE=on, as doc said, import "github.com/mborders/artifex", then get this error:
go: finding module for package github.com/mborders/artifex
go: downloading github.com/mborders/artifex v0.0.0-20191113201913-8ea03c710bd4
go: found github.com/mborders/artifex in github.com/mborders/artifex v0.0.0-20191113201913-8ea03c710bd4
go: test1 imports
github.com/mborders/artifex: github.com/mborders/[email protected]: parsing go.mod:
module declares its path as: github.com/borderstech/artifex
but was required as: github.com/mborders/artifex
module github.com/mborders/artifex
require (
…
)
import "github.com/borderstech/artifex"
.A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.