The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



"Эксперимент с использованием SQLite в качестве контейнера для архивирования файлов"
Версия для распечатки Пред. тема | След. тема
Форум Разговоры, обсуждение новостей
Исходное сообщение [ Отслеживать ]
Есть идеи по улучшению форума и сайта ? Пишите.
. "Эксперимент с использованием SQLite в качестве контейнера дл..." +1 +/
Сообщение от O (?), 26-Мрт-24, 13:17 
File hierarchy is implemented using recursive ID. In Item table, every Item gets linked to its parent by Parent field. On unpacking, they will be queried and verified.

The hash of any compressed data is already stored and verified at the unpack step. It does not have an extra field, as it is stored together with the content.

Each file or piece of data gets separated and/or joined with others as content, then compressed if seen as beneficial. Zstandard (the internal compression algorithm) uses xxHash together with a header to verify decompression.

On unpacking, all needed Items (files or folders) get queried and checked, followed by all the ItemContents and related Contents. Each gets verified to be the correct size to prevent invalid memory access, and if decompression is needed, they will be double verified with their corresponding hash.

Ответить | Правка | Наверх | Cообщить модератору

Оглавление
Эксперимент с использованием SQLite в качестве контейнера для архивирования файлов, opennews, 25-Мрт-24, 12:51  [смотреть все]
Форумы | Темы | Пред. тема | След. тема



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру