JVercout / microservices-webpy

Microservices Framework (webpy, celery)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microservices Framework

Build Status

Requirements

  • Python 2.7.12
  • Pip manager

Features:

Todo

  • Federate application logging
  • Celery tasks
    • Redis broker and backend
    • Routing queues according policy: support, alarm
    • Routing queues with different prefetch.
    • Celery database access, threaded with init and close database connection Source: http://www.prschmid.com/2013/04/using-sqlalchemy-with-celery-tasks.html
    • Celery single-tasks (distributed lock across worker)
    • Check reliability: CELERY_ACKS_LATE, CELERY_DISABLE_RATE_LIMITS, CELERYD_PREFETCH_MULTIPLIER=1
  • Unit testing queue management
  • Docopt create_table, migration support, celery workers, run web as production threads.
  • Critical settings (passphrases) can be overloaded through environment variables
  • Refactor testing coverage (through app folder?)
  • Continous Deployment (Docker eligible stack)
  • Database Schema Migration Support Source: http://docs.peewee-orm.com/en/latest/peewee/playhouse.html#migrate
  • Better support for HTML, CSS, JS interfaces and backend APIs.
    • SASS Compilation
    • React.JS
    • Webpack

Installation

git clone git@github.com:JVercout/microservices-webpy.git
cd microservices-webpy
pyenv virtualenv 2.7.12 microservices-webpy
pyenv local
pip install -r requirements/common.txt
# As developer, you could install developement.txt dependencies. 

Usage

python manage.py

Testing

pytest

About

Microservices Framework (webpy, celery)


Languages

Language:Python 100.0%