https://github.com/module-federation/aegis
Module federation for the backend. Aegis core lib. Regain control of your microservices by consolidating them into one or more shared processes without loosing deployment or language independence. Eliminate the need for deployment automation. Let services deploy themselves.
https://github.com/module-federation/aegis
fabric federated-deployment fractal-architecture hexagonal-architecture microservice-framework module-federation network-overlay runtime-binding self-deploying self-forming service-mesh streaming-software webassembly zero-install
Last synced: 8 months ago
JSON representation
Module federation for the backend. Aegis core lib. Regain control of your microservices by consolidating them into one or more shared processes without loosing deployment or language independence. Eliminate the need for deployment automation. Let services deploy themselves.
- Host: GitHub
- URL: https://github.com/module-federation/aegis
- Owner: module-federation
- License: apache-2.0
- Created: 2021-03-18T00:49:18.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-30T07:09:48.000Z (about 2 years ago)
- Last Synced: 2024-10-29T14:22:21.705Z (over 1 year ago)
- Topics: fabric, federated-deployment, fractal-architecture, hexagonal-architecture, microservice-framework, module-federation, network-overlay, runtime-binding, self-deploying, self-forming, service-mesh, streaming-software, webassembly, zero-install
- Language: JavaScript
- Homepage:
- Size: 3.07 MB
- Stars: 147
- Watchers: 6
- Forks: 14
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-projects - aegis - Module federation for the backend. Aegis core lib. Regain control of your microservices by consolidating them into one or more shared processes without loosing deployment or language independence. Eliminate the need for deployment automation. Let services deploy themselves. ⭐147 `JavaScript` (📦 Legacy & Inactive Projects)
README
[![NPM version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![Gitpod][gitpod-image]][gitpod-url]
# ÆGIS
See the [aegis-host](https://github.com/module-federation/aegis-host) repo for documentation and a working example of a federation server.
## Consolidate your microservices
(by running them together in a single process)
- for decreased footprint,
- better performance and
- simpler operations
_without loosing_
- deployment independence,
- language independence
- or component independence (i.e. components remain decoupled)
## Or distribute your components
(across a self-forming service mesh)
- dynamically and adaptively
- outside the datacenter and beyond the edge
_with_
- non-functional, boilerplate code done for you
- dynamically generated APIs and datasources
- transparent integration and persistence
- distributed worklow
- distributed cache
- multithreaded design to integrate I/O and CPU-bound workloads
- shared memory for efficient processing across threads
- fast streaming based on Async I/O supporting DDS and QUIC protocols
- in-process, self-forming service mesh supporting data federation and other application services.
- autonomous self-administration (e.g. CA certs provisioned/renewed programmatically)
- exhaustive portability: Aegis can run as a server, cluster, or serverless function, in the datacenter, at the edge, and beyond (browser, phone, drone, pi, eventually arduino)
- and capabilities that enhance the development experience
- self-deployment (deploy in seconds to any compute primitive: serverless, container, IoT, etc)
- runtime binding and hot reload (e.g. add new functionality on the fly, switch from on-prem to cloud live)
- zero downtime, zero installation, independent deployment--even for components running in the same process
- Polyglot, portable, containerless, sandboxed, AoT-compiled modules run safely anywhere, at native speeds
- decentralized, scalable, "tessellated" hexagonal architecture
### And do it all without deployment automation
You don't need that anymore.
---
## Getting started
### Install [
](https://www.npmjs.com/package/@module-federation/aegis)
Install just the core lib from NPM:
```shell
npm i @module-federation/aegis
```
### Contribute
Open a Gitpod workspace using a local repo:
[](https://gitpod.io/github.com/module-federation/aegis-app)
or
Manually install using Github as a repo.
```shell
git clone https://github.com/module-federation/aegis
cd aegis
yarn
yarn build
yarn link
cd ..
git clone https://github.com/module-federation/aegis-host
cd aegis-host
yarn
yarn link "@module-federation/aegis"
cd webpack/remote-entries
cp index-github.js index.js
yarn build
yarn start
yarn demo
```
---
### Learn
[](https://youtu.be/jddhfLA_2k0 'Aegis Overview')
# Roadmap
- More WebAssembly features
- Run on WasmEdge
- Run in the browser
- Run on Arduino
- Addtional service mesh plugins.
- Support ROS2/DDS for low-latency IoT networks
- Web Bluetooth Low Energy adapter
- Point cloud support for LiDAR integration
- PyNode - Python on Node - interpreted, not transpiled
- Support for QUIC, NDI, WebRTC protocols
- Addt'l datasource adapters: Graph, Blockchain, Solid Pod, timeseries
- Adaptive Deployment (AIOps based dynamic infra)
- Data privacy based on Zero Knowledge Proofs
- OCI wrapper for wasm-based runtime
- Federated Module Attestation
- Smart Scaffolding
- Application-based Sharding
- Passwordless authentication
- [Medusa](https://github.com/module-federation/medusa) integration
[npm-image]: http://img.shields.io/npm/v/@module-federation/aegis.svg
[npm-url]: https://npmjs.org/package/@module-federation/aegis
[downloads-image]: https://img.shields.io/npm/dm/@module-federation/aegis
[downloads-url]: https://npmjs.org/package/@module-federation/aegis
[gitpod-image]: https://img.shields.io/badge/Gitpod-ready--to--code-908a85?logo=gitpod
[gitpod-url]: https://gitpod.io/github.com/module-federation/aegis-app