Amdahl's law
The speedup of a program using multiple processors in parallel computing is limited by the time needed for the sequential fraction of the program. For example, if a program needs 20 hours using a single processor core, and a particular portion of the program which takes one hour to execute cannot be parallelized, while the remaining 19 hours (95%) of execution time can be parallelized, then regardless of how many processors are devoted to a parallelized execution of this program, the minimum execution time cannot be less than that critical one hour. Hence the speedup is limited to at most 20×.
Gustafson–Barsis' law
Says that computations involving arbitrarily large data sets can be efficiently parallelized.
Showing posts with label design patterns. Show all posts
Showing posts with label design patterns. Show all posts
Jun 8, 2015
Jan 9, 2015
Software Design Patterns
http://en.wikipedia.org/wiki/Software_design_pattern
http://sourcemaking.com/design_patterns
http://martinfowler.com/eaaCatalog/
http://design-pattern.ru/patterns (ru)
Python Implementations
https://github.com/faif/python-patterns
https://github.com/gennad/Design-Patterns-in-Python
http://python-3-patterns-idioms-test.readthedocs.org/en/latest/Part3.html
Articles
http://habrahabr.ru/post/184156/
http://sourcemaking.com/design_patterns
http://martinfowler.com/eaaCatalog/
http://design-pattern.ru/patterns (ru)
Python Implementations
https://github.com/faif/python-patterns
https://github.com/gennad/Design-Patterns-in-Python
http://python-3-patterns-idioms-test.readthedocs.org/en/latest/Part3.html
Articles
http://habrahabr.ru/post/184156/
Labels:
design patterns
Jun 13, 2014
Software architecture design principles
GRASP - General Responsibility Assignment Software Patterns (or Principles) consists of guidelines for assigning responsibility to classes and objects in object-oriented design. The different patterns and principles used in GRASP are: Controller, Creator, Indirection, Information Expert, High Cohesion, Low Coupling, Polymorphism, Protected Variations, and Pure Fabrication.
SOLID (ru)
KISS Keep it simple, stupid
DRY Don't repeat yourself
YAGNI You aren't gonna need it
Worse is better
Law of Demeter, LoD Each unit should have only limited knowledge about other units: only units "closely" related to the current unit. Each unit should only talk to its friends; don't talk to strangers. Only talk to your immediate friends.
SOLID (ru)
KISS Keep it simple, stupid
DRY Don't repeat yourself
YAGNI You aren't gonna need it
Worse is better
Law of Demeter, LoD Each unit should have only limited knowledge about other units: only units "closely" related to the current unit. Each unit should only talk to its friends; don't talk to strangers. Only talk to your immediate friends.
Labels:
design patterns
Nov 10, 2011
Django and Python Coding Style and Best Practices
Introduction:
The Zen of Python (PEP 20)
Follow guide lines:
Style Guide for Python Code (PEP 8)
Django coding style
Google Python Style Guide (RU)
Tutorials:
Django best practices fork of Django Reusable App Conventions
Django Design Patterns
Django Advice
The Hitchhiker’s Guide to Python!
Python Project Howto
Code Like a Pythonista: Idiomatic Python
Nick Coghlan’s Python Notes
A Guide to Python's Magic Methods
Code checkers:
django-lint Online
Learn by examples:
Rosettacode code and algorithms examples
Be aware of
Python Standard Library: A Few of My Favorite (Python) Things
Design patterns
http://www.pypedia.com/index.php/Main_Page
Thoughts on RESTful API Design
The Zen of Python (PEP 20)
Follow guide lines:
Style Guide for Python Code (PEP 8)
Django coding style
Google Python Style Guide (RU)
Tutorials:
Django best practices fork of Django Reusable App Conventions
Django Design Patterns
Django Advice
The Hitchhiker’s Guide to Python!
Python Project Howto
Code Like a Pythonista: Idiomatic Python
Nick Coghlan’s Python Notes
A Guide to Python's Magic Methods
Code checkers:
django-lint Online
Learn by examples:
Rosettacode code and algorithms examples
Be aware of
Python Standard Library: A Few of My Favorite (Python) Things
Design patterns
http://www.pypedia.com/index.php/Main_Page
Thoughts on RESTful API Design
Labels:
best practice,
codding style,
design patterns
Subscribe to:
Posts (Atom)