• 0 Posts
  • 63 Comments
Joined 2 years ago
cake
Cake day: August 11th, 2023

help-circle












  • It make sense for a wrapper layer to do this and I had to fight against APIs that didn’t. If I make a single HTTP call that wraps multiple independent API calls into one, then the overall HTTP code should reflect status of the wrapper service, and the individual responses should each have their own code as returned by the underlying services.

    For example on one app we needed to get user names by user id for a bunch of users. To optimize this, we batched calls into groups. The API would fail with an error code if one of the user ids in the batch was bad or couldn’t be found. That meant we wouldn’t be getting data for any of the users in the batch and we didn’t know which userId was bad either. Such a call should return 200 for the overall call and individual result for each id, some of which could be errors.



  • None of these points make any sense to me when I think about the pre-reddit internet. There were all kinds of communities everywhere on various forums across the internet. Some forums discussed specific topics, some very niche, other forums were for more general discussions. But hosting and setting up a forum was not always the easiest thing. So when reddit came, subreddits eventually replaced forums. Easy to set up, easy to discover, everything in one place.

    Now the fediverse is to me pretty much like going back to the old forums, but a bit more organized. And all of the points in this article could have been made about forums if you decided to analyze forums as one big thing. But in the end, none of it has been a problem (and there are still some forums around today).