Giter Site home page Giter Site logo

antikythera's Introduction

Antikythera Framework

hex badge

Antikythera is an Elixir framework to build your own in-house PaaS (Platform as a Service).

You can run multiple web services while managing only a single cluster of ErlangVM nodes. From the viewpoint of service developers antikythera provides FaaS(Function as a Service)-like development experiences.

Note: Antikythera is already used in production at ACCESS, though as an OSS, it is still in early development stage and missing many components. Please be aware of that, and stay tuned for further additions!

Features

  • As a platform for multiple services:
    • Resource control for multi-service and multi-tenant use cases
    • Automated deployment without affecting other running services
    • Built-in logging, monitoring and configuration management
    • Service-to-service communications without network overhead
  • As a web framework:
    • HTTP request processing with arbitrary Elixir code with WebSocket support
    • Domain-based routing for multiple services; path-based routing within single service
    • CDN support for static contents, HAML template for dynamic web pages
  • As an asynchronous job executor:
    • Built-in distributed job queues
    • Running arbitrary Elixir code for each job

Basic architecture

Antikythera Architecture

  • We refer to each antikythera cluster as an "antikythera instance", and each web service running within an antikythera instance as a "gear".
  • Antikythera is heavily dependent on the power of ErlangVM.
    • Antikythera is written in Elixir, and all gears must also be written in Elixir.
  • Multiple gears are co-located and executed within the same ErlangVMs of an antikythera instance.
    • This type of co-location of multiple applications are sometimes referred to as "nano-services architecture".
    • This way we can eliminate the infrastructure/operational cost for having multiple web application stacks.
    • Also, inter-service communications in a micro-services architecture become gear-to-gear communications in this nano-services architecture. Unlike micro-services architecture, it doesn't require network roundtrip as all gears are running within a single ErlangVM, resulting in lower communication overhead.
    • Although gears share the same computing resources, they are executed in an independent manner thanks to the Erlang's process model.
    • Antikythera instance and its gears are all separate mix projects.
      • Developers of different gears can work on their own projects, independently.
      • Library dependencies are defined per-antikythera-instance, and all gears inherit those dependencies.

Getting Started

See our Getting Started guide!

Documentation

Contributing

We encourage you to contribute to antikythera! Please check out our Contributing Guide.

For both core and gear development, please make use of our Style Guide.

Copyright(c) 2015-2019 ACCESS CO., LTD. All rights reserved.

Antikythera source code is licensed under the Apache License version 2.0.

antikythera's People

Contributors

adaichiota avatar amasakitakahashi avatar anobuhisamasaki avatar irista56 avatar s417-lama avatar sekit avatar toyoaki-k avatar ttokit avatar ymtszw avatar

Watchers

 avatar  avatar

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.