Develop edge-native applications with Azion

Enhance application performance, reduce latency, tighten your security, and improve scalability using data storage and processing at the edge, closer to the end user.

Azion provides services and products to craft robust API-based applications with a front-end, hosted entirely in the edge-native computing environment. The resultant application boasts premier performance, scalable capabilities, and reliable data transactions.


Edge-Native Applications Architecture

Edge-native applications architecture

Dataflow

  1. The user starts an application using a JavaScript template hosted on Azion’s edge computing platform.
  2. The code is adjusted to trigger both Front-End and Back-End Applications within the edge system. The application interfaces directly with API routes for data and command exchange.
  3. The API communication utilizes functions from Azion Lib, which control the communication with the Edge SQL database.
  4. Azion Lib interacts with the Azion Edge SQL Database for operations like data retrieval, addition, update, or deletion.
  5. The Azion Edge SQL Database uses parallel and synchronized data replicas for data resilience, distributing stored data.

The edge application, via the Azion Lib, ultimately returns a response containing the result of the data operations.


Components

  • Edge Application: this component allows delivery and cache policy configuration, automatic cache policy assignment via rules based on content type, and determines content caching.
    • Edge Functions: these are serverless, event-driven applications at the network’s edge that accommodate your application’s logic, including CRUD operations.
    • Edge SQL: this serverless SQL solution, built natively for the edge, performs database operations of your CRUD application with lower latency.
  • Azion CLI: an open-source command-line interface (CLI) that allows interaction with Azion Edge Platform using a terminal.
  • Azion Lib: a suite of tools to interact with various Azion services, including products and utilities.
  • Azion Console: the interface where you can access all the available products and their settings.

Implementation

  1. Create a new application via Azion CLI or Azion Console using a JavaScript template.
  2. Adapt the code for the interaction with Edge SQL through Azion Lib.
  3. Deploy the application.
  4. Access the provided domain and test your edge application.


Contributors