Coder Social home page Coder Social logo
MaggregorCache light

Maggregor Build Maggregor Code Coverage

Architecture

Maggregor Architecture

Quick start

Docker-compose

Prerequisites

Before you begin, make sure you have the following software installed on your machine:

Getting Started

To get started, follow these steps:

  • Clone the repository containing the docker-compose.yml file to your local machine.
  • Navigate to the directory where the docker-compose.yml file is located.
  • Open a terminal or command prompt in that directory.
  • Run the following command to start the Docker containers:
docker-compose up

Configuration

The docker-compose.yml file defines three services: mongodb-target, mongodb-metadata, and maggregor. Each service is configured with its own settings, such as image name, container name, ports, and environment variables.

Environment Variable Description
PROXY_PORT The port number on which the maggregor server will listen for incoming proxy requests to MongoDB.
HTTP_PORT The port number on which the maggregor server will listen for HTTP requests for API and UI.
MONGODB_TARGET_URI The URI of the target MongoDB server to which the requests will be forwarded.
MONGODB_METADATA_URI The URI of the MongoDB server where metadata used by maggregor will be used (optional).

You can configure the application by modifying the docker-compose.yml file according to your requirements. For example, you can change the port mappings or update the environment variables to connect to your own MongoDB instances.

Directory Structure

Directory Description
src/core The core database package (cached aggregations)
src/parser A MongoDB aggregation query parser
src/server Proxy the MongoDB Wire Protocol and intercepts Aggregation Pipeline queries

Maggregor's Projects

mv-manager-sse icon mv-manager-sse

Achilio Server Sent Events - Listening Google Pub/Sub topics and broadcastings to end-user web app.

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.