Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
IT Security NachrichtenIT Security News Daily Summary 2026-09-23(23.09.2026 um 23:55 Uhr)
IT Security NachrichtenIT Security News Hourly Summary 2026-09-24 00h : 7 posts(24.09.2026 um 00:00 Uhr)
IT NachrichtenWindows-Backup Drive Snapshot ist verkauft(24.09.2026 um 00:01 Uhr)
Apple iOS & macOSHow to Always Show Menu Bar on iPad with iPadOS 27(23.09.2026 um 23:38 Uhr)
IT Security NachrichtenIT Security News Daily Summary 2026-09-23(23.09.2026 um 23:55 Uhr)
IT Security NachrichtenIT Security News Hourly Summary 2026-09-24 00h : 7 posts(24.09.2026 um 00:00 Uhr)
IT NachrichtenWindows-Backup Drive Snapshot ist verkauft(24.09.2026 um 00:01 Uhr)
Apple iOS & macOSHow to Always Show Menu Bar on iPad with iPadOS 27(23.09.2026 um 23:38 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Building VeloSync: A Zero-Dependency, Offline-First Vector Sync Engine in Python

To learn more about database replication and distributed systems, I designed VeloSync: an offline-first vector database synchronization engine written in pure Python. I used AI to assist in writing and organizing the codebase. The system…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

To learn more about database replication and distributed systems, I designed VeloSync: an offline-first vector database synchronization engine written in pure Python. I used AI to assist in writing and organizing the codebase.



The system runs a local SQLite store on edge devices, performs vector search locally, and bidirectionally synchronizes updates with a FastAPI master server over HTTP.






System Architecture & Features





  • Local Storage & Search: Saves AI vector embeddings locally in SQLite as packed float64 BLOBs (via the Python structmodule) and performs exact Cosine Similarity search offline.


  • Replication Log: Tracks every local edit using a Write-Ahead Log (WAL) and Log Sequence Numbers (LSN).


  • FastAPI Server: Ingests push payloads over HTTP, verifies integrity checksums, and uses version vector clocks to causally resolve concurrent edit conflicts.


  • Log Compaction: Compacts offline changes locally before replication to minimize network bandwidth.


  • Echo Suppression: Ensures devices do not receive their own pushes back during pull cycles.



Building this provided hands-on experience with database transactions, version vector clocks, and preventing replication loops in distributed databases.



The source code and system architecture details are available on my GitHub:





GitHub logo

Abhishektegur
/
velosync-engine



A zero-dependency Python database sync engine that replicates vector embeddings between SQLite on edge devices and a central FastAPI server.






VeloSync ⚡



VeloSync is a zero-dependency, offline-first vector database synchronization engine written in Python. It is designed for edge environments (mobile phones, IoT nodes, embedded devices) that need to perform fast local vector searches on SQLite and synchronize mutations bidirectionally with a central cloud database over HTTP.




System Architecture



         +----------------------------------+          +----------------------------------+
| Device A (edge-phone-01) | | Device B (edge-tablet-07) |
+----------------------------------+ +----------------------------------+
| SQLite DB | | Logical WAL log | | SQLite DB | | Logical WAL log |
+-----------+ +-----------------+ +-----------+ +-----------------+
\ / \ /
(HTTPSyncEngine) (HTTPSyncEngine)
\ / \ /
v v v v
POST /sync (Replicate) POST /sync (Replicate)
POST /ack (Commit) POST /ack (Commit)
\ / \ /
\ / / /
v v
+-------------------------------------------------------------+
| FastAPI HTTP Server |
+-------------------------------------------------------------+
| Master Store (server_store.db) |
+-------------------------------------------------------------+


Key Components





  1. Local Edge Storage (client.py)

    • A SQLite file database on the device…









I would appreciate any feedback on the design decisions, SQLite integration, or suggestions on what database internals or distributed algorithms I should study next.

CTI Threat Relationship Graph2 Knoten / 1 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
IR-PLAYBOOK-RCE
HIGH
SOC Incident Playbook: Remote Code Execution (RCE) Defense
1-Click Detection Engineering: Sigma & YARA Rules
SOC Ready
title: Detect Exploitation - Building VeloSync: A Zero-Dependency, Offline-First Vector Sync Engine in Python
id: 8cbdfa33-c250-4297-9487-21375305d5a8
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "Building VeloSync: A Zero-Depe" ascii wide
    condition:
        any of them
}
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Building VeloSync: A Zero-Dependency, Offline-First Vector Sync Engine in Python

Thematisch verwandte Begriffe: Building, VeloSync, ZeroDependency, OfflineFirst · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-96550 | A vulnerability was found in sfturing hosp_order up to 627f426331da8086c…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick