![]() There are plenty of options for serving Python web apps in 2020, but uWSGI is objectively better than alternatives like Gunicorn. The acronym "WSGI" stands for Web Server Gateway Interface, which is an esoteric way of saying "how a webserver communicates with Python." uWSGI and its predecessors are a form of middleware for webservers like Nginx to serve Python apps. It's a wonder I ever managed to succeed in doing that at all. It was the brainchild of Graham Dumpleton, who may as well have been the only person in the world besides myself attempting to run a god damn Python web app. Mod-python was suddenly (and arbitrarily?) deemed "dead" in favor of an undocumented Apache module by the name of mod-wsgi. Web-based Python had previously relied on an Apache module called mod-python. Nginx was mostly a fringe webserver created by "some dude in Russia" powering 10% of sites on the internet compared to Apache's 90%. That might sound like a reasonable viewpoint in 2020, but this was 2010: there was no Docker, no Heroku, no DigitalOcean. I was convinced there was nothing worth building unless it were running on a Linux server, behind a real domain, accessible to the world. In retrospect, that frustration is likely what propelled this blog into existence). The only clarity I had was that neither demographic was going to provide value to my immediate goals. It wasn't clear to me at the time whether seasoned engineers were intentionally elitist assholes, or if newcomers were genuinely helpless. I knew these people had the knowledge to answer every question I could muster but somehow proved to be utterly incapable of being useful in any capacity. On the opposite end of the spectrum was everybody else: competent engineers who may as well had been geniuses in my eyes. One end of the spectrum was occupied by my fellow noobs, who seemed happily constrained to programming in cutesy REPL environments provided by whichever bootcamp provided them the blue pill which kept them from asking questions. My apprehensions weren't with the language itself, but rather with every living software developer on the face of the earth.įrom my standpoint, it seemed like people in "software" consisted of only two archetypes, neither of which were particularly savory. This particular romantic comedy somehow missed the "love at first sight" trope entirely - I found the process of learning Python infuriating. ![]() It's been roughly a decade since I first became romantically involved with Python. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |