Coder Social home page Coder Social logo

atreus's Introduction

Atreus

English | 中文

Atreus is a high-concurrency and high-performance short video microservice application server built with Kratos.

  • high-performance: Use redis for high performance and high speed reads at the memory level. Uses minio for millisecond upload storage.
  • high-concurrency: Use Kafka as an efficient asynchronous message processing tool to improve system throughput and stability.

Project Structure

Atreus is refer to Kratos Layout. The design concept is based on DDD.

❯ tree -L 1
.
├── LICENSE
├── README.md
├── README_cn.md
├── _data           // store all services and component data.
├── api             // `.proto` API files and the `pb.go` files which generated.
├── app             // services implements
├── configs         // configuration files for docker.
├── docker
├── third_party     // third_party proto  for api dependencies
├── pkg             // third-party and universal packages
├── middleware      // custom middleware
├── docs
├── Makefile
├── make
├── go.mod
└── go.sum

App structure

.
├── cmd             // the entry point of the services
│   ├── main.go
│   ├── wire.go     // wire library is for dependency injection
│   └── wire_gen.go
├── configs         // configuration files for local development.
└── internal        // business logic implements
    ├── biz         // the layer for composing business logics.
    ├── conf        // the structure for configuration parsing, generated from .proto file
    ├── data        // for accessing data sources.
    ├── server      // the creation of http and grpc instance.
    └── service     // the service layer which implements API definition.

Tech Stack

Get Started

We build the project in Docker. You just run the following command:

make docker-compose-up

Attation! You need change the value of field endpointExtra in minio configation to your local host ip. File in /configs/service/publish/config.yaml.

How to Contribute

Read issue first. You can view more details to contribute.

Contributors

License

Atreus is open-sourced software licensed under the Apache License 2.0.

atreus's People

Contributors

alilestera avatar dyamidsteve avatar firwoodlin avatar intyouss avatar li1mo0n avatar mo3et avatar youzi-nya 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.