📕 subnode [[@flancian/2022 04 09]] in 📚 node [[2022-04-09]]
  • [[flancia meet]]
  • [[agora]]
    • LATER could probably improve the welcome message in [[index]] -- it's overly long, a bit confusing for first time users?
    • [[agora server]]
      • [[spaces to tabs conversion]]

        • I didn't like the result so I took the liberty to revert. Some rationale in the node above :)
        • Reach out if you think it's the wrong call! But I'd rather go with the Python community standard by default and not impose an extra burden on contributors (to override their editor defaults).
      • DONE fix links in /journals

        --[2022-04-09 Sat 19:32:08] => 00:00:01

        • was higher priority than expected, see below :)
      • LATER perhaps tell crawling bots to take it easy while I work

      • LATER [[sqlite]] experiment

      • LATER I should update to Python 3.8 so I can use f-strings with = at the end to print variable name and value in one swoop.

        • Surely there are also other improvements :)
      • NOW agora load balancing

        • it is time.

          • update: actually it is not quite :) squashing the 500s bug mentioned below made the Agora a lot more efficient. this is still high priority but not burning.
        • once the next item is ready, this unlocks arbitrary [[horizontal scaling]].

        • I think I'll start with the simplest setup possible, solving balancing first and reliability later -- that is, add balancing to the [[nginx]] running in [[thecla]].

          --[2022-04-09 Sat 19:32:28] => 00:00:02

      • LATER experiment with [[podman]] as [[docker]] replacement

        --[2022-04-09 Sat 19:32:23] => 03:46:32

        • continue going through [[please contain yourself]] with [[podman]]?

          --[2022-04-09 Sat 19:32:29] => 00:00:03

        • nice, got it running just fine; I said I was not going to default to [[rootless containers]] but they seem to work fine for simple examples, and the

          --[2022-04-09 Sat 19:32:29] => 00:00:02

      • crawlers/bots are hammering anagora.org quite a bit, might need to actually write a [[robots.txt]] file to tell them to take it easy while we work on better performance :)

  • I've been thinking of [[time]] from the point of view of [[lady burup]] (as I imagine it) and I've found it [[interesting]].
    • When it's light, it's the next day for her; she might not understand that [[dawn]] shifts from season to season?
  • [[twitter dall-e]]
  • [[doing laundry]]
  • #push [[agora speed]]
    • [[scaling]] must happen

      • but we still have time thanks to the block below :)
    • DONE hmm, but there is [[low hanging fruit]]: the per-worker cache should not all expire in unison (!)

      --[2022-04-09 Sat 19:10:28] => 01:17:51

      • also I wasn't caching calls to G.node() (?).
      • AND, much more importantly, the Agora was restarting all the time due to 500s in URLs hit by bots -- so none of the performance work I was doing was taking effect. Now that that's fixed it feels much snappier! I am happy about this development.
  • [[daniel dennett]]
  • [[fin de semana]]
  • [[dallee]]
  • [[pep8]]
📖 stoas
⥱ context