GoToSocial/vendor/github.com
kim a483bd9e38
[performance] massively improved ActivityPub delivery worker efficiency (#2812)
* add delivery worker type that pulls from queue to httpclient package

* finish up some code commenting, bodge a vendored activity library change, integrate the deliverypool changes into transportcontroller

* hook up queue deletion logic

* support deleting queued http requests by target ID

* don't index APRequest by hostname in the queue

* use gorun

* use the original context's values when wrapping msg type as delivery{}

* actually log in the AP delivery worker ...

* add uncommitted changes

* use errors.AsV2()

* use errorsv2.AsV2()

* finish adding some code comments, add bad host handling to delivery workers

* slightly tweak deliveryworkerpool API, use advanced sender multiplier

* remove PopCtx() method, let others instead rely on Wait()

* shuffle things around to move delivery stuff into transport/ subpkg

* remove dead code

* formatting

* validate request before queueing for delivery

* finish adding code comments, fix up backoff code

* finish adding more code comments

* clamp minimum no. senders to 1

* add start/stop logging to delivery worker, some slight changes

* remove double logging

* use worker ptrs

* expose the embedded log fields in httpclient.Request{}

* ensure request context values are preserved when updating ctx

* add delivery worker tests

* fix linter issues

* ensure delivery worker gets inited in testrig

* fix tests to delivering messages to check worker delivery queue

* update error type to use ptr instead of value receiver

* fix test calling Workers{}.Start() instead of testrig.StartWorkers()

* update docs for advanced-sender-multiplier

* update to the latest activity library version

* add comment about not using httptest.Server{}
2024-04-11 11:45:35 +02:00
..
DmitriyVTitov/size [feature] simpler cache size configuration (#2051) 2023-08-03 11:34:35 +02:00
KimMachineGun/automemlimit [chore]: Bump github.com/KimMachineGun/automemlimit from 0.4.0 to 0.5.0 (#2560) 2024-01-22 09:35:23 +00:00
Masterminds [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
abema/go-mp4 [chore]: Bump github.com/abema/go-mp4 from 1.1.1 to 1.2.0 (#2559) 2024-01-22 09:42:41 +00:00
asaskevich/govalidator [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
aymerick/douceur
beorn7/perks [feature] Initial Prometheus metrics implementation (#2334) 2023-11-20 16:43:55 +01:00
buckket/go-blurhash migrate go version to 1.17 (#203) 2021-09-10 14:42:14 +02:00
bytedance/sonic [chore]: Bump github.com/gin-contrib/gzip from 0.0.6 to 1.0.0 (#2781) 2024-03-25 10:31:19 +00:00
cenkalti/backoff/v4 feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
cespare/xxhash/v2 [feature] Initial Prometheus metrics implementation (#2334) 2023-11-20 16:43:55 +01:00
chenzhuoyu [chore]: Bump github.com/gin-contrib/cors from 1.5.0 to 1.7.0 (#2745) 2024-03-11 10:12:06 +00:00
cilium/ebpf [chore]: Bump github.com/KimMachineGun/automemlimit from 0.2.4 to 0.2.5 (#1666) 2023-04-03 11:16:17 +02:00
containerd/cgroups/v3 [chore]: Bump github.com/KimMachineGun/automemlimit from 0.2.4 to 0.2.5 (#1666) 2023-04-03 11:16:17 +02:00
coreos [chore]: Bump github.com/coreos/go-oidc/v3 from 3.9.0 to 3.10.0 (#2779) 2024-03-25 10:58:34 +00:00
cornelk/hashmap [chore] bump gruf/go-store to v2 (#953) 2022-11-05 11:10:19 +00:00
davecgh/go-spew
disintegration/imaging [bugfix] Fix thumbnails not taking exif rotation into account (#746) 2022-08-10 14:05:14 +02:00
docker/go-units [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
dsoprea [bugfix] Update exif-terminator (fix png issue) (#2391) 2023-11-30 10:50:28 +01:00
dustin/go-humanize [chore]: Bump github.com/minio/minio-go/v7 from 7.0.48 to 7.0.49 (#1567) 2023-02-27 10:21:58 +01:00
felixge/httpsnoop [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
fsnotify/fsnotify [chore]: Bump github.com/tdewolff/minify/v2 from 2.20.0 to 2.20.6 (#2337) 2023-11-06 14:41:31 +00:00
gabriel-vasile/mimetype [chore]: Bump github.com/gin-contrib/cors from 1.5.0 to 1.7.0 (#2745) 2024-03-11 10:12:06 +00:00
gin-contrib [chore]: Bump github.com/gin-contrib/sessions from 0.0.5 to 1.0.0 (#2782) 2024-03-25 11:00:36 +00:00
gin-gonic/gin [chore]: Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#1855) 2023-06-01 22:20:16 +01:00
go-errors/errors Update dependencies (#333) 2021-11-27 15:26:58 +01:00
go-fed/httpsig move to ssb gofed fork (#298) 2021-11-13 17:29:43 +01:00
go-jose/go-jose/v4 [chore]: Bump github.com/coreos/go-oidc/v3 from 3.9.0 to 3.10.0 (#2779) 2024-03-25 10:58:34 +00:00
go-logr [chore] update bun + extras v1.1.16 -> v1.1.17 (#2534) 2024-01-15 14:08:07 +01:00
go-openapi [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
go-playground [chore]: Bump github.com/gin-contrib/cors from 1.5.0 to 1.7.0 (#2745) 2024-03-11 10:12:06 +00:00
go-swagger/go-swagger [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
go-xmlfmt/xmlfmt Upstep Go dependencies (#340) 2021-12-12 15:47:51 +01:00
goccy/go-json [chore]: Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#1855) 2023-06-01 22:20:16 +01:00
godbus/dbus/v5 [feature] Inherit resource limits from cgroups (#1336) 2023-01-17 20:59:04 +00:00
golang [chore] update latest deps, ensure readme up to date (#1873) 2023-06-05 10:15:05 +02:00
golang-jwt/jwt migrate go version to 1.17 (#203) 2021-09-10 14:42:14 +02:00
google/uuid [chore]: Bump github.com/google/uuid from 1.5.0 to 1.6.0 (#2604) 2024-02-05 09:52:30 +00:00
gorilla [chore]: Bump github.com/gin-contrib/sessions from 0.0.5 to 1.0.0 (#2782) 2024-03-25 11:00:36 +00:00
grpc-ecosystem/grpc-gateway/v2 [chore] Update usage of OTEL libraries (#2725) 2024-03-11 15:34:34 +01:00
h2non/filetype Update dependencies (#333) 2021-11-27 15:26:58 +01:00
hashicorp [chore] bump modernc.org/sqlite v1.28.0 -> v1.29.4 (#2749) 2024-03-12 18:21:59 +01:00
huandu/xstrings [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
imdario/mergo [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
inconshreveable/mousetrap [chore]: Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#1686) 2023-04-10 12:14:21 +02:00
jackc [chore]: Bump github.com/jackc/pgx/v5 from 5.5.3 to 5.5.5 (#2747) 2024-03-11 10:13:33 +00:00
jessevdk/go-flags [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
jinzhu/inflection migrate go version to 1.17 (#203) 2021-09-10 14:42:14 +02:00
josharian/intern [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
json-iterator/go Update dependencies (#333) 2021-11-27 15:26:58 +01:00
klauspost [chore]: Bump github.com/gin-contrib/sessions from 0.0.5 to 1.0.0 (#2782) 2024-03-25 11:00:36 +00:00
kr [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
leodido/go-urn [chore]: Bump github.com/gin-contrib/cors from 1.5.0 to 1.7.0 (#2745) 2024-03-11 10:12:06 +00:00
magiconair/properties [chore]: Bump github.com/spf13/viper from 1.14.0 to 1.15.0 (#1375) 2023-01-23 10:24:00 +01:00
mailru/easyjson [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
mattn/go-isatty [chore] update bun + extras v1.1.16 -> v1.1.17 (#2534) 2024-01-15 14:08:07 +01:00
matttproud/golang_protobuf_extensions/v2 [chore]: Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 (#2507) 2024-01-09 10:30:01 +00:00
microcosm-cc/bluemonday [chore]: Bump github.com/microcosm-cc/bluemonday from 1.0.25 to 1.0.26 (#2266) 2023-10-16 09:02:31 +00:00
miekg/dns [chore]: Bump github.com/miekg/dns from 1.1.57 to 1.1.58 (#2606) 2024-02-05 14:09:50 +00:00
minio [chore]: Bump github.com/minio/minio-go/v7 from 7.0.67 to 7.0.69 (#2748) 2024-03-11 10:51:13 +00:00
mitchellh [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
modern-go Update dependencies (#333) 2021-11-27 15:26:58 +01:00
ncruces/go-strftime [chore]: Bump modernc.org/sqlite from 1.28.0 to 1.29.2 (#2718) 2024-03-04 09:42:11 +00:00
oklog/ulid
opencontainers/runtime-spec [feature] Inherit resource limits from cgroups (#1336) 2023-01-17 20:59:04 +00:00
pbnjay/memory [chore]: Bump github.com/KimMachineGun/automemlimit from 0.4.0 to 0.5.0 (#2560) 2024-01-22 09:35:23 +00:00
pelletier/go-toml/v2 [chore]: Bump github.com/gin-contrib/gzip from 0.0.6 to 1.0.0 (#2781) 2024-03-25 10:31:19 +00:00
pkg/errors [feature] add rate limit middleware (#741) 2022-08-31 12:06:14 +02:00
pmezard/go-difflib
prometheus [chore] Update usage of OTEL libraries (#2725) 2024-03-11 15:34:34 +01:00
quasoft/memstore
remyoudompheng/bigfft [chore] Update uptrace/bun and modernc/sqlite dependencies (#1598) 2023-03-06 11:00:53 +01:00
rogpeppe/go-internal [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
rs/xid [chore]: Bump github.com/minio/minio-go/v7 from 7.0.53 to 7.0.55 (#1844) 2023-05-29 13:47:11 +01:00
sagikazarmark [chore] update viper version (#2539) 2024-01-17 14:54:30 +00:00
shopspring/decimal [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
sirupsen/logrus [chore]: Bump github.com/minio/minio-go/v7 from 7.0.60 to 7.0.61 (#2041) 2023-07-31 09:47:25 +01:00
sourcegraph/conc [chore] update viper version (#2539) 2024-01-17 14:54:30 +00:00
spf13 [chore] update viper version (#2539) 2024-01-17 14:54:30 +00:00
stretchr/testify [chore]: Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#2714) 2024-03-04 15:05:24 +00:00
subosito/gotenv [chore] update viper version (#2539) 2024-01-17 14:54:30 +00:00
superseriousbusiness [performance] massively improved ActivityPub delivery worker efficiency (#2812) 2024-04-11 11:45:35 +02:00
tdewolff [chore]: Bump github.com/tdewolff/minify/v2 from 2.20.18 to 2.20.19 (#2767) 2024-03-18 10:05:26 +00:00
technologize/otel-go-contrib [feature] Initial Prometheus metrics implementation (#2334) 2023-11-20 16:43:55 +01:00
tmthrgd/go-hex
tomnomnom/linkheader [feature] add paging to account follows, followers and follow requests endpoints (#2186) 2023-09-12 14:00:35 +01:00
toqueteos/webbrowser [bugfix] Fix Swagger spec and add test script (#2698) 2024-03-06 18:05:45 +01:00
twitchyliquid64/golang-asm [chore] Update gin to v1.9.0 (#1553) 2023-02-25 12:12:40 +00:00
ugorji/go/codec [chore]: Bump github.com/gin-contrib/cors from 1.5.0 to 1.7.0 (#2745) 2024-03-11 10:12:06 +00:00
ulule/limiter/v3 [chore]: Bump github.com/KimMachineGun/automemlimit from 0.2.6 to 0.3.0 (#2165) 2023-08-28 06:59:08 +00:00
uptrace [chore] update bun + extras v1.1.16 -> v1.1.17 (#2534) 2024-01-15 14:08:07 +01:00
vmihailenco [chore] update bun + extras v1.1.16 -> v1.1.17 (#2534) 2024-01-15 14:08:07 +01:00
wagslane/go-password-validator migrate go version to 1.17 (#203) 2021-09-10 14:42:14 +02:00
yuin/goldmark [chore]: Bump github.com/yuin/goldmark from 1.7.0 to 1.7.1 (#2819) 2024-04-10 12:04:27 +01:00