• 10 Posts
  • 67 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle











  • It’s not only for the Lambda use case, my main motivation was AutoMods - they are very resource intensive currently and need to run very often. What you needed to do until this package, was traversing all new posts and all comments in there to check whether they’re newer than the last post / comment you’ve moderated. Which is a lot of api requests every minute or two, you’re essentially DDOSing yourself. With this, your AutoMod receives the information that a new comment was created and you can fetch the comment in a single (relatively inexpensive) api request, instead of plethora of requests which are all fairly expensive.

    Whether the webhooks feature is then exposed to other users is really up to each instance admins, I’m thinking of exposing the functionality for my instance’s users when I finish implementing all I have envisioned.

    Of course bot authors can add support for webhook triggering which means the admins can then use it more effectively.


  • The real point here is that this kind of behaviour is one of things that made Reddit fucking awful and I’d hate to see it flourish here in the fediverse.

    Too late, I’m afraid, it already does.

    No moderation without representation. IOW: mods should be democratically elected.

    Mod elections should be annual and no mod should enjoy that status for life.

    There should be a mechanism for inducing a ‘no confidence’ mode election at any time otherwise the communities are likely to splinter into “real_” communities just as they did on Reddit which no community in the fediverse can currently afford.

    How do you enforce this? You would need the admin’s cooperation. What if the instance admin is also the mod? If someone starts a community, is it fair to take it away from them, if you don’t agree with their moderation?


    There really isn’t any way to prevent all this, it would have to be built into the platform itself and it’s too late to do that now. Furthermore, there are very few communities large enough for people to even want to vote for mods.





  • Pub-sub might work for some use cases, but it wouldn’t work at all for mine. I host my bots on AWS Lambda so I don’t pay for anything, unless the code is actually running. So the webhook essentially wakes the virtual machine up and after processing is done, it goes back to sleep.

    Yeah, they make a new ongoing tls connection on every https webhook. Which doesn’t necessarily mean all db events, there’s quite powerful filtering available and everyone should use it, sending a ping for db events you don’t need to seems quite wasteful.