2 статьи о сессиях sqlalchemy и celery\gunicorn workers
https://www.yangster.ca/post/not-the-same-pre-fork-worker-model/
https://davidcaron.dev/sqlalchemy-multiple-threads-and-processes/
#sqlalchemy #threads #gunicorn #celery
https://www.yangster.ca/post/not-the-same-pre-fork-worker-model/
https://davidcaron.dev/sqlalchemy-multiple-threads-and-processes/
#sqlalchemy #threads #gunicorn #celery
Yangster
Not The Same Pre-fork Worker Model
Running into bugs when forking at the wrong time
https://realpython.com/advanced-visual-studio-code-python/ - подробная статья о настройке vscode для использования с python
#vscode #debugging #ide
#vscode #debugging #ide
Realpython
Advanced Visual Studio Code for Python Developers – Real Python
In this tutorial, you'll learn how you can configure, extend, and optimize Visual Studio Code for a more effective and productive Python development environment. By digging into this customizable code editor and IDE, you'll put yourself on track to be a VS…
https://davidamos.dev/three-things-you-might-not-know-about-numbers-in-python/ - статья о числах в python
Forwarded from SQL Pro
Tips & Tricks. Индексация: Базовые понятия
В этой статье на простом примере описано, что такое индексация, индекс, рассмотрены некоторые типы индексов и способы их создания.
#sql
Читать статью
В этой статье на простом примере описано, что такое индексация, индекс, рассмотрены некоторые типы индексов и способы их создания.
#sql
Читать статью
https://www.bigocheatsheet.com/ - сайт с таблицами скорости\сложности часто используемых алгоритмов
#algorithms
#algorithms
https://www.blog.pythonlibrary.org/2021/12/07/a-tour-of-pythons-itertools-library/ - статься о использовании библиотеки itertools
#itertools #iterators
#itertools #iterators
Mouse Vs Python
A Tour of Python's itertools Library - Mouse Vs Python
In this tutorial you will take an extensive tour of Python's itertools modules and learn all about how to use iterators in the process
https://towardsdatascience.com/how-we-optimized-python-api-server-code-100x-9da94aa883c5 - статься про оптимизацию API с использованием asyncio, SQLAlchemy, asyncpg, pandas, Cython
#cython #optimize #asyncio
#cython #optimize #asyncio
Medium
How we optimized Python API server code 100x
Some of the tricks we used to speed up calls to our analytics API written in Python: played with asyncio, messed with SQLAlchemy, hacked…
https://realpython.com/python-multiple-constructors/ - статья про написание нескольких конструкторов для класса
#multiple-constructors #constructor #class
#multiple-constructors #constructor #class
Realpython
Providing Multiple Constructors in Your Python Classes – Real Python
In this step-by-step tutorial, you'll learn how to provide multiple constructors in your Python classes. To this end, you'll learn different techniques, such as checking argument types, using default argument values, writing class methods, and implementing…