0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
Paolo D'Amico
2020c32c66
Add NewRelic to cloud deployment (#4005) 2021-04-15 11:53:19 -07:00
Marius Andra
c24aebe174
Add flags to bin/docker-worker-celery (#2621)
* add flags to docker-worker-celery and rename --with-beat to --with-scheduler

* Clean script up

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-12-03 18:53:06 +01:00
Marius Andra
b8d1ba43f4
Disable celery heartbeat, gossip and mingle (#2513)
* disable celery heartbeat, gossip and mingle

* keep the heartbeat

* beat doesn't want these params

* add back "without heartbeat"
2020-11-26 12:44:10 +01:00
Marius Andra
88ad205a3a
Separate Plugins dyno for Heroku (#2213)
* separate plugin worker for heroku

* plugin server for dev with less concurrency

* add back plugins script

* move beat log to beat

* move starting the beat into the celery worker

* add optional process types for plugins and celery

* premium redis for heroku review apps

* fix broken script

* proc/dyno names are alphanumeric

* singularize

* premium-0 redis for all heroku apps, not just review apps

* premium-0 redis also for review apps

* remove heroku redis modifications

* remove out of scope code

* run beat in bg
2020-11-20 10:42:59 +01:00
Marius Andra
a5d9f98e00
Reduce Heroku worker thread count (#2092)
* update the concurrency for heroku workers

* update the concurrency for heroku workers (add link)
2020-10-30 10:17:55 +01:00
James Greenhill
7714a65108
Use celery defaults, bumping workers only increased latency of event processing (#1584) 2020-09-04 16:21:55 -07:00
James Greenhill
aa7de23aec
Increase number of concurrent celery workers in production (#1583) 2020-09-04 15:56:58 -07:00
Marius Andra
14f12846ed
Helm redis (#558)
* ignore copying frontend/dist folder - otherwise whatever you build in docker will get overridden by local build artifacts if any exist in frontend/dist

* support configuring redis with POSTHOG_REDIS_HOST and other vars in addition to REDIS_URL

* remove "the next version" in worker requirement modal

* split beat and celery scripts

* remove chart folder

* celery heartbeat every 10sec, reduce distributed beat lock hold time

* remove dockerfile local link

* add localhost redis url for tests
2020-04-13 16:22:06 +01:00