All Projects → OpenDroneMap → ClusterODM

OpenDroneMap / ClusterODM

Licence: AGPL-3.0 license
A NodeODM API compatible autoscalable load balancer and task tracker for easy horizontal scaling ♆

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ClusterODM

PyODM
A Python SDK for adding aerial image processing capabilities to your applications 🔌
Stars: ✭ 70 (+29.63%)
Mutual labels:  odm, nodeodm
monogram
Aspect-oriented layer on top of the MongoDB Node.js driver
Stars: ✭ 76 (+40.74%)
Mutual labels:  odm
Mongolid Laravel
Easy, powerful and ultrafast MongoDB ODM for Laravel.
Stars: ✭ 222 (+311.11%)
Mutual labels:  odm
jsonOdm
A JSON ODM (object document mapper) for JavaScript to use on the server or in the browser.
Stars: ✭ 95 (+75.93%)
Mutual labels:  odm
Odmantic
Async ODM (Object Document Mapper) for MongoDB based on python type hints
Stars: ✭ 240 (+344.44%)
Mutual labels:  odm
moongoon
An object-document mapper for MongoDB. 🌙
Stars: ✭ 41 (-24.07%)
Mutual labels:  odm
Mongodm
A golang object document mapper (ODM) for MongoDB
Stars: ✭ 178 (+229.63%)
Mutual labels:  odm
DoctrineMongoODMModule
Laminas Module for Doctrine MongoDB ODM
Stars: ✭ 83 (+53.7%)
Mutual labels:  odm
mongu
🌱 Yet another Python Object-Document Mapper on top of PyMongo. It's lightweight, intuitive to use and easy to understand.
Stars: ✭ 15 (-72.22%)
Mutual labels:  odm
petstore
A simple skeleton to build api's based on the chubbyphp-framework, mezzio (former zend-expressive) or slim.
Stars: ✭ 34 (-37.04%)
Mutual labels:  odm
derivejs
DeriveJS is a reactive ODM - Object Document Mapper - framework, a "wrapper" around a database, that removes all the hassle of data-persistence by handling it transparently in the background, in a DRY manner.
Stars: ✭ 54 (+0%)
Mutual labels:  odm
xenus
A simple and elegant MongoDB ODM
Stars: ✭ 32 (-40.74%)
Mutual labels:  odm
mars
Mars - ODM Framework for MongoDB (MongoDB ODM Java )
Stars: ✭ 35 (-35.19%)
Mutual labels:  odm
Php Mongo
MongoDB ODM. Part of @PHPMongoKit
Stars: ✭ 228 (+322.22%)
Mutual labels:  odm
marpat
A class-based ES6 ODM for Mongo-like databases.
Stars: ✭ 18 (-66.67%)
Mutual labels:  odm
Ts Mongoose
Automatically infer TypeScript interfaces from mongoose schemas🙀
Stars: ✭ 188 (+248.15%)
Mutual labels:  odm
php-mongo-migrator
Migrations of MongoDB. Part of @PHPMongoKit
Stars: ✭ 29 (-46.3%)
Mutual labels:  odm
lodm
ODM with inheritance and OOP composition for Laravel 5+
Stars: ✭ 22 (-59.26%)
Mutual labels:  odm
lounge
Simple Mongoose-inspired ODM for Couchbase.
Stars: ✭ 27 (-50%)
Mutual labels:  odm
Ming
MongoDB ODM (Object Document Mapper) with Unit of Works, IdentityMap, Relations and Mongo-In-Memory implementation
Stars: ✭ 19 (-64.81%)
Mutual labels:  odm

ClusterODM

A reverse proxy, load balancer and task tracker with optional cloud autoscaling capabilities for NodeODM API compatible nodes. In a nutshell, it's a program to link together multiple NodeODM API compatible nodes under a single network address. The program allows to distribute tasks across multiple nodes while taking in consideration factors such as maximum number of images, queue size and slots availability. It can also automatically spin up/down nodes based on demand using cloud computing providers (currently DigitalOcean, Hetzner, Scaleway or Amazon Web Services).

image

The program has been battle tested on the WebODM Lightning Network for quite some time and has proven reliable in processing thousands of datasets. However, if you find bugs, please report them.

Installation

The only requirement is a working installation of NodeJS 14 or earlier (ClusterODM has compatibility issues with NodeJS 16 and later).

git clone https://github.com/OpenDroneMap/ClusterODM
cd ClusterODM
npm install

There's also a docker image available at opendronemap/clusterodm and a native Windows bundle.

Usage

First, start the program:

node index.js [parameters]

Or with docker:

docker run --rm -ti -p 3000:3000 -p 8080:8080 opendronemap/clusterodm [parameters]

Then connect to the CLI and connect new NodeODM instances:

telnet localhost 8080
> HELP
> NODE ADD nodeodm-host 3001
> NODE LIST

Finally, use a web browser to connect to http://localhost:3000. A normal NodeODM UI should appear. This means the application is working, as web requests are being properly forwarded to nodes.

You can also check the status of nodes via a web interface available at http://localhost:10000.

See node index.js --help for all parameter options.

Autoscale Setup

ClusterODM can spin up/down nodes based on demand. This allows users to reduce costs associated with always-on instances as well as being able to scale processing based on demand.

To setup autoscaling you must:

You can then launch ClusterODM with:

node index.js --asr configuration.json

You should see the following messages in the console:

info: ASR: DigitalOceanAsrProvider
info: Can write to S3
info: Found docker-machine executable

You should always have at least one static NodeODM node attached to ClusterODM, even if you plan to use the autoscaler for all processing. If you setup auto scaling, you can't have zero nodes and rely 100% on the autoscaler. You need to attach a NodeODM node to act as the "reference node" otherwise ClusterODM will not know how to handle certain requests (for the forwarding the UI, for validating options prior to spinning up an instance, etc.). For this purpose, you should add a "dummy" NodeODM node and lock it:

telnet localhost 8080
> NODE ADD localhost 3001
> NODE LOCK 1
> NODE LIST
1) localhost:3001 [online] [0/2] <version 1.5.1> [L]

This way all tasks will be automatically forwarded to the autoscaler.

A docker-compose file is available to automatically setup both ClusterODM and NodeODM on the same machine by issuing:

docker-compose up

Windows Bundle

ClusterODM can run as a self-contained executable on Windows without the need for additional dependencies. You can download the latest clusterodm-windows-x64.zip bundle from the releases page. Extract the contents in a folder and run:

clusterodm.exe

Roadmap

We have plenty of goals. If you want to help, or need help getting started contributing, get in touch on the OpenDroneMap community forum.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].