diff --git a/.obsidian/plugins/home-tab/data.json b/.obsidian/plugins/home-tab/data.json index fcdbef9c..14dccbf4 100644 --- a/.obsidian/plugins/home-tab/data.json +++ b/.obsidian/plugins/home-tab/data.json @@ -24,24 +24,8 @@ "unresolvedLinks": false, "recentFilesStore": [ { - "filepath": "_inbox/Key Based Sharding.md", - "timestamp": 1718910399246 - }, - { - "filepath": "_inbox/Шардирование в БД.md", - "timestamp": 1718910383022 - }, - { - "filepath": "Партиционирование в БД.md", - "timestamp": 1718909771420 - }, - { - "filepath": "_inbox/Горизонтальное масштабирование.md", - "timestamp": 1718909530869 - }, - { - "filepath": "_inbox/Вертикальное масштабирование.md", - "timestamp": 1718909525308 + "filepath": "_inbox/2024-06-20 1718910779.md", + "timestamp": 1718952713730 } ], "bookmarkedFileStore": [], diff --git a/.obsidian/plugins/recent-files-obsidian/data.json b/.obsidian/plugins/recent-files-obsidian/data.json index 07c9517e..e70860ff 100644 --- a/.obsidian/plugins/recent-files-obsidian/data.json +++ b/.obsidian/plugins/recent-files-obsidian/data.json @@ -1,13 +1,21 @@ { "recentFiles": [ { - "basename": "Key Based Sharding", - "path": "_inbox/Key Based Sharding.md" + "basename": "2024-06-20 1718910779", + "path": "_inbox/2024-06-20 1718910779.md" + }, + { + "basename": "Range Base Sharding", + "path": "_inbox/Range Base Sharding.md" }, { "basename": "Шардирование в БД", "path": "_inbox/Шардирование в БД.md" }, + { + "basename": "Key Based Sharding", + "path": "_inbox/Key Based Sharding.md" + }, { "basename": "Партиционирование в БД", "path": "Партиционирование в БД.md" @@ -191,14 +199,6 @@ { "basename": "High Availability", "path": "_inbox/High Availability.md" - }, - { - "basename": "2024-06-18 1718710626", - "path": "_inbox/2024-06-18 1718710626.md" - }, - { - "basename": "00 Разработка", - "path": "wiki/zero/00 Разработка.md" } ], "omittedPaths": [], diff --git a/_inbox/2024-06-20 1718910779.md b/_inbox/2024-06-20 1718910779.md new file mode 100644 index 00000000..df6e76d2 --- /dev/null +++ b/_inbox/2024-06-20 1718910779.md @@ -0,0 +1,9 @@ +--- +aliases: +tags: + - зрелость/🌱 +date: [[2024-06-20]] +zero-link: +parents: +linked: +--- diff --git a/_inbox/Key Based Sharding.md b/_inbox/Key Based Sharding.md index 4c52e4cc..72dd15ab 100644 --- a/_inbox/Key Based Sharding.md +++ b/_inbox/Key Based Sharding.md @@ -6,7 +6,7 @@ tags: date: - - 2024-06-20 zero-link: - - "[[00 Архитектура ПО]]" + - "[[00 Алгоритмы]]" parents: - "[[Шардирование в БД]]" linked: diff --git a/_inbox/Range Base Sharding.md b/_inbox/Range Base Sharding.md new file mode 100644 index 00000000..8f11f6a2 --- /dev/null +++ b/_inbox/Range Base Sharding.md @@ -0,0 +1,22 @@ +--- +aliases: + - table function + - virtual bucket +tags: + - зрелость/🌱 +date: + - - 2024-06-20 +zero-link: + - "[[00 Алгоритмы]]" +parents: + - "[[Шардирование в БД]]" +linked: +--- +![](Pasted%20image%2020240620221007.png) + +**Плюсы** +- Прост в реализации + +**Минусы:** +- Потенциально неравномерная нагрузка +- Обновление конфигурации мапинга при изменении шардов. \ No newline at end of file diff --git a/_inbox/Шардирование в БД.md b/_inbox/Шардирование в БД.md index 75c64f33..3e8b6066 100644 --- a/_inbox/Шардирование в БД.md +++ b/_inbox/Шардирование в БД.md @@ -41,5 +41,6 @@ linked: Стратегии разбиения на шарды - [Key Based Sharding](Key%20Based%20Sharding.md). Наиболее распространенный способ. +- [Range Base Sharding](Range%20Base%20Sharding.md). ## Заметки - Реализации шардирования могут мешать [JOIN SQL](JOIN%20SQL.md) \ No newline at end of file diff --git a/meta/files/Pasted image 20240620221007.png b/meta/files/Pasted image 20240620221007.png new file mode 100644 index 00000000..c22043df Binary files /dev/null and b/meta/files/Pasted image 20240620221007.png differ