{"repo":"sheharyarn/que","free":true,"listed":false,"github":"https://github.com/sheharyarn/que","clone":"git clone https://github.com/sheharyarn/que.git","description":"Simple Job Processing in Elixir with Mnesia :zap:","language":"Elixir","stars":687,"topics":["elixir","gen-server","job-queue","mnesia","background-jobs","in-memory","hacktoberfest","cloud-native","kubernetes"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"[ ][docs] ============================================================================= [![Build Status][shield-github]][github-ci] [![Coverage Status][shield-inch]][docs] [![Version][shield-version]][hexpm] [![Downloads][shield-downloads]][hexpm] [![License][shield-license]][hexpm] Simple Background Job Processing in Elixir :zap: Que is a job processing library backed by [ Mnesia ][mnesia], a distributed real-time database that comes with Erlang / Elixir. That means it doesn't depend on any external services like Redis for persisting job state. This makes it really easy to use since you don't need to install anything other than Que itself. See the [Documentation][docs]. Installation Add que to your project dependencies in mix.exs : Mnesia Setup Que runs out of the box, but by default all jobs are stored in-memory. To persist jobs across application restarts, specify the DB path in your config.exs : And run the following mix task: This will create the Mnesia schema and job database for you. For a detailed guide, see the [Mix Task Documentation][docs-mix]. For compiled releases where Mix is not available [see this][docs-setup-prod]. Usage Que is very similar to other job processing libraries such as Ku and Toniq. Start by defining a [ Worker ][docs-worker] with a perform/1 callback to process your jobs: You can now add jobs to be processed by the worker: Pattern Matching The argument here can be any term from a Tuple to a Keyword List or a Struct. You can also pattern match an","default_branch":null,"files":null,"tree":[],"storefront":"/r/sheharyarn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sheharyarn/que/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}