Перенести мессенджер на PostgreSQL и сессии Redis.
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
Сообщения должны переживать рестарт, а доступ идти через Bearer, а не X-User-Id. Трек 2 сравнивает план keyset-запроса и сверяет pg_restore.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"cursor_offset": 30000,
|
||||
"largest_chat_messages": 74449,
|
||||
"strong_index": "messages_history_idx (chat_id, created_at, id)",
|
||||
"strong_plan": "node=Limit execution_ms=0.091 shared_hit_blocks=1 sort=false",
|
||||
"weak_index": "messages_chat_only_idx (chat_id)",
|
||||
"weak_plan": "node=Limit execution_ms=16.435 shared_hit_blocks=847 sort=true",
|
||||
"write_cost": {
|
||||
"chat_id_plus_history_ms": 31,
|
||||
"only_chat_id_index_ms": 30,
|
||||
"rows": 5000
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user