{"id":13769932,"url":"https://github.com/jryans/matrix-limits","last_synced_at":"2026-02-13T14:09:55.511Z","repository":{"id":60304739,"uuid":"382387366","full_name":"jryans/matrix-limits","owner":"jryans","description":"A collection of various limits and related factoids about the Matrix specification and implementations.","archived":false,"fork":false,"pushed_at":"2021-07-02T15:59:06.000Z","size":11,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-02T02:27:00.655Z","etag":null,"topics":["client","limits","matrix","server","spec"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jryans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-02T15:25:06.000Z","updated_at":"2022-09-27T20:06:52.000Z","dependencies_parsed_at":"2022-09-27T21:40:24.279Z","dependency_job_id":null,"html_url":"https://github.com/jryans/matrix-limits","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jryans%2Fmatrix-limits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jryans%2Fmatrix-limits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jryans%2Fmatrix-limits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jryans%2Fmatrix-limits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jryans","download_url":"https://codeload.github.com/jryans/matrix-limits/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245948666,"owners_count":20698862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["client","limits","matrix","server","spec"],"created_at":"2024-08-03T17:00:32.838Z","updated_at":"2026-02-13T14:09:50.487Z","avatar_url":"https://github.com/jryans.png","language":null,"readme":"# Matrix Limits\n\nA collection of various limits and related factoids about the Matrix\nspecification and implementations.\n\n## Contents\n\n- [Specification](#specification)\n  - [Events](#events)\n  - [Identifiers](#identifiers)\n- [Servers](#servers)\n  - [Synapse](#synapse)\n  - [Dendrite](#dendrite)\n\n---\n\n## Specification\n\n### Events\n\nThe content has been adapted from [the\nspec](https://spec.matrix.org/unstable/client-server-api/#size-limit) itself.\n\n- Events must not be larger than 64 KiB when [formatted as a\n  PDU](https://spec.matrix.org/unstable/server-server-api/#pdus)\n- `sender` must not exceed 255 bytes (including domain)\n- `room_id` must not exceed 255 bytes\n- `state_key` must not exceed 255 bytes\n- `type` must not exceed 255 bytes\n- `event_id` must not exceed 255 bytes\n\n### Identifiers\n\n- [User ID\n  localparts](https://spec.matrix.org/unstable/appendices/#user-identifiers) are\n  limited to `[a-z0-9-.=_/]+` in the spec, but historical user IDs can contain\n  any printable ASCII except spaces and federation allows arbitrary unicode\n  including unprintable ASCII\n\n## Servers\n\n### Synapse\n\n- Events table [used to use a 32-bit stream ordering\n  ID](https://github.com/matrix-org/synapse/issues/8255), limiting a server to a\n  total of 2^31 (2,147,483,648) events across all known rooms (develop [has\n  changed](https://github.com/matrix-org/synapse/pull/10264) to `bigint`, so the\n  limit will soon become 2^63)\n\n### Dendrite\n\n---\n\n## Contribute\n\nContributions welcome! 😄 Read the [contribution guidelines](CONTRIBUTING.md)\nfirst.\n\n## License\n\nCreative Commons Attribution 4.0 International\n","funding_links":[],"categories":["Factoids"],"sub_categories":["Single Purpose Bots"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjryans%2Fmatrix-limits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjryans%2Fmatrix-limits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjryans%2Fmatrix-limits/lists"}