Linux -- Memory
RSS (Resident Set Size) Resident Set is the virtual memory that is actually living inside physical memory. It consists of three different categories: Anonymous memory pages, file memory pages and ...
RSS (Resident Set Size) Resident Set is the virtual memory that is actually living inside physical memory. It consists of three different categories: Anonymous memory pages, file memory pages and ...
How does import work in Python Below findings are based on Cpython version of 6066739ff7794e54c98c08b953a699cbc961cd28. Bootstrap This step generates two C files Python/frozen.c and Python/deepf...
Basic flow Entry point is src/pytest/__main__.py -> src/_pytest/config/__init__.py:main. Then it creates a Config object, which is a core concept in Pytest. Config initializes a plugin manager....
What is WSGI? Web Server Gateway Interface. Work flow blow client requests -> web server/gateway -> WSGI server -> Python web application/framework. Web server/gateway: NGINX, Apach...
PEP 3119 How does metaclass work? Read Python/bltinmodule.c#builtin___build_class__ You can see that the execute sequence is Class body code block runs, which populates the namespace ns o...
Start learning sqlalchemy from here concept: engine metadata: This provides abstract concepts of tabls, columns, constraints, foreign keys, etc. create_all api will create all ...
Cpython Build On a 2019 Macbook Pro. MACOSX_DEPLOYMENT_TARGET=10.15 ./configure --with-pydebug bear -- make -j -s On a 2022 Macbook M1. I have some problem with openssl. So I follow this post ...
botocore and aiobotocore are the two fundamental AWS Python SDK. Most people probably only interact with the higher level abstraction packages such as boto3 and aioboto3. How are different service...
openjdk is the starting point. However, IntelliJ fails to resolve symbols when open it directly. Actually, openjdk team provides some guidance on how to set up the repo in IntelliJ. See doc. bash ...
You may heard about Graal in Java community, but do not know how exactly it works. OK. I do not know either, and this post is about my learning about Java JIT compilers. For a long time, Java has ...