πŸ“• Node [[2022-04-09]]
↳ πŸ““ Resource @flancian/2022 04 09
πŸ“„ 2022_04_09.md by @flancian οΈπŸ”— ✍️
  • [[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

        • 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]].
      • LATER experiment with [[podman]] as [[docker]] replacement

      • 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 (!)

      • 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]]

Loading pushes...

Rendering context...