You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible
Adam Rutkowski 8f85b110aa
Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661)
* Configure ingest repo access/pool size

If I'm not mistaken 3 is a sane default, the only
inserts we're doing are:

  - session buffer dump
  - events buffer dump
  - GA import dump

And all are serializable within their scopes?

* Add IngestRepo

* Start IngestRepo

* Use IngestRepo for inserts

* Annotate ClickhouseRepo as read_only

So no insert* functions are expanded

* Update moduledoc

* rename alias

* Fix default env var value so it can be casted

* Use IngestRepo for migrations

* Set default ingest pool size from 3 to 5

in case conns are restarting or else...

* Ensure all Repo prometheus metrics are collected
4 years ago
..
auth Handle duplicate invitations gracefully (#2323) 4 years ago
billing Wrap paddle actions with DB transactions (#2558) 4 years ago
event Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 4 years ago
goal Trim goals when creating and retrieving from the DB (#2382) 4 years ago
google Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 4 years ago
helpers Trim the value in case it contains newlines (#2480) 4 years ago
imported Skip rows with empty dates from GA imports (#2359) 4 years ago
ingestion Replace Geolix with Locus (#2362) 4 years ago
sentry Use finch in sentry client (#1996) 4 years ago
session Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 4 years ago
site Delay stats deletions (#2632) 4 years ago
stats Fix unknown bind meta (#2654) 4 years ago
telemetry Gatekeep ingestion pipeline (#2472) 4 years ago
application.ex Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 4 years ago
clickhouse_repo.ex Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 4 years ago
geo.ex Stop logging invalid_address errors from Locus (#2604) 4 years ago
goals.ex Improve test coverage (#2392) 4 years ago
http_client.ex Trace external HTTP requests (#2419) 4 years ago
ingest_repo.ex Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 4 years ago
mailer.ex Do not report hard bounce e-mail errors to Sentry (#2361) 4 years ago
mailer_test.exs Do not report hard bounce e-mail errors to Sentry (#2361) 4 years ago
open_telemetry.ex Remove ingestion requests and Oban queries from OTEL (#2543) 4 years ago
prom_ex.ex Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 4 years ago
purge.ex Delay stats deletions (#2632) 4 years ago
repo.ex Pagination for sites listing (#994) 6 years ago
site.ex Some changes to the "site taken" copy (#2647) 4 years ago
sites.ex Some changes to the "site taken" copy (#2647) 4 years ago
themes.ex Adds dark mode to entire dashboard (#467) 6 years ago
timezones.ex Fix timezone list when time changes (#2268) 4 years ago