ASAB

Asynchronous Server App Boilerplate Video Tutorial

Previous article

If you ever wondered about how to enter the fast asynchronous world, where web servers and other responsive applications utilize hardware components to their maximum and sleep when no work is necessary, you are in the right place.

Asynchronous Server App Boilerplate (ASAB) was built exactly for the purpose of letting newcomers quickly enter the asynchronous programming with just a few lines of code. ASAB can then be used for building complex applications or foundations for other frameworks and base components.

Introduction

Presentation of the ASAB architecture together with basics of asynchronous programming in Python with asyncio library.

Hello world

How to build a few line long "Hello world" application.

Web server example

Web server application made easy with ASAB using aiohttp.

Publish-subscribe (PubSub) example

Publish-subscribe mechanism of events in the ASAB application.

Logging & Configuration

How to use hierarchy configuration and simple logging.

Modules & Services

ASAB is based on modules, services and their handlers to ensure loose coupling and independent microservices.

Other examples

ASAB provides many examples, which are part of the source code on GitHub: https://github.com/TeskaLabs/asab/

About the Author

Premysl Cerny

Software Developer at TeskaLabs




You Might Be Interested in Reading These Articles

The Golden Age of Black Hats

I experienced a precious moment, discovering the cause which contributed to today's dire state of mobile application security. App developers think that if their apps do not deal with money, they should not have to care about app security. Is it true?

Continue reading ...

security development

Published on February 24, 2015

Entangled ways of product development in the area of cybersecurity #1 - Asynchronous or parallel?

I started working at TeskaLabs at the beginning of autumn 2017 as a student at the Faculty of Information Technology of CTU. In the job advertisement, I was particularly interested in the fact that it is a small, product-based company that does not focus on just one technology or one programming language.

Continue reading ...

development tech premek

Published on November 15, 2022

Streaming Data from Various Sources

One of the main research and development topics nowadays is data processing and analysis, which can help companies discover relevant information about their customers or technologies using reports, visualizations, dashboards, and other business intelligence outputs.

Continue reading ...

tutorial development asab

Published on June 01, 2018