Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Build Large Scalability System With Django And ...

Avatar for Aksaramaya Aksaramaya
September 26, 2016

Build Large Scalability System With Django And Flask Integration

by Fendi Dwi Fauzi

Avatar for Aksaramaya

Aksaramaya

September 26, 2016

More Decks by Aksaramaya

Other Decks in Technology

Transcript

  1. Large Scalability System A complex system, can process and handle

    big resource, data and many task in single time process. Why we need it? A system build for handle a functionality, not build to many functionality. Large Scalability system is build from part of system how capable to handle task corresponding for each function.
  2. Django Django (python web framework) was invented to meet fast-moving

    newsroom deadlines, while satisfying the tough requirements of experienced Web developers Why Django ? 1. Ridiculously fast 2. Fully loaded 3. Reassuringly secure 4. Exceedingly scalable 5. Incredibly versatile See also : https://www.djangoproject.com/start/overview/
  3. PROS : 1. Fast to develop 2. Easy DB models

    migrate/upgrade/downgrade 3. Work like ‘CMS’, but no… it’s a python framework!!! 4. No doubt, django support ORM CONS : 1. ‘Hard’ to costumize in templating 2. Hunger resources 3. The Slowest (in python framework) 4. Need to Specific URLs Routing 5. Over features for small project
  4. Flask Flask is a microframework for Python based on Werkzeug,

    Jinja 2 and good intentions. And before you ask: It's BSD licensed! Why Flask ? Build a project as you need and you want, make it very simple but extensible for functionality. See Also : http://flask.pocoo.org/
  5. PROS : 1. Extremely flexible, dynamic templating with jinja2 2.

    Minimalist and ‘Standard’ 3. Easy to learn and use 4. Routing URLs is easy 5. Small core and low process CONS : 1. a few documentations 2. Hard migrating db structure (still not fully support ORM)
  6. Then... How to make it possible ? ➔ Import django

    project as environment ➔ Call the instance related with django function ➔ Execute… ➔ DONE!!!