Skip to content

A prototype of using Postgres as broker and backend for Machinery

Notifications You must be signed in to change notification settings

mdouchement/machinery-pg

Repository files navigation

Machinery PG

GoDoc

This a prototype of using Postgres as broker and backend for Machinery.

Broker: it just polls the database each second so for efficiency you need to use a message queue (e.g. AMQP).

Backend: it simply uses Postgres database for storing task details.

This prototype help me to understand how Machinery works and to know how good is GORM.

Requirements

  • Golang >= 1.6
  • Postgres >= 9.4 (need uuid and jsonb)

Usage

Take a look to the example folder.

SQL requests' logging can be enabled in database.go.

Licence

MIT

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

A prototype of using Postgres as broker and backend for Machinery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages