Kafka binary protocol
Kafka protocol Kafka has its own binary protocol built on top of TCP to allow clients to talk to it. See the official documentation. There are less than twenty request types (ApiKey) in total, so ...
Kafka protocol Kafka has its own binary protocol built on top of TCP to allow clients to talk to it. See the official documentation. There are less than twenty request types (ApiKey) in total, so ...
Problem statement Our company uses sqlalchemy + aiomysql, and sometimes we see blow error. Not sure what happens aiomysql version is 0.2.0. File "sqlalchemy/pool/base.py", line 894, in _checko...
asyncio.create_subprocess_exec() and asyncio.create_subprocess_shell() are the async counterparty of subprocess.Popen in the multi-process world. For each subprocess, it creates a thread to watch ...
Dis Output interpretation This stackoverflow post has a great diagram: For a sample code from asyncio import sleep async def f(): await sleep(0) We have below disassembled bytecode. (1)|...
Generator Follow below peps to understand semantics of generator and async/await. Also, see https://asyncio-notes.readthedocs.io/en/latest/asyncio-history.html for the history of asyncio. Another ...
About I came across a post about defer.h on Discord today. And I just fell love in it! I was always curious how to achieve defer in C. In C++, we can use destructor. In Golang, it is provided out ...