TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

SQLite B-Tree Module

177 pointsby rdpintqogeogsaaabout 3 years ago

4 comments

plqabout 3 years ago
This has been shared without context but I guess the SQLite team is starting to modularize the btree code in order to facilitate work like SQLightning: <a href="https:&#x2F;&#x2F;github.com&#x2F;LMDB&#x2F;sqlightning" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;LMDB&#x2F;sqlightning</a><p>At the time SQLightning greatly improved SQLite performance but due to LMDB&#x27;s requirement to have keys fit in 2&#x2F;3 of a page it wasn&#x27;t really useful as a general purpose replacement of SQLite&#x27;s internal b-tree implementation.<p>EDIT: It looks like SQLightning got adopted and has been worked on by the SQLite team under the name LumoSQL. Here&#x27;s the project&#x27;s readme: <a href="https:&#x2F;&#x2F;lumosql.org&#x2F;src&#x2F;lumosql&#x2F;doc&#x2F;trunk&#x2F;README.md" rel="nofollow">https:&#x2F;&#x2F;lumosql.org&#x2F;src&#x2F;lumosql&#x2F;doc&#x2F;trunk&#x2F;README.md</a> which contains at the end &quot;A Brief History of LumoSQL&quot;
评论 #30895986 未加载
评论 #30896070 未加载
评论 #30898677 未加载
评论 #30896411 未加载
jstschabout 3 years ago
A bit off-topic, but SQLite continues to impress me. This year, we&#x27;ve added a simple form builder to our product which allows creators to quickly gather feedback&#x2F;input from their audiences. Basically each form has it&#x27;s own small sqlite database as a datastore and a json file for the form definition (field styling&#x2F;constraints, etc). It&#x27;s &#x27;low tech&#x27;, but performs great. Not having an additional service running also means having one less thing to maintain.
评论 #30895896 未加载
评论 #30899764 未加载
stavrosabout 3 years ago
OK I love SQLite but there has been a long-standing misconception, or issue, that I&#x27;d like to get clarification on: Is using SQLite from multiple processes safe?<p>For a long while, either SQLite itself or the Python bindings weren&#x27;t safe for concurrent access, is this still the case? Can I use SQLite for my Django app? With the backup system on the Tailscale post yesterday, the operational burden is much much lower than Postgres for many use cases.
评论 #30896994 未加载
评论 #30896518 未加载
评论 #30896213 未加载
评论 #30896396 未加载
评论 #30896260 未加载
评论 #30896151 未加载
评论 #30896892 未加载
评论 #30896166 未加载
sydthrowawayabout 3 years ago
Has anyone actually ever fixed a TODO they wrote in their life?
评论 #30900805 未加载