Giter Site home page Giter Site logo

asyncio_trial's Introduction

asyncio_trial

Asyncoio trial purpose

Table of Contents

Concurrency Test
Results:
Step 1.
Step 2.
Step 3.
Asynchronous:
ThreadPool:
ProcessPool:
Sequence:

Decorators
Git from a folder of repoA to repoB
Step 1.
Step 2.
Step 3.
Step 4.
Step 5.
Step 6.
Step 7.
Step 8.
Step 9. Previous log to add new Repo.
Step 10. Error Msg
Step 11.
Step 12. Done!

Reference

Concurrency Test

Results:

asynchronous vs processpool vs threadpool vs sequential
alt tag

Step 1.

Serve Side: Setup Web Server on Google Colud Platform (GCP) for testing purpose alt tag

Step 2.

Modules Installation:

On Linux:

(venv3) [root@CentOS python3-concurrency]# pip install -r requirements-linux.txt

On Windows(Without uvloop):

(Flask_trial) d:\project\Python\asyncio_trial\concurrency> pip install -r requirements-win32.txt

Step 3.

Asynchronous:

Round 1: alt tag

Round 2: alt tag

Round 3: alt tag

ThreadPool:

Round 1: alt tag

Round 2: alt tag

Round 3: alt tag

ProcessPool:

Round 1: alt tag

Round 2: alt tag

Round 3: alt tag

Sequence:

Round 1: alt tag

Decorators

Decorators are “wrappers”, which means that they let you execute code before and after the function they decorate without modifying the function itself.

Git from a folder of repoA to repoB

Step 1.

alt tag

Step 2.

alt tag

Step 3.

alt tag

Step 4.

alt tag

Step 5.

alt tag

Step 6.

alt tag

Step 7.

alt tag

Step 8.

alt tag

Step 9. Previous log to add new Repo.

alt tag

Step 10. Error Msg

alt tag

Step 11.

alt tag

Step 12. Done!

alt tag

Reference

asyncio_trial's People

Contributors

fabiorosado avatar itstehkman avatar philip-shen avatar prkumar avatar schambers avatar

Watchers

 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.