you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 year ago (3 children)

Reddit sucks for many reasons and I refuse to use it, but as a software engineer, this hardly looks nefarious. That looks like a pretty typical event gateway in networked applications, which is used for all kinds of things to make a platform run. We have one in our application, and it's not used for any kind of privacy-invasive tracking. We use it for things like bulk data processing for things like userbase-level analytics (like, how many users are using this feature?), or for billing purposes for our customers (since we bill based on usage).

And calls to /api/* routes are absolutely completely normal for any SPA (single page app), and are required for them to function. There's certainly a technical argument to be made against SPAs in favor of more traditional server-side rendering (augmented by tools like https://htmx.org/ for dynamic content), which could be used to avoid these kinds of API calls (and, in fact, it's a model I'm very much in favor of), but that kind of architecture is far from the norm these days. The SPA model is the current (IMO bad, from a technical perspective) standard.

We have many reasons to shit on reddit and their behavior, but this honestly isn't one of them.

  • source
  • hideshow 3 child comments
  • [+] [S] 1 point 1 year ago (3 children)
  • [–] 1 point 1 year ago (2 children)

    I know old reddit is not an SPA, but that's entirely the point. New reddit is clearly written as an SPA. Old reddit was created before SPAs were super common, so it uses a different architecture.

  • source
  • parent
  • hideshow 2 child comments
  • [+] [S] 1 point 1 year ago (2 children)
  • [–] 2 points 1 year ago (1 child)

    Right, and I explained that looks like a very common event gateway kind of architecture, which has many legitimate uses.

    Now, it's entirely possible that Reddit is also using it for tracking shit (because of who they are), but the mere fact that an event gateway exists isn't evidence of that. Here's the Wikipedia article on the architecture: https://en.m.wikipedia.org/wiki/Event-driven_architecture.

  • source
  • parent
  • hideshow 1 child comment
  • [+] [S] 1 point 1 year ago (1 child)
  • [–] 2 points 1 year ago

    I have no doubt Reddit is doing shitty things (as evidenced by, well, everything in the last several years), but that's entirely unrelated to what kind of architecture is involved. You can do shitty stuff with regular JS, cookies, etc. on webpages.

    I simply don't want people thinking that this is actual evidence of wrongdoing, because it isn't.

  • source
  • parent
  • load more comments (-1 replies)
  • load more comments (-1 replies)
  • load more comments (-1 replies)