Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    P

    Peter Bengtsson

    peterbe.com · Personal blog · on HN since 2008

    Peter Bengtsson writes about web development and Python, including server benchmarks, databases, JavaScript tooling and frontend optimization.

    Visit blogRSSHN submissions
    Web DevelopmentProgrammingSystems & Performance
    What HN says

    HN links it for practical benchmarks and tips, such as uWSGI versus Gunicorn and the datalist element, without much commentary on the blog itself.

    Stats for nerds
    38HN people shared it
    49linked in comments
    791story points
    Aug 2021last shared
    2010people per year2021

    Top posts on HN

    1. 1
      How much faster is Redis at storing a blob of JSON compared to Postgres?
      4 people · 253 points · first shared 2019 · 114 comments on HN
    2. 2
      Mincss "clears the junk out of your CSS"
      3 people · 124 points · first shared 2013 · 47 comments on HN
    3. 3
      A Python dict that can report which keys you did not use
      2 people · 97 points · first shared 2025 · 43 comments on HN
    4. 4
      Is Nginx obsolete now that we have Amazon CloudFront?
      1 person · 75 points · first shared 2012 · 61 comments on HN
    5. 5
      Hugepic - a web app for showing massive pictures
      1 person · 74 points · first shared 2012 · 23 comments on HN
    6. 6
      My new web marketing strategy: Begging
      1 person · 38 points · first shared 2012 · 22 comments on HN
    7. 7
      Github Pull Request Triage tool
      1 person · 29 points · first shared 2014 · 3 comments on HN
    8. 8
      Fcgi vs. gunicorn vs. uWSGI
      5 people · 13 points · first shared 2010 · 2 comments on HN
    9. 9
      Fastest database for Tornado
      2 people · 13 points · first shared 2013 · 2 comments on HN
    10. 10
      Advanced Closure Compiler vs. UglifyJS2
      2 people · 10 points · first shared 2016 · 4 comments on HN

    What HN people wrote when they linked it

    • nevirJul 2017

      > fine but this is entirely irrelevant. the problem is that no one was optimizing for the deliverable (JavaScript). the GWT folks could have easily written an excellent compiler so it didnt generate a bunch of slow trash.

      Compilers can only optimize so much. GWT/Closure do a very good job of it, too. https://www.peterbe.com/plog/advanced-closure-compiler-vs-uglifyjs2

      Much of the "slow trash" is already optimized to death - it just dies under the weight of insane complexity (e.g. features), browser support, and overly-generic (IMO) support libraries

      > which requires a massive slow polyfill in all but latest Chrome and results in a shit experience for all others (if i recall a related thread correctly).

      Tangential: I'm not sure which version of Polymer they're using - but 1.0+ removes the need for most of the polyfilling.

    • rlanderMay 2012

      There are benchmarks around [1], though I consider them valuable only for the entertainment value.

      The great thing about uWSGI/Nginx over Gunicorn/Nginx is that Nginx speaks the uwsi protocol natively[2], whereas with Gunicorn Nginx acts as a proxy.

      Also, in my experience (2 years with gunicorn, 1 with uwsgi in prod), uwsgi is more stable, uses less memory, has better management and configuration tools and even lets you run multiple Python apps under the same intepreter (multitenancy) [3].

      [1] http://www.peterbe.com/plog/fcgi-vs-gunicorn-vs-uwsgi

      [2] http://wiki.nginx.org/HttpUwsgiModule

      [3] http://projects.unbit.it/uwsgi/wiki/TipsAndTricks

      (Edit: formatting)

    • mladenkovacevicDec 2011

      Here's one of those articles:
      http://www.peterbe.com/plog/fcgi-vs-gunicorn-vs-uwsgi
      He actually proclaimed Gunicorn as the initial winner but after what probably was some real-life usage changed his mind to UWsgi.

      the UWsgi module is also now included with NGinx by default (as of version .84 or something)

      I've never used Upstart as in the original post but I believe Supervisor does the same thing and is maybe a little more commonly used (http://supervisord.org/)

    • avinasshJan 2015

      not really 'small', but some of the Python related blogs I follow are:

      - http://pycon.blogspot.in/

      - http://lucumr.pocoo.org/

      - http://inventwithpython.com/blog/

      - http://www.blog.pythonlibrary.org/

      - http://www.ianbicking.org/blog/

      - http://www.binarytides.com/

      - http://www.peterbe.com/

      - http://viksalgorithms.blogspot.com/

      - http://rz.scale-it.pl

      - http://packetforger.wordpress.com/

      - http://blog.pythonisito.com/

    • codexonJan 2010

      Not all people feel the need to consume as much as people in richer countries to feel the same amount of happiness.

      There have been studies documenting this. Here is a short story from Tim Ferriss which sums this up where he realizes that a Mexican fisherman really has a very high quality of life.

      http://www.peterbe.com/plog/the-4-hour-work-week-by-timothy-ferris

    • alexatkeplarApr 2012

      Likewise +1 to Nginx + uwsgi. In the various performance benchmarks* uwsgi beats gunicorn, and uwsgi comes bundled with Nginx now, so there's really no reason to bother with setting up gunicorn any more.

      * http://www.peterbe.com/plog/fcgi-vs-gunicorn-vs-uwsgi
      http://nichol.as/benchmark-of-python-web-servers

    Related

    Nicholas Piëlnichol.as28 people

    Benchmark of Python Web Servers

    Nicholas Piël
    Personal · last shared 2014
    Ben Boyterboyter.org47 people

    Fix it, Fork it, Fuck off (2019)

    Ben Boyter
    Personal · last shared 2026
    Ian Bickingblog.ianbicking.org107 people

    Firefox Was Always Enough

    Ian Bicking
    Personal · last shared 2026
    fasterthanli.mefasterthanli.me236 people

    A half-hour to learn Rust

    fasterthanli.me
    Personal · last shared 2026
    Tigris Blogtigrisdata.com37 people

    Nomadic infrastructure design for AI workloads

    Tigris Blog
    Company · last shared 2026
    Ben Fredericksonbenfrederickson.com46 people

    GitHub Won’t Help You with Hiring

    Ben Frederickson
    Personal · last shared 2026
    Dev Geniusmedium.com/dev-genius36 people

    A principled approach to GraphQL query cost analysis

    Dev Genius
    Publication · last shared 2026
    Jason Moironjmoiron.net36 people

    Go Performance Tales

    Jason Moiron
    Personal · last shared 2026