cf-wasm VS saffron

Compare cf-wasm vs saffron and see what are their differences.

cf-wasm

⛅ A collection of wasm packages those work on Cloudflare workers (by fineshopdesign)

saffron

The cron parser powering Cron Triggers on Cloudflare Workers (by cloudflare)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
cf-wasm saffron
1 2
11 218
- 2.3%
8.4 0.0
13 days ago 6 months ago
Rust Rust
- BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cf-wasm

Posts with mentions or reviews of cf-wasm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-04.
  • Show HN: OS Image processing API running on edge functions using Rust and WASM
    3 projects | news.ycombinator.com | 4 Apr 2024
    Image processing/transformations with built-in CDNs is one of the more common solutions you would find out there but can get pretty expensive and locked in over time.

    Vercel is a good example that provides a built-in “next/image” solution for the NextJS framework that optimises images for better performance, however, it gets very expensive as you scale.

    Alternatively, running your own service with one of the most common image processing libraries like SharpJS is great but can get pretty difficult to run in a serverless environment with CDNs and all the other bells and whistles alongside all your other code while the cold startup time of Sharp in a serverless environment can be pretty brutal.

    With all the growth around rebuilding engines in Rust for performance gains, I thought there must be an image processing library written in Rust which could be compiled to WebAssembly (WASM) and run way faster. That’s when I discovered Photon https://github.com/silvia-odwyer/photon by Silvia, who has done amazing work with the library.

    This eventually led me to discover https://github.com/fineshopdesign/cf-wasm/tree/main/packages... that has already transcribed the Photon package into a WASM binary for easy use in edge v8 environments like Cloudflare workers or NextJS Edge functions.

    Using these packages I built an API layer on the NextJS framework allowing you to easily process local and remote images at blazing fast speeds with a bunch of helper functions making it similar to use as most paid Image processing APIs. If hosted on Vercel, you can make use of the built-in CDN cache for files less than 10 MB at no extra charge with Edge caching.

    Some of the features:

    - Blazing fast image processing

    - Fully serverless, runs on Vercel Edge functions

    - Resize, crop, compress, tint, rotate, format and more

    - Global distribution with Edge functions

    - Automated CDN cache with Edge functions

    - Replacement for `next/image` processing on Vercel

    - Local and remote image processing

    Some problems:

    - The Photon lib has last been updated in 2020

    - There are still a few obvious bugs when using it for more advanced requirements like 8k image processing on edge function due to poor memory management in Rust

    - No sexy features right now like AI image optimisation and selective background blurring

    - If you are looking for an all-in-one solution with Image Storage + image processing/CDN, this is not it (something we will be releasing soon on JigsawStack.com)

    I think the Photon library and the API have a lot more potential for growth and will be hoping for more contributions from the community as Rust gets more popular!

saffron

Posts with mentions or reviews of saffron. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2020-12-25.
  • Cloudflare uses Rust for parsing Cron expressions
    2 projects | /r/rust | 25 Dec 2020
    You're right, it doesn't require state, my mistake. Though the rest still applies. Staggering isn't necessary with Workers since calls are all limited in CPU time and can by distributed evenly across many metals in a PoP. There isn't really a big use case for it today. But if you think there is a use-case, you're welcome to suggest it in cloudflare/saffron.

What are some alternatives?

When comparing cf-wasm and saffron you can also consider the following projects:

photon - ⚡ Rust/WebAssembly image processing library

hcaptcha-serverless-rust-worker - Demo code for creating an hCaptcha verify endpoint using Cloudflare Workers written in Rust

stewardx - Scheduled Task Executor With Asynchronous Runtime and Database X

heliocron - A command line application written in Rust capable of delaying execution of other programs for time periods relative to sunrise and sunset.

Factotum - A system to programmatically run data pipelines