Salta al contenuto

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  • 0 Votazioni
    2 Post
    29 Visualizzazioni
    Super stoked that Mastodon is rolling this out after many months of testing. That even a modicum of effort was put in to address the social failings of quote posting (as implemented on X/Twitter) is already a huge win for online public discourse.
  • 0 Votazioni
    2 Post
    49 Visualizzazioni
    @hongminhee It's a place where our loosey goosey style goes into nondeterminism. We should tighten it up in the next version. My main answer would be: publishers, don't do that.
  • FEP 11dd: Context Ownership and Inheritance

    Spostato Fediverso fep activitypub
    10
    0 Votazioni
    10 Post
    128 Visualizzazioni
    I have amended the text of the FEP to clarify a couple of things, but also changed the inheritance logic following this month's WG meeting and subsequent discussion on ActivityPub.space. Instead of recommending that replies inherit context from the object it is in reply to, implementors must find the root node (how, is out of scope; tree traversal or context resolution are two ways that come to mind) and inherit its context. This will simplify context resolution and pave the way for other actions like moving, crossposting, forking, locking, etc. I also added in a blurb about situations in which a context would explicitly not be inherited.
  • 0 Votazioni
    2 Post
    2 Visualizzazioni
    Coming soon in #Fedify 1.5.0: Smart fan-out for efficient activity delivery! After getting feedback about our queue design, we're excited to introduce a significant improvement for accounts with large follower counts. As we discussed in our previous post, Fedify currently creates separate queue messages for each recipient. While this approach offers excellent reliability and individual retry capabilities, it causes performance issues when sending activities to thousands of followers. Our solution? A new two-stage “fan-out” approach: When you call Context.sendActivity(), we'll now enqueue just one consolidated message containing your activity payload and recipient list A background worker then processes this message and re-enqueues individual delivery tasks The benefits are substantial: Context.sendActivity() returns almost instantly, even for massive follower counts Memory usage is dramatically reduced by avoiding payload duplication UI responsiveness improves since web requests complete quickly The same reliability for individual deliveries is maintained For developers with specific needs, we're adding a fanout option with three settings: "auto" (default): Uses fanout for large recipient lists, direct delivery for small ones "skip": Bypasses fanout when you need different payload per recipient "force": Always uses fanout even with few recipients // Example with custom fanout setting await ctx.sendActivity( { identifier: "alice" }, recipients, activity, { fanout: "skip" } // Directly enqueues individual messages ); This change represents months of performance testing and should make Fedify work beautifully even for extremely popular accounts! For more details, check out our docs. What other #performance optimizations would you like to see in future Fedify releases? #ActivityPub #fedidev
  • 0 Votazioni
    1 Post
    2 Visualizzazioni
    📢 Important announcement! #BotKit's #GitHub repository has moved to a new home! 🏠 The repository is now located at @fedify-dev/botkit (previously @dahlia/botkit). All future development will continue at the new location. Don't worry—everything's the same, just a new address! Please update your bookmarks and project references. Thanks for being part of our community! <img class="not-responsive emoji" src="https://media.social.fedify.dev/emojis/botkit.png" title=":botkit:" /> #Fedify #ActivityPub #fediverse #fedidev https://hollo.social/@fedify/0194a851-581d-779c-b777-dc39e753ef14