med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

338
active users

#serverless

1 post1 participant0 posts today

We're excited to announce the release of #Fedify 1.6.1, which marks the beginning of the 1.6 series following the retraction of version 1.6.0. This release introduces significant new capabilities that expand Fedify's deployment options and enhance security compatibility across the #fediverse.

🌐 Cloudflare Workers support

Fedify 1.6 introduces first-class support for Cloudflare Workers, enabling #serverless deployment of #ActivityPub applications at the edge.

New components

Key features

  • Seamless integration with #Cloudflare's serverless runtime
  • Automatic handling of queue message processing through Workers' queue() method
  • Support for Node.js compatibility flag required for Fedify's cryptographic operations
  • Manual queue processing via Federation.processQueuedTask() method

For a complete working example, see the Cloudflare Workers example in the Fedify repository.

🏗️ Federation builder pattern

Fedify 1.6 introduces the FederationBuilder class and createFederationBuilder() function to support deferred federation instantiation. This pattern provides several benefits:

  • Deferred instantiation: Set up dispatchers and listeners before creating the federation object
  • Better code organization: Avoid circular dependencies and improve project structure
  • Cloudflare #Workers compatibility: Accommodates binding-based architectures where resources are passed as arguments rather than globals
  • Modular setup: Build complex federations piece by piece before instantiation

The builder pattern is particularly useful for large applications and environments like Cloudflare Workers where configuration data is only available at runtime.

🔐 HTTP Message Signatures (RFC 9421)

Fedify 1.6 implements the official HTTP Message Signatures standard (RFC 9421) specification, the final revision of the HTTP Signatures specification.

Double-knocking mechanism

To ensure maximum compatibility across the fediverse, Fedify 1.6 introduces an intelligent double-knocking mechanism:

  1. Primary attempt: RFC 9421 (HTTP Message Signatures) for modern implementations
  2. Fallback: Draft cavage version for legacy compatibility
  3. Adaptive caching: The system remembers which version each server supports to optimize future requests

This approach ensures seamless communication with both modern and legacy ActivityPub implementations while positioning Fedify at the forefront of security standards.

Interoperability testing

The RFC 9421 implementation has been thoroughly tested for interoperability with existing ActivityPub implementations that support RFC 9421 signature verification:

  • Mitra 4.4.0: Successfully verified Fedify-generated RFC 9421 signatures
  • Mastodon 4.4.0 development version: Tested RFC 9421 signature verification against Fedify's implementation (refer to Mastodon PR #34814, though Mastodon 4.4.0 has not yet been released)

These tests confirm that other ActivityPub implementations can successfully verify RFC 9421 signatures generated by Fedify, ensuring proper federation as the ecosystem gradually adopts the official specification. While these implementations currently support verification of RFC 9421 signatures, they do not yet generate RFC 9421 signatures themselves—making Fedify one of the first ActivityPub implementations to support both generation and verification of the modern standard.

🔍 WebFinger enhancements

Dedicated WebFinger lookup

The new Context.lookupWebFinger() method provides direct access to WebFinger data, offering developers more granular control over account discovery and resource resolution beyond the higher-level Context.lookupObject() method.

🛠 Context API improvements

Context data replacement

The new Context.clone() method enables dynamic context data replacement, providing greater flexibility in request processing and data flow management. This is particularly useful for middleware implementations and complex request routing scenarios.

🚀 Migration considerations

Backward compatibility

Fedify 1.6 maintains full backward compatibility with existing applications. The new HTTP Message Signatures and double-knocking mechanisms work transparently without requiring any code changes.

Node.js version requirement

Important: Fedify 1.6 requires Node.js 22.0.0 or later for Node.js environments. This change does not affect applications using Deno or Bun runtimes. If you're currently using Node.js, please ensure your environment meets this requirement before upgrading.

New deployment options

For new deployments, consider leveraging Cloudflare Workers support for:

  • Global edge deployment with low latency
  • Serverless scaling and automatic resource management
  • Integration with Cloudflare's ecosystem of services

🎯 Looking forward

Fedify 1.6 represents a significant expansion of deployment possibilities while maintaining the framework's commitment to broad compatibility across the fediverse. The addition of Cloudflare Workers support opens new architectural patterns for federated applications, while the RFC 9421 implementation ensures Fedify stays current with emerging ActivityPub security standards.

For detailed migration guides, API documentation, and examples, please visit the Fedify documentation. Join our community on Matrix or Discord for support and discussions.

workers.cloudflare.comCloudflare Workers©Build your next application with Cloudflare Workers

The cloud landscape is evolving at record speed in 2025:

*️⃣ Multi-Cloud strategies are now the standard
To boost resilience and avoid vendor lock-in, more companies are splitting workloads across multiple cloud providers.

*️⃣ Edge computing moves mainstream
Processing data closer to its source is now essential for real-time analytics and operational efficiency.

*️⃣ Serverless architectures accelerate innovation
Serverless computing is empowering developers to focus on code, not infrastructure.

*️⃣ Green cloud and sustainable data centers
Sustainability is a top priority.

*️⃣ Zero trust security takes center stage
With cyber threats growing, businesses are moving beyond perimeter-based defenses-adopting Zero Trust models to secure every access point.
dev.to/devlinktips/top-20-clou

Continued thread

A #platform, is a platform, is a platform. The user don't care.

What is that, a #CSR on #serverless, an #SSR hooked up to a #VPS - or maybe you even manage your own #kubernetes. Daring, aren't we?

For some people, this is all static. But, they know what the #web is. They know that it's where the crawlers live.

When I look at this chart, I think #WebSocial has a ring to it that might project "Other" into the top 5 - maybe even top 3.

Why?

Replied in thread

@bert_hubert TBH, even shit like #aws isn't selling furniture, but demand a premium every step of the way for every tool used to turn wood into some furniture - in perpetuality and with no good means to control costs.
youtube.com/watch?v=ZzI9JE0i6Lc

  • And that's why "#Cloud" and "#SaaS" are shit and buzzwords 99% of the time.

Just like "#serverless" is just a #lie...
youtube.com/watch?v=qQk94CjRvIs

Did you know AI models don't natively know what time it is? The only reason ChatGPT and Sonnet know what the date is is because their system prompt is rotated each day.

How do you automate that in your environment? Well, if you're using a serverless model like I do with Vera, you can have Python check the current date and time and inject it into the system prompt.

And that's pretty cool

In a month's time I will be visiting the #wasmio in #barcelona (as a participant) and I am pretty excited as I haven't visited either, yet.

I stumbled upon #WebAssembly in 2023 (okey, I've heard of it even earlier, but used it onyl in 2023 during the #12in23 by #exercism ), and in 2024 we've been experimenting with it in the context of #GreenIT at our company (i.e. having tiny Wasm Modules spinned up directly in clusters, instead of heavy weight #docker containers). We haven't had the chance to use it in production yet, and so I am really looking forward to see how other people use it and connect with the community.

Anyone here joining the conference as well? Any sessions or speakers or other highlights you're looking forward to? And any hidden gems to visit in Barcelona (as I'll be staying for days longer, after the conference 😇 )?

Anatomy of a AWS Lambda function in Go

Go (or Golang) is a great choice for building backends, APIs and all sorts of data processing programs for the cloud. Go is easy to learn, straightforward, and is surrounded by a vibrant and expansive community. It's also highly performant on AWS Lambda and has great support for concurrency. Go is awesome on AWS Lambda, but I always hear people complaining that it's difficult to get started. So, here is a super simple explainer post that will hopefully alleviate some of those […]

micahwalter.com/2025/02/anatom

#aws#go#lambda

Without virtualization, there would be no cloud computing — and no modern IT. :blobcoffee:

Virtualization enables multiple virtual machines to run on a single physical system, optimizing resource use and scalability. While cloud computing started with virtualization, newer technologies like containerization and serverless computing are now shaping the future of IT.

I wrote about this in more detail in the Towards Data Science article: towardsdatascience.com/virtual

Towards Data Science · Virtualization & Containers for Data Science Newbies | Towards Data ScienceVirtualization makes it possible to run multiple virtual machines (VMs) on a single piece of physical hardware. These VMs behave like independent computers, but share the same physical computing power. A computer within a computer, so to speak. Many cloud services rely on virtualization. But other technologies, such as containerization and serverless computing, have become […]