• kibiz0r@midwest.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    Just cache the common questions.

    There are only two hard things in Computer Science: cache invalidation and naming things.

    • boonhet@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      9 months ago

      You mean: two hard things - cache invalidation, naming things and off-by-one errors

      • kibiz0r@midwest.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        9 months ago

        Reminds me of the two hard things in distributed systems:

        • 2: Exactly-once delivery
        • 1: Guaranteed order
        • 2: Exactly-once delivery
    • Zaktor@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 months ago

      It’s a good thing that Google has a massive pre-existing business about caching and updating search responses then. The naming things side of their business could probably use some more work though.