A brief introduction to the asyncio library

What’s the Real Benefit of Using Asynchronous Applications?
What’s the Real Benefit of Using Asynchronous Applications?
Photo by Murtaza Vora on Unsplash

Note: If you want to see this article in video format, check out my Youtube Series “Python Asyncio for Beginners”.

What’s the Real Benefit of Using Asynchronous Applications?

There’s a bit of “voodoo” that surrounds Asynchronous application development, and you might have heard about this among your developer friends, or in Youtube tutorials, and that is that somehow, magically, async applications are super fast.

The truth is that applications written in async fashion are not really faster, but they are more efficient.

Let’s look at an example, specifically with one of the popular web servers for Python called Gunicorn.

When you start Gunicorn you can specify how many “workers” you will spawn. Typically you can have 3 or 4 workers per server. …


Image for post
Image for post
Photo by Mubariz Mehdizadeh on Unsplash

These are amazing times in terms of going from idea to finished product. But even though you can get cheap hosting, software or services, you need to avoid the pitfall of hiring low cost developers without really knowing how good they are.

I still remember the time in the early 2000’s when I had a web platform idea that I wanted to build and make available online. Back then you couldn’t just “rent” a server. As hard as it sounds today, you had to actually buy at least a web application server and a database server (usually costing tens of thousands of dollars) and then rent actual physical space, usually a rack, in a co-location internet hosting company that would also cost at least a few hundred dollars a month with yearly contracts. …


Image for post
Image for post
Photo by Alice Donovan Rouse on Unsplash

In a study by Harvard Business School senior lecturer Shikhar Ghosh, 75 percent of venture-backed companies never return cash to investors, with 30 to 40 percent of those liquidating assets where investors lose all of their money.

I’ve seen it first hand in my consulting practice and it’s specially heart breaking when founders reach out to me too late in the process and have burned the little capital they have raised.

Of course, each company is different and it has various areas where they can increase their chances of becoming successful enterprises, but here are some of the common themes I’ve come across that you, as a founder, can follow to improve the odds of growing a successful startup. …

About

Jorge Escobar

Technologist with both startup and enterprise leadership experience. Course maker @fromzeroedu.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store