ArnabChatterjee20k
b08f3bdc52
Merge remote-tracking branch 'origin/1.9.x' into presence-api
2026-04-29 11:29:59 +05:30
ArnabChatterjee20k
25ae2e7314
Implement triggerStats function, add GraphQL source header, and enhance presence upsert logic with source detection. Also, introduce PresenceTest for GraphQL presence upsert validation.
2026-04-28 17:48:23 +05:30
ArnabChatterjee20k
8d378720b0
add presence API metrics and usage tracking
2026-04-28 17:19:24 +05:30
ArnabChatterjee20k
3f12062259
updated
2026-04-27 17:54:48 +05:30
ArnabChatterjee20k
ca105ff9bc
feat(Realtime): implement rebindAccountChannels method for userId changes and add corresponding tests
2026-04-27 17:31:31 +05:30
ArnabChatterjee20k
a17f9ce989
removed comments
2026-04-24 17:30:19 +05:30
ArnabChatterjee20k
053d25c64e
Merge remote-tracking branch 'origin/1.9.x' into presence-api
2026-04-24 17:29:39 +05:30
ArnabChatterjee20k
0633662695
removed dispatch experiment
2026-04-24 16:22:57 +05:30
ArnabChatterjee20k
89819db775
added exporter
2026-04-24 16:12:42 +05:30
ArnabChatterjee20k
c2e5bbe0f7
updated
2026-04-22 18:11:32 +05:30
ArnabChatterjee20k
b006858d0c
dedupe
2026-04-22 17:52:45 +05:30
ArnabChatterjee20k
6d1def7716
removed redundant span attributes
2026-04-22 17:45:58 +05:30
ArnabChatterjee20k
f0f1e1c412
updated
2026-04-22 17:44:18 +05:30
ArnabChatterjee20k
46e778ea90
updated
2026-04-22 17:13:35 +05:30
ArnabChatterjee20k
fd9fe5d9ce
corrected the position
2026-04-22 17:07:53 +05:30
ArnabChatterjee20k
59e0383264
updated
2026-04-22 17:01:08 +05:30
ArnabChatterjee20k
0f81bc2da9
Refactor telemetry logging in realtime events for consistency and clarity
...
- Updated span logging keys to use camelCase for uniformity across connection and message events.
- Added checks to ensure project and user IDs are only logged if they are not empty, enhancing data integrity.
- Improved error handling and logging structure to maintain consistency in telemetry data.
2026-04-22 16:57:51 +05:30
ArnabChatterjee20k
17e3d03b40
Add telemetry logging for subscribed channels and queries in realtime events
...
- Introduced new arrays to capture subscribed channels and passed queries during connection and message events.
- Enhanced span logging to include details about channels and queries for better monitoring and analysis.
- Updated telemetry data structure to reflect the new metrics, improving traceability of realtime interactions.
2026-04-22 16:55:52 +05:30
ArnabChatterjee20k
b2ad7237ab
Add detailed telemetry logging for realtime connection events
...
- Introduced span logging for connection open and close events, capturing metrics such as inbound and outbound bytes, subscription counts, and response codes.
- Enhanced error handling with logging of exceptions during connection lifecycle.
- Updated the structure of the telemetry data to include project and user IDs for better traceability.
2026-04-22 16:52:54 +05:30
ArnabChatterjee20k
ca1cf1982f
added wide events inside the structured one logging per message instead of a discrete logs
2026-04-22 16:44:20 +05:30
ArnabChatterjee20k
e0fec8f550
updated
2026-04-22 15:42:17 +05:30
loks0n and Claude Opus 4.7
7e963e8439
fix: honor _APP_WORKERS_NUM in realtime
...
Realtime was ignoring _APP_WORKERS_NUM and always computing workers as
CPU × _APP_WORKER_PER_CORE, making it impossible to cap the worker count
without also changing the per-core multiplier. Prefer _APP_WORKERS_NUM
when set, falling back to the CPU × per-core calculation.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-21 16:55:56 +01:00
ArnabChatterjee20k
5df65d5417
updated
2026-04-21 10:58:34 +05:30
ArnabChatterjee20k
abd6f0add2
updated
2026-04-21 10:52:21 +05:30
ArnabChatterjee20k
25854c84f5
Merge remote-tracking branch 'origin/1.9.x' into realtime-time-metric
2026-04-21 10:44:30 +05:30
ArnabChatterjee20k
b8385fe927
updated
2026-04-20 18:27:48 +05:30
ArnabChatterjee20k
9f65177649
Add unsubscribe functionality to Realtime adapter
2026-04-20 17:37:54 +05:30
ArnabChatterjee20k
4b94d14f1e
updated time metric
2026-04-20 12:13:53 +05:30
ArnabChatterjee20k
12f76d74b1
added subscriptions telemetry and worker labelling to connections and subscriptions
2026-04-20 11:52:43 +05:30
ArnabChatterjee20k
2bff4192ee
added telemetry for the connected clients
2026-04-20 11:45:05 +05:30
ArnabChatterjee20k
a9fb17b067
added telemetry for message arriaval delay
2026-04-20 11:39:50 +05:30
ArnabChatterjee20k
df0f7ba581
added bucket boundary
2026-04-17 18:02:04 +05:30
ArnabChatterjee20k
b5ec92964c
updated telemetry
2026-04-17 14:08:42 +05:30
ArnabChatterjee20k
71b74e21a3
added delay metric
2026-04-17 13:36:48 +05:30
ArnabChatterjee20k
1d32faff4f
updated realtime
2026-04-17 12:04:55 +05:30
ArnabChatterjee20k
0d2a4da347
updated the presence helper
2026-04-17 12:01:56 +05:30
ArnabChatterjee20k
2ef62b309e
Refactor presence upsert logic to handle duplicate entries. Added exception handling for MongoDB adapter to update existing documents instead of creating new ones when presenceId mismatches occur.
2026-04-16 18:14:13 +05:30
ArnabChatterjee20k
a480d8ed73
updated realtime
2026-04-16 18:11:01 +05:30
ArnabChatterjee20k
4fea92c9cb
Refactor realtime authorization handling and enhance presence event tests. Updated authorization roles synchronization in the realtime connection and added exception handling for user retrieval. Improved connection pool size logic for PubSub workers and added comprehensive tests for presence events to ensure correct message ordering and validation.
2026-04-16 17:47:34 +05:30
ArnabChatterjee20k
0e3a017d50
added realtime trigger
2026-04-16 12:35:50 +05:30
ArnabChatterjee20k
d28cce761d
updated to have permissions order deterministic
2026-04-16 11:20:52 +05:30
ArnabChatterjee20k
7e18e6f8c5
updated realtime and tests
2026-04-15 16:30:17 +05:30
ArnabChatterjee20k
968b1c0861
updated configs
2026-04-15 16:11:05 +05:30
ArnabChatterjee20k
2ce39768c3
added delete of presence on disconnect
2026-04-15 13:38:34 +05:30
ArnabChatterjee20k
69bc935517
Add permission handling for presence updates and enhance error validation in realtime messages
2026-04-15 13:21:26 +05:30
Chirag Aggarwal
584acafb1d
Merge branch '1.9.x' into feat-services-protocols-apis
2026-04-13 10:45:42 +05:30
Chirag Aggarwal
938e65cb02
Merge pull request #11831 from appwrite/codex/remove-realtime-http-dependency
...
Use dedicated connection resources in realtime
2026-04-10 12:54:45 +05:30
ArnabChatterjee20k
2e6f3f5c14
typo
2026-04-10 11:13:03 +05:30
ArnabChatterjee20k
7b3d9bae03
updated authorization
2026-04-10 11:04:44 +05:30
Chirag Aggarwal
d81a1154e3
refactor: isolate realtime connection resources
2026-04-10 10:19:41 +05:30