Skip to main content

3 posts tagged with "Python"

View All Tags

· 4 min read

As the complexity of a program increases, software developers need good debugging tools. The ideal debugging process is to identify how to reliably reproduce a problem in a development environment where you can experiment freely, and then create automated tests based on this. However, when the reproduction scenario itself is too complex or the kind of bugs that only occur randomly in production environments, the next best thing is to log in detail so that you can understand what the problem was later. In this post, we introduce the aiomonitor-ng tool we developed to make debugging complex asyncio programs easier.

· 17 min read

이번 글에서는 Python 3.11에 새로 도입될 asyncio.TaskGroup API 및 제가 개발하여 제안 중인 aiotools.PersistentTaskGroup API에 대해 소개합니다. 특히 구조적 병행성(structured concurrency)를 구현하기 위해서 중요한 부분이며, 실제로 Backend.AI 개발 과정에서도 구조적 병렬성이 제대로 지켜지지 않아서 발생한 버그 사례가 있습니다.

· 11 min read

지난 10월 4일 Python의 3.10 새 버전이 발표되었습니다. Python은 2021년 10월 기준 TIOBE Index 기준으로 전 세계에서 가장 인기 있는 프로그래밍 언어입니다. 그만큼 새 버전에서 어떤 기능들이 추가되었는지에 대해서도 많은 분들이 관심을 가지고 계실 텐데요, Backend.AI 또한 Python을 주력 언어로 작성된 프로그램이니만큼 항상 관심 있게 지켜보고 있습니다. 이번 블로그 글에서는 Python 3.10의 주요 변화를 함께 살펴보는 시간을 갖고자 합니다.