Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: synchron Clear Filter

SQLite's documentation about its durability properties is unclear

One of the most important properties of a database is durability. Durability means that after a transaction commits, you can be confident that, absent catastrophic hardware failure, the changes made by the commit won't be lost. This should remain true even if the operating system crashes or the system loses power soon after the commit. On Linux, and most other Unix operating systems, durability is ensured by calling the fsync system call at the right time. Durability comes at a performance cost

SQLite's Durability Settings Are a Mess

One of the most important properties of a database is durability. Durability means that after a transaction commits, you can be confident that, absent catastrophic hardware failure, the changes made by the commit won't be lost. This should remain true even if the operating system crashes or the system loses power soon after the commit. On Linux, and most other Unix operating systems, durability is ensured by calling the fsync system call at the right time. Durability comes at a performance cost

SQLite (with WAL) doesn't do `fsync` on each commit under default settings

SQLite (with WAL) doesn't do `fsync` on each commit under default settings SQLite has a WAL mode (the default is journal mode), but you’re likely using it if you want higher write throughput. SQLite also has a PRAGMA called synchronous which configures how fsync is called. The default is NORMAL . This is what the docs say: [..] but WAL mode does lose durability. A transaction committed in WAL mode with synchronous=NORMAL might roll back following a power loss or system crash. In WAL mode when

Structured (Synchronous) Concurrency

Structured (Synchronous) Concurrency @_fsantanna I have recently learned about Structured Concurrency (SC), which supports nested coroutines with tied lifetimes. There are a number of libraries (Dill, Trio, Effection), and even language mechanisms in Swift and Kotlin. The similarities with Esterel and derived imperative synchronous languages (ISLs) is noteworthy. However, it seems that no bridges between these worlds (ISLs & SC) have been built. Research in ISLs dates back to the early 80s, a

Apple’s new brain-controlled iPhone, iPad tech revealed in video

Earlier this year Apple shared early details of its forthcoming plans to support brain-controlled technology for iPhone, iPad, and more. Now, a new video has been published showing the first live demonstration of the tech. New video shows iPad user controlling device with his thoughts Apple has long been at the forefront of prioritizing accessibility across its various devices. And the latest initiative on that front is especially cutting edge. As was first detailed this spring, iOS 26, iPadO

GenosDB (GDB) – Decentralized P2P Graph Database

GenosDB (GDB) – Decentralized P2P Graph Database A lightweight, decentralized graph database designed for modern web applications, offering real-time peer-to-peer synchronization, WebAuthn-based authentication, role-based access control (RBAC), and efficient local storage utilizing OPFS. Main Features ✅ GenosDB Core Efficient storage in OPFS. Real-time synchronization between tabs and devices. CRUD operations for nodes and relationships. Efficient serialization using MessagePack and compr