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”.

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…

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…

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…

Photo by Daria Nepriakhina on Unsplash

There’s always a burning question in every manager’s mind: When will it ship?

In the days of the waterfall methodology, my manager would ask me for an estimated delivery timeline for a project and I would quickly open up my Microsoft Project software and start drawing bars with estimations and resources attached. I would then sandbag it by an additional 50% and would reply back to my manager, with a high degree of confidence, that it would take ninety days. …

With Flask 1.0 there was a big change on how we interact with the application management, with the integration of the Click library in Flask, which replaces in many aspects the Flask-Script library. Now all interactions with Flask happens through a Flask CLI that works with the flask command on the terminal.

Flask 1.0 also introduced tight integration with python-dotenv which allows you to handle environment variables and settings easier.

So I decided to update my MySQL Boilerplate application with these new enhancements so that we’re future proof with the new direction Flask 1.0 is taking.

If you haven’t checked…

Me and my wife, in a U-Haul truck, relocating back from Houston to New York City circa 2000

Back when I joined my first startup, I didn’t know exactly what to expect. The interview was in the lobby of a hotel. The actual “office” had three cramped desks and a dirty carpet. But all I saw was a huge opportunity to build something from scratch. Years later, I left and worked in a number of larger, well funded companies, but somehow I always missed that feeling of growing a project from the ground up.

I always saw myself as someone who would always work for someone else. I didn’t want the responsibility of actually being a founder or…

For many years I have been paying a cloud server provider to host my personal site. At some point I had a blog, but lately, with blog communities like Medium, it had been reduced to a one page index.html.

But the cost of having one cloud server, even if it’s the tiniest one, ends up costing around $15 month, which if you add up in months and years, can become a good chunk of money.

So at the beginning of this year, I decided to look at two technologies that can help me with this, cost-wise. One is a static…

Image courtesy of Johan Larsson

There’s been a long standing debate in the past few months on the feasability of developing mobile applications using HTML5, JavaScript and CSS.

Facebook’s founder went as far as partly blaming their initial hybrid approach as the reason they had failed in their mobile strategy.

“I think the biggest mistake we made as a company is betting too much on HTML5 as opposed to native,” he admitted, acknowledging his company’s difficulties in piecing together a coherent mobile strategy.

Recently Basecamp announced on their blog the release of their new iPad app, which follows a hybrid approach just like their other…

Today I had “Coffee with the interns”, a session where interns meet with executives and ask them anything about the company and our experiences.

One of the best questions I got today was: “Looking back, what would you do different?”

The question resonated with me because I think the answer to that question reflects what I have learned in each of the previous companies I have worked with.

So take a moment and think: what would you have done differently in every company you worked at? In every major project failed?

Some of the things I learned by mistake and…

Reinventing the Wheel - P Lowe

Yesterday Microsoft CEO Steve Ballmer announced the largest reorganization that the Redmond company has seen in years.

In a memo to the company, Ballmer states:

We are rallying behind a single strategy as one company — not a collection of divisional strategies. Although we will deliver multiple devices and services to execute and monetize the strategy, the single core strategy will drive us to set shared goals for everything we do. We will see our product line holistically, not as a set of islands. We will allocate resources and build devices and services that provide compelling, integrated experiences across the…

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