André Medeiros
9341e08123
feat(ops): add distributed tracing ( #109 )
...
* tracing
* instrument redis
* add instrumentation around queue acks
* adjust backoff schedules for reddit
* set proper http client on reddit
* populate account last message ID on upsert
* pass last message id on upsert
* schedule accounts in a predictable order
2022-11-05 15:59:33 -04:00
Andre Medeiros
ee1d1d32d4
try again with a queue specific redis connection
2022-11-03 10:30:50 -04:00
Andre Medeiros
0b81d4c9d3
add runtime profile rates
2022-11-01 19:36:40 -04:00
Andre Medeiros
98cafdfaed
make things better for the golang scheduler
2022-11-01 11:25:38 -04:00
Andre Medeiros
484876adab
revert queue redis
2022-11-01 09:53:09 -04:00
Andre Medeiros
61dc3b558f
get a separate redis connection for the queue itself
2022-10-31 22:41:41 -04:00
Andre Medeiros
df0860dd05
increase consumers and make choice more direct
2022-10-31 17:33:41 -04:00
Andre Medeiros
62df908b33
increase maxprocs
2022-10-31 16:09:03 -04:00
Andre Medeiros
3750374aa0
increase maxprocs
2022-10-31 16:04:08 -04:00
Andre Medeiros
696f932baa
Live activities
2022-10-19 09:37:41 -04:00
Andre Medeiros
f3814683b8
don't skimp out on redis connections
2022-07-15 12:55:56 -04:00
Andre Medeiros
63cc67cd86
double pool
2022-07-13 17:45:48 -04:00
Andre Medeiros
fa8b75d728
tone down pool sizes
2022-07-13 17:14:13 -04:00
Andre Medeiros
1f59a47880
increase pool size
2022-07-13 15:52:07 -04:00
Andre Medeiros
be7bd24ae1
increase multiplier
2022-07-13 15:30:39 -04:00
Andre Medeiros
b26140f190
test: less prefetch more workers at the same time
2022-07-13 15:08:21 -04:00
Andre Medeiros
a00e4405c7
tweak redis conns
2022-07-13 15:02:38 -04:00
Andre Medeiros
bcce102388
more logging things
2022-05-23 14:29:15 -04:00
André Medeiros
b1f266bf91
migrate out of logrus ( #76 )
2022-05-23 14:17:25 -04:00
André Medeiros
f9b9c595cf
Better testing ( #62 )
...
* some tests
* more tests
* tidy up go.mod
* more tests
* add postgres
* beep
* again
* Set up schema
* fix device test
2022-05-07 12:37:21 -04:00
Andre Medeiros
c8bec95bed
add stuck notifications worker
2021-10-17 10:17:41 -04:00
Andre Medeiros
eb0d6230d7
add tags and validations
2021-10-12 12:04:20 -04:00
Andre Medeiros
65792abd94
add subreddit trending posts watcher
2021-10-10 11:51:42 -04:00
Andre Medeiros
4955f74f52
user following
2021-10-09 10:59:20 -04:00
Andre Medeiros
3361403379
subreddit notifications
2021-09-25 12:56:01 -04:00
Andre Medeiros
fc1065deb5
fix ci
2021-09-25 09:19:42 -04:00
Andre Medeiros
cbcab2a992
a few more connections please
2021-07-22 21:16:41 -04:00
Andre Medeiros
7692971b89
pool size doesn't need to be that big
2021-07-22 21:11:27 -04:00
Andre Medeiros
e46082949a
tweak pool args
2021-07-15 13:47:22 -04:00
Andre Medeiros
55c45592ac
tweak params
2021-07-13 20:09:44 -04:00
Andre Medeiros
9fa0257d84
reorganize commands to keep things more consistent
2021-07-13 13:14:25 -04:00