Skip to main content
PK_OS // v0.5.2 // ● SYSTEM ONLINE
[ BACK TO PROJECTS ]

PROJECT_FILE // DISTRIBUTED_SYSTEMS // AMOS_ECOSYSTEM

AMOS_VOD

AUTOPOIETIC VIDEO ON DEMAND

LIVE MIGRATION // FAULT TOLERANCE // SERVICE RECOVERY

How can a distributed software application maintain service continuity when one of its operational components becomes unavailable?

05 APPLICATION SERVICES
LIVE STREAM FAILOVER
EVENT DRIVEN RECOVERY
PYTHON FLASK DOCKER AWS S3 TIGERGRAPH HTTP RANGE DIGITAL GENOME AMOS

> PROJECT_ABSTRACT

AMOS Video on Demand is a distributed application that explores service continuity, live migration of streaming responsibility, and event-driven recovery within an AMOS-managed software ecosystem.

The application separates video delivery, user interaction, customer management, session management and application event processing into distinct software services.

Its video proxy implements backend discovery, streaming byte-offset tracking and HTTP Range continuation to support failover between available video server instances.

Application failure events are processed through AEM and TigerGraph, with recovery requests forwarded to the AMOS SEM interface.

> SYSTEM_COMPONENTS

01 // UI

User interaction, video selection, backend discovery and video proxy.

Implements the streaming failover path and tracks delivered byte offsets.

02 // VIDEO_SERVER

Retrieves video content from Amazon S3, caches files locally and serves video content through HTTP.

Supports HTTP Range requests for partial content delivery.

03 // AEM

Application event processing, operational event recording and TigerGraph integration.

Processes video server failure notifications and initiates recovery requests through SEM.

04 // CUSTOMER

Customer registration and authentication-related application operations.

05 // SESSION

Initializes user sessions and participates in the application's session workflow.

AMOS // MANAGEMENT_INTERFACE

External management relationship connecting application events and recovery requests to the AMOS ecosystem.

AMOS is distinct from the five application services.

> LIVE_MIGRATION

The streaming proxy is designed to transfer video delivery responsibility between available backend instances when an active backend fails.

01 // DISCOVER_BACKENDS

Obtain available video server endpoints through the application's service map.

02 // ESTABLISH_STREAM

Connect to a video server and forward the requested video content.

03 // TRACK_STREAM_OFFSET

Track bytes delivered during streaming relative to the original request offset.

04 // DETECT_STREAM_FAILURE

Handle a backend streaming exception and notify the application event service.

05 // RANGE_CONTINUATION

Attempt to connect to another backend using an updated HTTP Range offset.

> SERVICE_RECOVERY

FAILURE_NOTIFICATION

The UI reports a failed video server endpoint to AEM.

KNOWLEDGE_UPDATE

AEM uses TigerGraph to identify and remove the corresponding failed video server vertex.

RECOVERY_REQUEST

AEM forwards a recovery request to the AMOS SEM endpoint.

RESTORE_REDUNDANCY

The architectural objective is to restore available service capacity through managed recovery.

Successful replacement requires runtime evidence beyond this application source review.

> DIGITAL_GENOME

The uploaded application includes a Digital Genome application definition and graph schema. These describe software components, application knowledge and relationships within the distributed application.

A subsequent interactive explorer will expose the schema structure and its relationship to application operation and recovery.

> RELATIONSHIP_TO_AMOS

AMOS_VOD is an example application intended for management by AMOS. It is not the AMOS platform itself.

The application explores how operational knowledge and failure events can participate in the management of distributed software services.

[ EXPLORE THE AMOS PLATFORM ]

> VIDEO_DEMONSTRATION_ARCHIVE

Recorded demonstration of the AMOS-based Video on Demand application.

DEMO_01 APPLICATION_RECORDING

VIDEO_DEMO_01 // READY

DEMONSTRATION_01 // APPLICATION_RESILIENCE

This recording presents the AMOS-based Video on Demand application, focusing on live backend migration and service recovery.

LIVE_MIGRATION FAULT_TOLERANCE SERVICE_RECOVERY AMOS

The recording is separate from the interactive synthetic simulations below. No live cloud infrastructure is controlled by this portfolio page.

> VOD_ARCHITECTURE_ENGINE

SOURCE_INFORMED_TOPOLOGY

Explore the application services, streaming paths, event relationships and external recovery interface. Select a component to inspect its operational role.

━━ STREAMING ━━ APPLICATION ┄┄ EVENTS ━━ RECOVERY

TOPOLOGY_READY

Five application service types are represented. Two Video_Server instances illustrate a redundant deployment. The browser, AWS S3, TigerGraph and AMOS SEM are supporting or external components. Animated connections represent conceptual communication, not measured network traffic.

> LIVE_MIGRATION_ENGINE

Inject a video server failure during simulated streaming and observe how delivered byte offsets, backend selection and HTTP Range continuation participate in service continuity.

MODE: SYNTHETIC_OPERATIONAL_SIMULATION

USER_BROWSER VIDEO_PROXY OFFSET: 0 VIDEO_SERVER_01 READY VIDEO_SERVER_02 STANDBY AEM: MONITORING
STREAM_STATE
READY
ACTIVE_BACKEND
NONE
DELIVERED_BYTES
0
MIGRATION_COUNT
0
DELIVERY_PROGRESS 0%
ILLUSTRATIVE_PLAYBACK_BUFFER 0%
PLAYBACK: IDLE
HTTP_REQUEST_INSPECTOR
AWAITING_STREAM
HTTP_RESPONSE_INSPECTOR
NO_RESPONSE
MIGRATION_EVENT_HISTORY

SIMULATION_READY

All byte counts, timing intervals, buffer levels and HTTP responses are synthetic. No video backend or cloud resource is contacted. The invalid Range scenario demonstrates a proposed defensive validation requirement, not verified production behavior.

> SERVICE_RECOVERY_ENGINE

Live migration transfers streaming responsibility. Service recovery addresses the failed component and attempts to restore operational redundancy. These are distinct but complementary processes.

MODE: SYNTHETIC_RECOVERY_SIMULATION

FAILURE_EVENT_SOURCE
AWAITING_EVENT

Inject a failure in the Live Migration Engine above to automatically initialize recovery, or generate a standalone synthetic event.

RECOVERY_PENDING
RECOVERY_STATE
MONITORING
AVAILABLE_INSTANCES
2/2
RECOVERY_REQUESTS
0
STREAM_CONTINUITY
NOT_OBSERVED
RECOVERY_PROGRESS 0/6
RECOVERY_LIFECYCLE
SYNTHETIC_KNOWLEDGE_STATE


    
RECOVERY_REQUEST_INSPECTOR
NO_REQUEST
RECOVERY_RESULT
AWAITING_FAILURE_EVENT
RECOVERY_EVENT_HISTORY

RECOVERY_ENGINE_READY

Graph changes, request payloads, replacement instances and verification results are simulated. The recovery request inspector uses an illustrative payload, not the verified production SEM contract. No TigerGraph, AWS, Docker or AMOS operation is executed.

> DIGITAL_GENOME_EXPLORER

Explore the original Rao VOD schema: 5 vertex types, 10 undirected edge types and 432 vertex attribute declarations. This is a schema definition, not a live database.

AWAITING_SIMULATION

CONNECTED_EDGE_TYPES

ATTRIBUTETYPE

Source: yaml_files copy/schemas/rao_vod_schema.yaml. Attribute names and types are reproduced exactly, including legacy naming. No attribute values, customer records or credentials are included. External infrastructure is not a vertex type in this schema.

> EVENT_MONITOR

Observe the synthetic application lifecycle across migration, recovery and architecture transitions. Events are ordered by browser receipt, not distributed-system timestamps.

RECEIVED0
MIGRATION0
RECOVERY0
TRANSITIONS0

AWAITING_EVENTS

EVENT_TIMELINE

PAYLOAD_INSPECTOR

SELECT_AN_EVENT

Browser-local synthetic telemetry only. Up to 500 recent entries retained in memory. Channel counts include related notifications and transitions, not unique operational incidents. Reset events are recorded as markers; clearing this monitor does not reset other engines. Pausing freezes the view while capture continues. Export saves retained synthetic events only.

> RESEARCH_NARRATIVE

Autopoietic distributed applications: delivery continuity, knowledge representation and service recovery.

05VERTEX_TYPES
10EDGE_TYPES
432ATTRIBUTE_DECLARATIONS

SOURCE_REVIEW // Prototype implementation, conceptual framing and synthetic demonstrations are distinguished below.

01 // RESEARCH_MOTIVATION

Distributed video delivery depends on the availability of multiple cooperating services. AMOS_VOD explores how an application can respond to a failed delivery backend while maintaining a logical client-facing interface. The research separates immediate continuity of delivery from the longer-term restoration of redundant capacity.

02 // THEORETICAL_FOUNDATION

The research is motivated by Mark Burgin’s General Theory of Information and the Digital Genome approach developed by Burgin and Rao Mikkilineni. In this framing, structural knowledge describes components and relationships, while operational knowledge describes actions and outcomes. Autopoiesis is a design inspiration for self-maintenance, not a claim that this prototype is a biological or fully autonomous system.

03 // APPLICATION_ARCHITECTURE

The supplied application source separates UI, Customer, Session, Video_Server and AEM services. The UI mediates video requests; Customer and Session support user and session workflows; Video_Server retrieves and serves media associated with AWS S3; AEM receives operational events and coordinates failure reporting. TigerGraph represents application knowledge, while AMOS SEM is an external recovery interface. Multiple video server instances are an architectural configuration, not additional schema vertex types.

04 // LIVE_MIGRATION

The active UI /video-proxy implementation discovers candidate video endpoints and forwards HTTP Range requests. Its streaming generator tracks bytes yielded by the proxy. On a request exception it attempts continuation from the incoming starting offset plus bytes yielded, using an alternate backend. Here live migration means switching delivery backends, not migrating a running process, virtual machine or container. The mechanism is implemented in source; uninterrupted playback is not established by source inspection.

05 // AUTOPOIETIC_RECOVERY

The AEM /video-server-failed handler looks up a Video_Server vertex by deployment URL, attempts to delete that vertex and sends a recovery request to the SEM endpoint. This connects failure observation to application knowledge maintenance and a management request. The supplied handler does not establish successful replacement deployment or restored redundancy. The portfolio recovery simulator illustrates those desired later stages, including failure branches.

06 // DIGITAL_GENOME

The supplied rao_vod_schema.yaml declares five vertex types, ten undirected edge types and 432 vertex attribute declarations. The schema represents service identity, deployment information, management relationships and operational knowledge. Input, action, output and outcome fields provide a vocabulary for describing service behavior. Schema declarations alone do not establish that every field is populated or enforced at runtime.

07 // EVENT_DRIVEN_INTELLIGENCE

Application services report events to AEM, including video and failure events. The source includes an event ingestion endpoint; its coherence-validation call is commented out, so enforced protocol validation is not claimed. The portfolio Event Monitor instead captures synthetic browser events from the migration and recovery engines. It is not connected to the actual application event stream or a durable audit ledger.

08 // RELATIONSHIP_TO_AMOS

AMOS_VOD is an example application intended to be managed by AMOS, not the AMOS platform itself. The application-specific AEM and delivery logic remain distinct from platform management responsibilities. The recovery request illustrates a boundary between application knowledge and management services. Independent deployment and provider flexibility are architectural objectives, not demonstrated cross-cloud migration results.

09 // TECHNICAL_CONTRIBUTIONS

The prototype combines a client-facing streaming proxy, alternate-backend selection, byte-offset continuation, graph-based service identity and a recovery request interface. The portfolio adds interactive architecture, migration, recovery, schema and event visualizations to explain these mechanisms. These are engineering contributions and research directions, not independently benchmarked performance or novelty claims.

10 // LIMITATIONS_AND_FUTURE_RESEARCH

Future experiments should measure interruption duration, playback continuity, recovery latency and restored capacity under controlled failures. The current proxy needs stronger validation of alternate response status, Content-Range, identical media content and bounded range requests; repeated alternate failures also need review. Recovery requires verified SEM outcomes, reconciliation and safe graph updates. The recording and synthetic engines do not establish production readiness, security certification, zero downtime or successful cross-cloud redeployment.

Source basis: supplied VOD application archive, UI/main.py, AEM/main.py and yaml_files copy/schemas/rao_vod_schema.yaml. No live infrastructure or customer records are accessed by this narrative.

> RESEARCH_BOUNDARIES

Research and engineering prototype. Live migration refers to application-level transfer of streaming responsibility, not migration of an entire running virtual machine or container memory state.

The source implements failover and recovery request mechanisms. Zero-interruption playback, measured recovery times, successful replacement deployment and cross-cloud migration are not independently established by this static source review.

This portfolio page does not connect to the VOD backend, modify cloud resources or execute recovery operations.

Type 'help' to list available commands.