https://github.com/michalmuskala/infiniq
https://github.com/michalmuskala/infiniq
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/michalmuskala/infiniq
- Owner: michalmuskala
- Created: 2015-08-10T20:01:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-23T11:54:52.000Z (over 9 years ago)
- Last Synced: 2024-10-06T10:41:20.774Z (7 months ago)
- Language: Elixir
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Infiniq
Infiniq (pronounced: infini-queue) is an attempt to create a simple library to
ease parallelizing repetitive jobs in a situation of constrained resources.## Installation
1. Add infiniq to your list of dependencies in mix.exs:
def deps do
[{:infiniq, github: "michalmuskala/infiniq"}]
end2. Ensure infiniq is started before your application:
def application do
[applications: [:infiniq]]
end## TODO
* A way to monitor if task was really finished by a worker
* Provide different strategies: "at least one" and "at most one" runs
(currently we have at most one)
* Other backends for queuing tasks - ets and other (redis?)## License
Copyright 2015 Michał Muskała
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.