ZIm/crates/collab/src
Conrad Irwin ee2a329981
Slow down reconnects on collab (#32418)
We believe that collab deploys currently cause outages because:

* All clients try to reconnect simultaneously
* This causes very high CPU usage on collab (and to some extent, the
database)
* This means that collab is slow to respond to clients
* So clients timeout and retry, over and over again.

We hope by letting clients in in buckets of 512, we can accept some
minor slowness to avoid
complete downtime, while we rewrite the system.

Release Notes:

- N/A
2025-06-09 19:59:04 -06:00
..
api collab: Return subscription period from GET /billing/subscriptions (#31987) 2025-06-03 15:29:08 +00:00
bin windows: Make collab run on Windows (#23117) 2025-01-17 09:39:13 +02:00
db Switch to using weak transactions for queries happening on connection (#32411) 2025-06-09 21:37:48 +02:00
llm Bypass account age check when feature flag is set (#32393) 2025-06-09 18:44:48 +02:00
rpc Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
stripe_client collab: Fix deserialization of create meter event response (#31982) 2025-06-03 15:23:38 +00:00
tests Slow down reconnects on collab (#32418) 2025-06-09 19:59:04 -06:00
api.rs collab: Add GET /users/look_up endpoint (#31059) 2025-05-21 01:29:16 +00:00
auth.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
cents.rs Send llm events to snowflake too (#21091) 2024-11-22 20:40:39 -07:00
completion.rs Supermaven (#10788) 2024-05-03 12:50:42 -07:00
db.rs Add channel reordering functionality (#31833) 2025-06-04 16:56:33 +00:00
env.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
errors.rs Remove more unused code related to GitHub auth and errors 2022-04-21 08:57:49 -06:00
executor.rs chore: Prepare for Rust edition bump to 2024 (without autofix) (#27791) 2025-03-31 20:10:36 +02:00
lib.rs collab: Use StripeClient in sync_subscription (#31761) 2025-05-30 16:08:58 +00:00
llm.rs Bypass account age check when feature flag is set (#32393) 2025-06-09 18:44:48 +02:00
main.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
migrations.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
rpc.rs Slow down reconnects on collab (#32418) 2025-06-09 19:59:04 -06:00
seed.rs feature_flags: Remove remoting feature flag (#29390) 2025-04-25 03:41:11 +00:00
stripe_billing.rs collab: Use StripeClient in sync_subscription (#31761) 2025-05-30 16:08:58 +00:00
stripe_client.rs collab: Use StripeClient in sync_subscription (#31761) 2025-05-30 16:08:58 +00:00
tests.rs collab: Introduce StripeClient trait to abstract over Stripe interactions (#31615) 2025-05-28 18:34:44 +00:00
user_backfiller.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00