Skip to content

Commit

Permalink
Merge pull request #12 from DataJunction/celery_docker_compose
Browse files Browse the repository at this point in the history
feat: celery in docker-compose
  • Loading branch information
betodealmeida committed Jan 4, 2022
2 parents f0fba5a + cb4b472 commit 8e4927a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion TODO.mkd
Expand Up @@ -8,12 +8,15 @@
- [X] Add DJ and Redis to docker-compose
- [X] Queries with multiple statements
- [X] Return statement SQL with `results`
- [X] Add Celery to docker-compose
- [ ] Paginating results
- [ ] Limit results
- [ ] Compute the schema of downstream nodes
- [ ] Optimize data transfer (delta-of-delta for timeseries, msgpack?)
- [ ] Translate metrics into SQL
- [ ] Compute metrics (ie, run query)
- [ ] Compute statistics on columns (histogram, correlation)
- [ ] Move data on JOINs based on column statistics
- [ ] Optimize data transfer (delta-of-delta for timeseries, msgpack?)
- [ ] Virtual dimensions (time, space, user-defined)
- [ ] JS dataframe with time-aware caching and additive-aware, to reuse queries
- [ ] 2 modes of join: Shillelagh and move data
Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yml
Expand Up @@ -43,6 +43,15 @@ services:
- postgres_examples
- druid_coordinator

celery:
container_name: celery
build: .
volumes:
- .:/code
depends_on:
- dj
command: celery -A datajunction.app.celery worker --loglevel=info

redis:
image: redis:latest
container_name: query_broker
Expand Down

0 comments on commit 8e4927a

Please sign in to comment.