PROJECT_07 // DATA_ENGINEERING
LIVE DATABASE MIGRATION & AUTONOMOUS SYNCHRONIZATION
Research prototype exploring heterogeneous MySQL and PostgreSQL synchronization, database lifecycle management and configurable service routing.
01 // APPLICATION_PROFILE
Python · Flask · MySQL · PostgreSQL · Docker · REST · YAML
02 // VIDEO_ARCHIVE
DEMO_01 // DATABASE_MIGRATION
03 // ARCHITECTURE_ENGINE
Explore the logical service relationships. Select a node or its matching button to inspect source-derived responsibilities and endpoints.
Animated paths are conceptual, not captured network traffic. The external AEM relationship is schema-only.
04 // LIVE_DATABASE_MIGRATION_ENGINE
Synthetic transaction IDs and amounts. A synchronization session captures the initial source watermark; new writes may require another session. The guarded failure handling below is illustrative, not a claim about the original implementation.
05 // DATABASE_LIFECYCLE_AND_ROUTING
Illustrative registry with two proxies per engine. Explicit selection overrides routing. Broadcast selects all eligible proxies; single-mode fanout selects the first sorted proxy, round-robin cycles candidates, and primary-secondary probes healthy or starting candidates before falling back to the first. Selection does not guarantee successful delivery.
Lifecycle controls simulate registry state only; no Docker or systemctl commands run. Broadcast here excludes stopped proxies as an illustrative configuration.
06 // DATA_CONSISTENCY_LABORATORY
Independent synthetic dataset. Compare maximum ID, count and exact ID/value equality. Record-level repair is an illustrative extension, not an implemented source feature.
| ID | Source amount | Target amount | Comparison |
|---|
07 // DIGITAL_GENOME_EXPLORER
Exact declarations from DB_Manager/yaml_files/schema.yaml. External AEM is referenced but not defined here. This is a schema view, not live graph state.
| Attribute | Type |
|---|
SCHEMA_RELATIONSHIPS
08 // EVENT_MEMORY
Passive capture of synthetic db-lab-event messages from the three laboratories. Latest 500 events in memory; reload clears history. Pause freezes the view, not capture. Export is not an authenticated audit record.
| Sequence | Event | Inspect |
|---|
No event selected.
09 // RESEARCH_NARRATIVE
HETEROGENEOUS_DATA // STATE_CONTINUITY // DISTRIBUTED_SYSTEMS
01 // RESEARCH_OBJECTIVE
Explore application-managed state continuity across heterogeneous relational databases. The prototype separates lifecycle control, routing and database-specific operations into five services. It is an example application relevant to AMOS research, not the AMOS platform itself.
02 // SERVICE_ARCHITECTURE
Manager_Frontend exposes monitoring and controls; DB_Manager coordinates lifecycle and synchronization; Manager_AEM routes requests; Manager_MySQL_Proxy and Manager_Postgres_Proxy encapsulate engine-specific operations.
03 // INCREMENTAL_SYNCHRONIZATION
DB_Manager/main.py defines sync_proxy_from_other_type with default batch_size and max_batches of 1000. It obtains source and target maximum IDs through AEM, reads rows above the target cursor, applies them to the target and advances the cursor to the last returned ID.
04 // HETEROGENEOUS_SQL_ADAPTERS
The MySQL proxy uses ON DUPLICATE KEY UPDATE and the PostgreSQL proxy uses ON CONFLICT (id) DO UPDATE. These operations address repeated IDs, but do not establish exactly-once delivery or full database equivalence. The replication upserts do not explicitly preserve the retrieved created_at value.
05 // LIFECYCLE_AND_ROUTING
The manager attempts synchronization after start or restart. Manager_AEM supports proxy and broadcast modes and fanout, round_robin and primary_secondary strategies. Lifecycle adapters include systemctl control. These mechanisms are source-code capabilities, not verified availability guarantees.
06 // DIGITAL_GENOME_REPRESENTATION
The supplied YAML declares five vertex types, five undirected relationships and 75 attribute declarations. Each vertex uses name as its primary identifier. The Manager_AEM_AEM relationship refers to an external AEM not defined in this schema.
07 // CONSISTENCY_AND_FAILURE_BOUNDARIES
A maximum ID can conceal missing or modified historical rows. Equal counts do not prove equal contents. The synchronization loop advances its cursor after an apply response without fully validating per-target success. A bounded loop and initial source watermark do not establish continuous change capture or atomic cutover.
08 // INTERACTIVE_LABORATORY_METHODOLOGY
The browser laboratories use synthetic transactions, simulated lifecycle states and routing decisions. Record-level comparison and repair are illustrative enhancements, not original application features. Event Memory is temporary browser history, not durable or authenticated evidence.
09 // FUTURE_ENGINEERING_WORK
Evaluate change data capture, durable checkpoints, transactional apply acknowledgments, reconciliation of historical changes, timestamp preservation and concurrent-write handling. Establish cutover and rollback protocols and measure recovery time and data loss under controlled failure tests.
10 // EVIDENCE_AND_RESEARCH_BOUNDARIES
This narrative is based on static inspection of the supplied source archive. No original service was executed, no live database was accessed, and no zero-downtime, cross-cloud, production readiness or recovery performance claim is established. The video is a demonstration, not an independent benchmark.
10 // RESEARCH_BOUNDARIES
Incremental synchronization uses a maximum transaction ID watermark and database-specific upserts. Equal counts or watermarks do not prove identical data. Atomic cutover, zero downtime, continuous replication and production reliability have not been established. This page does not connect to live services or databases.