Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #1819

R

Richard Jones

Personal blog · metabrew.com/article · on HN as metabrewprogrammingsystems

Richard Jones's personal blog at metabrew.com covers programming and systems. Since 2008, 41 different Hacker News readers have linked it 53 times, most often “ Anti-RDBMS: A list of distributed key-value stores”. It is still writing: the last post was on 2024-12-09, and you can follow it by feed.

Visit the blog
53mentions?
6recommend?
41HN people?
2008–2025first – last linked?
Links on Hacker News per year · peak 12 in 2009

Sometimes recommended · 6 of 33 sampled comments recommend it?

Why HN links it

HN readers link Richard Jones's blog for its posts on handling a million concurrent connections with Erlang and for its comparisons of distributed and NoSQL databases. Some also cite its notes on how Last.fm uses IRC.

Recommended for · 6 comments
Called a favourite part; 'nice post' on IRC use; a 'good comparison' of key/value stores; 'you might find this interesting'; 'might want to check out'.123456

Summarised by Claude from a sample of 33 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Logbook / blog / devlog

The author on HN?

metabrew · 1,486 karma · member since 2009

Made Audioscrobbler in 2002, founder & (now ex-)CTO, Last.fm Ltd. Also https://www.irccloud.com/ Beam appreciator. Rust and Bevy fan. Home assistant tinkerer. Blog: http://www.metabrew.com/

From their public HN profile, which links to this site.

Most-linked posts?

  1. Anti-RDBMS: A list of distributed key-value stores
    10 people · 10 mentions · first linked 2009-01-19
  2. A Million-user Comet Application with Mochiweb (2008)
    8 people · 9 mentions · first linked 2010-08-24
  3. /article/a-million-user-comet-application-with-mochiweb-part-3
    7 people · 8 mentions · first linked 2010-01-21
  4. A Million-user Comet Application with Mochiweb, Part 3
    4 people · 4 mentions · first linked 2008-11-04
  5. How we use IRC at Last.fm
    4 people · 4 mentions · first linked 2009-09-09
  6. /article/a-million-user-comet-application-with-mochiweb-part-1
    2 people · 2 mentions · first linked 2021-03-11
  7. How we use IRC at Last.fm
    2 people · 2 mentions · first linked 2009-01-09
  8. A Million-user Comet Application with Mochiweb, Part 1
    2 people · 2 mentions · first linked 2008-10-16
  9. Rewriting Playdar: C++ to Erlang, massive savings
    2 people · 2 mentions · first linked 2011-02-14

What Hacker News says?

  1. Erlang is a terrific platform, but it isn't very accessible to the wider population. Timely, here's antirez on this topic when Redis was announced on HN ten years ago [0]: > There are a lot of projects similar to Redis in Erlang actually: http://www.metabrew.com/article/anti-rdbms-a-list-of-distrib... > Apart from speed what I like of C for this kind of projects is the self-contain-ness and the fact that most develo…

    Comment linking /article/anti-rdbms-a-list-of-distributed-key-value-stores/

    on “K3s – Lightweight Kubernetes”
  2. Submitted How we use IRC at Last.fm as a story · 109 points

    HN discussion
  3. The Linux tuning part seems to have been inspired by these blog posts from 14 years ago: https://www.metabrew.com/article/a-million-user-comet-applic... It's almost a little disappointing that beefy modern servers only manage a x5 scale improvement, though that could be due to the differences in runtime behaviour between Erlang and the JVM.

    Comment linking /article/a-million-user-comet-application-with-mochiweb-part-1

    on “Achieving 5M persistent connections with Project Loom virtual threads”
  4. Submitted Anti-RDBMS: A list of distributed key-value stores as a story · 75 points

    HN discussion
  5. Yep, you need multiple IP addresses and other tricks to create over 64K connections to a single backend: http://www.metabrew.com/article/a-million-user-comet-applica... One workaround that comes to mind is to have each backend listen on multiple ports.

    Comment linking /article/a-million-user-comet-application-with-mochiweb-part-3

    on “WebSocket proxy support added to nginx trunk”
  6. Submitted Rewriting Playdar: C++ to Erlang, with code statistics as a story · 42 points

    HN discussion
  7. I rewrote a (~10k lines) C++ app to erlang back when I was learning erlang, and saw a ~75% reduction in lines of code. http://www.metabrew.com/article/rewriting-playdar-c-to-erlan... I expect the 'N' value varies wildly depending on what you are building, and whichever language you are comparing against.

    Comment linking /article/rewriting-playdar-c-to-erlang-massive-savings

    on “Joe Armstrong on Programmer Productivity”
  8. Submitted Live-upgrades to IRCCloud.com with Erlang/OTP as a story · 29 points

    HN discussion
  9. You can see this in the 1M connection test done here: http://www.metabrew.com/article/a-million-user-comet-applica... Look at the "Turning it up to 1 Million" section where he details the need to use 17 IPs for the client side.

    Comment linking /article/a-million-user-comet-application-with-mochiweb-part-3/

    on “Zed Shaw: "poll, epoll, science, and superpoll" with R”
  10. Submitted A Million-user Comet Application with Mochiweb, Part 1 as a story · 28 points

    HN discussion
  11. lenn0x · 2011-09-23Recommends
    It's been done before. Here is an article using Erlang and Linux. http://www.metabrew.com/article/a-million-user-comet-applica... Part 3 is my favorite. http://www.metabrew.com/article/a-million-user-comet-applica...

    Comment linking /article/a-million-user-comet-application-with-mochiweb-part-3

    on “One Million Concurrent TCP connections”
  12. Submitted A Million-user Comet Application with Mochiweb, Part 3 as a story · 27 points

    HN discussion
  13. Last.fm has a pretty nifty notification system that uses netcat and an IRC bot. http://www.metabrew.com/article/how-we-use-irc-at-lastfm/

    Comment linking /article/how-we-use-irc-at-lastfm/

    on “I never realized how useful netcat is”
  14. Submitted Rewriting Playdar: C++ to Erlang, massive savings as a story · 10 points

    HN discussion
  15. I tested one server up to 1 million concurrent connections a couple of years ago, search for sysctl in this article to see the settings I used: http://www.metabrew.com/article/a-million-user-comet-applica...

    Comment linking /article/a-million-user-comet-application-with-mochiweb-part-3

    on “Linux Kernel Tuning for C500k”
  16. Submitted A Million-user Comet Application with Mochiweb, Part 2 as a story · 10 points

    HN discussion
  17. We use Freenode, #grooveshark is an open channel for random techie users who want to talk directly to developers (or each other), and people working on 3rd party extensions/add ons to Grooveshark. We have other internal invite-only channels for coordinating with external developers on internal projects. We also have github spamming a channel now whenever changes to a repo that a lot of people are coordinating on get…

    Comment linking /article/how-we-use-irc-at-lastfm

    on “Ask HN: Does anyone still use IRC?”
  18. Submitted Erlang releases + upgrades using rebar as a story · 4 points

    HN discussion
  19. It's called a C1M problem. From 2013: https://www.metabrew.com/article/a-million-user-comet-applic... . It's pretty easy. Been working on a product doing this for 500k connections per machine (MQTT) back in 2014. EC2, m3.xlarge instances back then.

    Comment linking /article/a-million-user-comet-application-with-mochiweb-part-1

    on “Building a high-scale chat server on Cloud Run”
  20. Submitted A Million-user Comet Application with Mochiweb, Part 1 as a story · 2 points

    HN discussion
  21. Similar article here, going to 11: http://www.metabrew.com/article/a-million-user-comet-applica...

    Comment linking /article/a-million-user-comet-application-with-mochiweb-part-1

    on “600K concurrent HTTP connections with Clojure and http-kit”
  22. Submitted A Million-user Comet Application with Mochiweb (2008) as a story · 2 points

    HN discussion
  23. See http://www.metabrew.com/article/a-million-user-comet-applica...

    Comment linking /article/a-million-user-comet-application-with-mochiweb-part-1

    on “App.net’s new direction”
  24. Submitted A Million-user Comet Application with Mochiweb as a story · 2 points

    HN discussion
  25. WhatsApp had over 2 million users connected to their (Erlang) server last year. http://blog.whatsapp.com/index.php/2012/01/1-million-is-so-2... Here is the same in Erlang for reference (from a few years ago, I would be interested to see if there is a more efficient way now): http://www.metabrew.com/article/a-million-user-comet-applica...

    Comment linking /article/a-million-user-comet-application-with-mochiweb-part-3

    on “Ruby - Handling 1 Million Concurrent Connections”
  26. Submitted How we use IRC at Last.fm as a story · 2 points

    HN discussion
  27. If you're looking for a less functional Hubot that's been around for years, why not use Last.fm's irccat? http://www.metabrew.com/article/how-we-use-irc-at-lastfm It already does the whole "kick of a script with these params from irc" thing and can easily be piped to from any langage that can open a port.

    Comment linking /article/how-we-use-irc-at-lastfm

    on “Ted Dziuba's take on Hubot”
  28. https://www.metabrew.com/article/libketama-consistent-hashin... Ketama implementation of consistent hashing algorithm is really intuitive and battle tested.

    Comment linking /article/libketama-consistent-hashing-algo-memcached-clients

    on “Consistent hashing”
  29. tmountain · 2010-08-24Recommends
    I'm curious what kind of OS tuning was required for 500k concurrent connections. It's obvious that some ulimit tuning is necessary, but I'm wondering if any other hard limits beyond that were hit? Also, in case the original author is reading, you might find this interesting as well. It's an article on trying to reach 1MM concurrent connections with Erlang. http://www.metabrew.com/article/a-million-user-comet-applica…

    Comment linking /article/a-million-user-comet-application-with-mochiweb-part-1

    on “C500k in Action at Urban Airship”
  30. There may be a good point in here somewhere, but it's not clear what it is. Relational databases don't scale, so... try CouchDB! or Drizzle! ...which also don't scale. What? For a more complete list of RDBMS-killing science projects, try http://www.metabrew.com/article/anti-rdbms-a-list-of-distrib... (discussion: http://news.ycombinator.com/item?id=440687 )

    Comment linking /article/anti-rdbms-a-list-of-distributed-key-value-stores/

    on “Is the Relational Database Doomed?”

Search all of HN for metabrew.com

Linked by the same people?