Giter Club home page Giter Club logo

nguyenductamlhp / cpsc_476 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gurusus/cpsc_476

0.0 1.0 0.0 16.45 MB

Back-End Engineering. Concepts and architecture of enterprise applications, components, services and communication technologies. Dependency injection, application tiers, remote objects, distributed transactions, message queues, web services and object-relational mapping. Enterprise application development in Python with build tools, containers and applications servers.

Home Page: https://sites.google.com/view/cpsc476

Makefile 0.44% Python 97.76% TeX 0.26% Batchfile 0.31% HTML 0.75% CSS 0.33% Shell 0.14%

cpsc_476's Introduction

CPSC_476

What I have learned

  • Understand characteristics of web applications and back-end technologies.
  • Apply database access techniques to persist data.
  • Evaluate characteristics of NoSQL databases and their influence on the design of web applications.
  • Gain experience with common web back-end tools and components.
  • Structure applications using server-side application patterns.
  • Assess the impact of various techniques for scaling applications.

Outline of materials and concepts

  • Scalability and back-end concepts
  • Web Services and APIs
  • State Management and Load Balancing
  • Relational DBMSes and Data Models
  • NoSQL Databases
  • HTTP and Object Caching
  • Asynchronous Messaging
  • Software Engineering and Design
  • Running Services in Production

Project 1

  • From original Minitwit source code, I split it into separate indepdent pieces. I create a new Flask application mt_api.py that exposes RESTful URL endpoints for JSON data, rather than generating HTML. I create a file population.sql containing SQL INSERT statements to re-populate the database with test data.
  • Project 1 Instruction

Project 2

  • In this project, I refactor MiniTwit to use the Web Service API that I created in Project 1, then run multiple instances of both the front- and back-end servers behind a load balancer. In order to do this, I remove all references to sqlite3 and all database queries from minitwit.py, replacing them with requests to mt_api.py via the Requests library.
  • To simulate running MiniTwit in production, I run three instances of minitwit.py and three instances of mt_api.py. To do this, I create a Procfile and use the foreman command-line utility.
  • To set up the load balancer, I use NGINX
  • Project 2 Instruction

Project 3

Project 4

  • In this project, I add application-level sharding to MiniTwit, partitioning data across three SQLite databases.
  • Project 4 Instruction

cpsc_476's People

Contributors

tngo0508 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.