All Projects → habitissimo → myaas

habitissimo / myaas

Licence: LGPL-3.0 license
Fresh Mysql instances for your developers in seconds

Programming Languages

python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to myaas

Pg rman
Backup and restore management tool for PostgreSQL
Stars: ✭ 197 (+657.69%)
Mutual labels:  backup
Docker Gphotos Sync
A Docker image for synchronizing your original-quality Google Photos
Stars: ✭ 241 (+826.92%)
Mutual labels:  backup
htmlhost
hostHTML.live is downright the fastest way of hosting your single page HTML!
Stars: ✭ 21 (-19.23%)
Mutual labels:  live
Consul Backinator
Command line Consul backup and restore utility supporting KVs, ACLs and Queries
Stars: ✭ 206 (+692.31%)
Mutual labels:  backup
Backup And Recovery Howtos
Guides to setting up a media storage system, backing it up, and recovering from failures
Stars: ✭ 235 (+803.85%)
Mutual labels:  backup
Go Mydumper
A multi-threaded MySQL backup and restore tool, faster than mysqldump
Stars: ✭ 250 (+861.54%)
Mutual labels:  backup
Walrus
🔥 Fast, Secure and Reliable System Backup, Set up in Minutes.
Stars: ✭ 197 (+657.69%)
Mutual labels:  backup
virt-backup
Fully backup your KVM Virtual Machines
Stars: ✭ 27 (+3.85%)
Mutual labels:  backup
Photos
[DEPRECATED] Encrypted, secure, decentralized personal data wallet -- technology behind textile.photos
Stars: ✭ 236 (+807.69%)
Mutual labels:  backup
borg-rclone-autobackup
Easily automate backups using Borg + RClone
Stars: ✭ 25 (-3.85%)
Mutual labels:  backup
Rsync Time Backup
Time Machine style backup with rsync.
Stars: ✭ 2,572 (+9792.31%)
Mutual labels:  backup
Duplicacy Autobackup
💾 Painless automated backups to multiple storage providers with Docker and duplicacy.
Stars: ✭ 214 (+723.08%)
Mutual labels:  backup
Elkarbackup
Open source backup solution for your network
Stars: ✭ 247 (+850%)
Mutual labels:  backup
Dmarchiver
A tool to archive the direct messages, images and videos from your private conversations on Twitter
Stars: ✭ 204 (+684.62%)
Mutual labels:  backup
piratcloud
an ipfs-based encrypted backup solution
Stars: ✭ 20 (-23.08%)
Mutual labels:  backup
Xlog
Android logger, pretty, powerful and flexible, log to everywhere, save to file, all you want is here.
Stars: ✭ 2,468 (+9392.31%)
Mutual labels:  backup
Bivac
🏕 📦 Backup Interface for Volumes Attached to Containers
Stars: ✭ 245 (+842.31%)
Mutual labels:  backup
sicksync
Don’t accept the available as the preferable. Go the extra mile with extra speed.
Stars: ✭ 67 (+157.69%)
Mutual labels:  backup
OBS Settings Manager
Backup your OBS Studio profiles and manage them in an easy, user friendly way.
Stars: ✭ 20 (-23.08%)
Mutual labels:  backup
mysql-backup-golang
Mysql backup golang
Stars: ✭ 25 (-3.85%)
Mutual labels:  backup

Docker Build Statu Docker Pulls Docker Automated buil

MyAAS (Mysql As A Service)

This product has been developed internally at habitissimo for allowing developers to get the database instances they need for development as fast as possible.

What this project does

This project consists on a service which will import a collection of databases periodically. This databases become templates for the final users.

An user can ask for a database instance from any template available and have it fully functional and loaded with data within seconds, no matter how big is the database, this databases can be destroyed at any moment to request a new instance with fresh data.

Speed

The main concern we where having in our development process was importing database backups in our development instances, loading this backups by tradicional means (importing a mysqldump file) could take almost an hour, we could use other metohds like innobackupex, but this would mean developers had to download huge files (even with compression) trading speed in import time by slownes in download time.

This solution is being used to provide a variety of databases ranging from a few megabytes up to several gigabytes, all of them are provisioned within seconds (something between 3 or 5 seconds).

How it works

You put your sql backups in a folder and run the updater command, this will import the databases and prepare them as templates. This is the slow part, we run it at nights so developers can have acces to yesterday's data in the morning.

The backups are loaded into a dockerized mysql instance, this docker container binds the datadir to a host volume stored on a filesystem with Copy On Write support.

Once the templates have been loaded the script stops the template database instances.

Every time a user asks for a new database the service performs a copy on write from the template to a new directory, this directory is mounted as a volume for a new mysql docker instance launched for this user. As the operation is performed against a COW filesystem the operation is both fast and space efficient.

Finally the service responds with access data required to use the database.

What you will find here:

TODO

  • Use docker volume API instead of hacking arround with volume bindings
  • Create adapters for postgresql and mongodb
  • Update testsuite, broken after refactoring

Extendibility

MyAAS has been designed with mysql in mind, but the implementation is database agnostic and can be adapted easily to work with any type of database which stores data in disk.

Look for MysqlDatabase adapter to have an idea of how easy is to support new databases, you just need to extend AbstractDatabase and define a few properties.

Support

If you have problems using this service open an issue.

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].