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

Entangled ways of product development in the area of cybersecurity #2 - BitSwan

After successfully completing my engineering degree, I finally started working full-time at TeskaLabs just as I initially promised. In addition to data from the world of telecommunications, we started to learn data from the world of logistics in BitSwan, which of course required being able to calculate the cost of transporting some cargo from point A to point B.

Continue reading ...

development tech premek

Published on December 15, 2022

Engaged with ASAB

About microservices, coroutines, failures and enthusiasm. And most of all, about ASAB. ASAB is the first thing that probably every newcomer to TeskaLabs gets fond of.

Continue reading ...

asab development tech eliska

Published on June 15, 2022

Don't worry, ASAB and the universe can be fixed

How do my first sprints in TeskaLabs look like? Sheer desperation quickly turns into feelings of illumination and euphoria. And back. I've also made a few new friends and learned a thing or two about flushing metrics. The digital adventure begins.

Continue reading ...

asab development tech eliska

Published on February 15, 2022