Skip to content

aksaharan/mlightning

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mLightning

mLightning

mlightning is a tool designed to quickly load data into MongoDB sharded clusters.

Written in C++, it requires the following to compile:

  • C++11 support (gcc 4.8.2)
  • mongo-cxx-driver using the legacy branch, -std=c++11 is required.
  • boost - program options, system, regex, thread, chrono and filesystem. Boost 1.55 in known to work, earlier versions may work, but this hasn't been tested.
  • scons (and therefore python)
  • tcmalloc (optional)

This program has been verified to compile on Ubuntu 14.04 with gcc 4.8.2 (standard on ubuntu)

gcc on Ubuntu 14.04

sudo apt-get install gcc

tcmalloc on Ubuntu 14.04

sudo apt-get install libtcmalloc-minimal4
cd /usr/lib
sudo ln -s libtcmalloc.so.4 libtcmalloc.so

Scons on Ubuntu 14.04

sudo apt-get install scons duplicity

Boost on Ubuntu 14.04

sudo apt-get install libboost-all-dev

MongoDB C++ Driver

To compile and install the mongo C++ driver (assuming installing into /usr/local is desired):

git clone https://github.com/mongodb/mongo-cxx-driver.git
cd mongo-cxx-driver
sudo scons -j16 --opt=on --c++11 --prefix=/usr/local install

mLightning

scons

To compile mlightning with tcmalloc:

scons --allocator=tcmalloc

Help

mlightning -h

Disclaimer

This software is not supported by MongoDB, Inc. under any of their commercial support subscriptions or otherwise. Any usage of mtools is at your own risk. Bug reports, feature requests and questions can be posted in the Issues section here on github.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.6%
  • C 6.6%
  • Python 1.8%