Git Product home page Git Product logo

apollo's Introduction

Apollo Delphinius

The Apollo Delphinius project is a distibuted system platform. The underlying membership of Apollo is managed by the Fireflies secure communication overlay. The consensus layer is supplied by an async bft consensus protocol. At the top is a largely JDBC connectable replicated SQL machine, supported by checkpointed CHOAM linear logs.

Requirements

Apollo requires the JDK 17+ and Maven 3.8.1 and above

Some Features

  • Compact, self contained Crypto and Utility module - Self certifying, self describing Digests, Signatures and Identifiers
  • Stereotomy - Decentralized Identifier based foundation, based on Key Event Receipt Infrastructure (KERI).
  • MTLS network communication - Local communication simulation, also, for simplified multinode simulation for single process (IDE) testing
  • Multi instance GRPC service routing - Context keyed services and routing framework
  • Fireflies - byzantine tolerant secure membership and communications overlay
  • Reliable Broadcast - garbage collected, context routed reliable broadcast
  • Ethereal: Aleph BFT Consensus - Efficient atomic broacast in asynchronous networks with byzantine nodes
  • CHOAM - dynamic, committee based, transaction causal ordering service producing linear logs - distributed ledgers. Built on Ethereal.
  • SQL State - JDBC accessible SQL store backed materialized view evolved from CHOAM linear logs. Supports DDL, DML, Stored Procedures, functions.
  • Delphinius - Google Zanzibar RBAC clone. Provides RBAC for CHOAM SQL state machines.

Not A Coin Platform(tm)

Apollo isn't designed for coins, rather as essentially a distributed database. Of course the systems of Apollo can be used for such, the design goals are much different. Thus, no coins for you.

WIP

Note that Apollo Delphinius is very much a work in progress. There is not yet an official release. Thus, it is by no means a full featured, hardened distributed ledger platform. I am a strong believer in iterative development and believe it is the only way to create robust systems.

Requirements

Apollo is a pure Java application The build system uses Maven, and requires Maven 3.8.1+. The Maven enforcer plugin enforces dependency convergance and Apollo is built using Java 17.

Apollo is a multi module Maven project. This means that the various modules of Apollo are built and versioned as a whole, rather than being seperated out into individual repositories. This also means that modules refer to other modules within the project as dependencies, and consequently must be built in the correct order. Note that Maven does this by default, so there should be no issues. However, it does mean that you can't simply cd into a module and build it without building its dependencies first.

Building

To build Apollo, cd to the root directory of the repository and then do:

mvn clean install

Note that the install maven goal is required, as this installs the modules in your local repository for use by dependent modules within the rest of the build. You must have invoked maven on the Apollo project root with the "install" goal at least once, to correctly build any arbitrary submodule.

Builing on Apple M1

I develop on an M1 MBP, and there is (currently) no protoc-gen-grpc-java for the M1 platform. If you also build on the M1, until this issue is resolved by essentially using the intel for the arm classivier. For a simply work around, see this comment. This works by using the maven settings.xml to hardwire the classifier to intel. Worked well for me ;)

Current Status

Currently, the system is in heavy devlopment. Fundamental identity and digest/signature/pubKey encodings has been integrated. Apollo is now using Aleph-BFT instead of Avalanche for consensus, in the form of the Ethereal module. CHOAM has now replaced Consortium, and the SQL replicated state machine now uses CHOAM for it's linear log and transaction model.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.