Gofood POC queue library using Asynq
Presequites
Make sure you instances of these services, working locally:
I put the Dockerfiles that I use on My Homelab repo
Tasks
- REST API CRUD menu
- On CRUD event insert to Elasticsearch
- Implement asynq library
- Compare with and without asynq with load testing
How to
Generate models code using xo
From the root project, create the pkg/models/mysql
dir, then execute the command below.
xo schema 'mysql://root:root@127.0.0.1/gofood?parseTime=true' -o mysql