Softwr

Logging · head to head

Fluentd vs Google Cloud Run

Fluentd logo

Fluentd

Logging

Open Source Data Collector for Unified Logging

From
Free
Free plan
Yes
Google Cloud Run logo

Google Cloud Run

Cloud

Managed platform for running containers and functions on Google Cloud

From
On request
Free plan
No

The short version

  • Fluentd is an open-source data collector.
  • Fluentd is free; Google Cloud Run prices on request.
  • Only Fluentd lists log collection; only Google Cloud Run lists deploy any container image.
  • Where Fluentd falls short: Fluentd needs more than 60 MB of memory at runtime, against roughly 450 KB for Fluent Bit.
  • Where Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.

How do Fluentd and Google Cloud Run differ?

Fluentd and Google Cloud Run differ on starting price (Free against On request), pricing model (Open-source against Usage-based) and free tier (Yes against No). Only the attributes on which Fluentd and Google Cloud Run actually diverge.

Attributes where Fluentd and Google Cloud Run differ
AttributeFluentdGoogle Cloud Run
Starting priceFreeOn request
Pricing modelOpen-sourceUsage-based
Free tierYesNo
PlatformsWeb, APIWeb
CategoryLoggingCloud

Not yet recorded: founded for Google Cloud Run.

Which features does each one have?

They share no listed features; 9 appear only for Fluentd and 9 only for Google Cloud Run. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Fluentd

  • Log collection
  • Data parsing
  • Filtering and buffering
  • Event routing
  • API
  • Webhooks
  • REST
  • Web support

Only in Google Cloud Run

  • Deploy any container image
  • Source-based builds for common languages
  • Services with automatic scaling and scale to zero
  • Jobs for scheduled or manual tasks
  • Worker pools for background processing
  • Traffic splitting and rollback between revisions
  • Custom domains and managed TLS
  • Request-based and instance-based billing

What is each one used for?

Fluentd is most often brought in for unified log collection and routing from many sources to many destinations; Google Cloud Run for hosting web APIs and microservices. The jobs each tool is most often brought in to do.

Fluentd

  • Unified log collection and routing from many sources to many destinationsnot Google Cloud Run
  • Parsing and transforming log records before forwardingnot Google Cloud Run
  • Aggregating logs from containers into Elasticsearch, S3 or a SIEMnot Google Cloud Run

Google Cloud Run

  • Hosting web APIs and microservicesnot Fluentd
  • Scheduled batch jobsnot Fluentd
  • Queue consumers on worker poolsnot Fluentd
  • Deploying containers without managing clustersnot Fluentd
  • Event-driven backends with Pub/Subnot Fluentd

Where do Fluentd and Google Cloud Run fall short?

Fluentd's most cited limit: Fluentd needs more than 60 MB of memory at runtime, against roughly 450 KB for Fluent Bit. Google Cloud Run's: runs only on Google Cloud, so there is no self-hosted option. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Fluentd

  • Fluentd needs more than 60 MB of memory at runtime, against roughly 450 KB for Fluent Bit
  • Fluentd is built as a Ruby gem and depends on other gems, so a Ruby runtime is required
  • Its capability comes from over 1,000 external plugins rather than built in functionality, so each added input or output is a separate dependency
  • The Fluent Bit documentation states that cloud providers have switched from Fluentd to Fluent Bit for performance and compatibility and calls Fluent Bit the next generation solution

Google Cloud Run

  • Runs only on Google Cloud, so there is no self-hosted option
  • The container file system is in memory and not persistent
  • Worker pools do not autoscale natively and need at least one instance
  • Services are stateless, so state needs external storage

How much do Fluentd and Google Cloud Run cost?

Fluentd is free to use. Plan by plan below, from each vendor's own pricing page.

Fluentd

Free
  • FreeFree
    • Log collection
    • Data parsing
    • Filtering and buffering

Google Cloud Run

On request

No published plan breakdown. See the Google Cloud Run review.

Which should you pick?

Choose Fluentd if

  • You need log collection.
  • You want to start without paying.
  • You work on Web, API.
  • You also want data parsing.

Choose Google Cloud Run if

  • You need deploy any container image.
  • You also want source-based builds for common languages.

Questions people ask

Is Fluentd or Google Cloud Run better?
It depends on the job. Fluentd fits unified log collection and routing from many sources to many destinations; Google Cloud Run fits hosting web APIs and microservices. Fluentd starts at Free and Google Cloud Run at On request.
Which is cheaper, Fluentd or Google Cloud Run?
Fluentd has a free tier; the other does not. Paid plans start at Free for Fluentd and On request for Google Cloud Run.
Does Fluentd or Google Cloud Run run on more platforms?
Fluentd runs on Web, API. Google Cloud Run runs on Web.
Can I use Fluentd for free?
Yes. Fluentd has a free tier, so you can try it without paying. Google Cloud Run starts at On request.
What is Fluentd best used for?
Fluentd is most often used for unified log collection and routing from many sources to many destinations, parsing and transforming log records before forwarding, aggregating logs from containers into elasticsearch, s3 or a siem. Of those, unified log collection and routing from many sources to many destinations and parsing and transforming log records before forwarding are not what Google Cloud Run is typically brought in for.
What can Fluentd do that Google Cloud Run cannot?
Fluentd covers Log collection, Data parsing, Filtering and buffering, Event routing. Google Cloud Run covers Deploy any container image, Source-based builds for common languages, Services with automatic scaling and scale to zero, Jobs for scheduled or manual tasks.

Answered from the vendors’ own pages

Fluentd: How much does Fluentd cost?

Fluentd is free and open-source under the Apache 2 License from the Cloud Native Computing Foundation (CNCF). There are no subscription fees, licensing costs, or commercial pricing tiers.

Source
Google Cloud Run: What can Cloud Run run?

Any container image, or source code for Go, Node.js, Python, Java.NET and Ruby that Google builds into a container.

Source
Google Cloud Run: How is Cloud Run billed?

Allocated CPU and memory are billed in 100 millisecond granularity, in request-based or instance-based mode. A free tier is available.

Source
Google Cloud Run: Can Cloud Run scale to zero?

Yes. Services scale to zero when idle unless a minimum number of instances is set.

Source
Share

Related pages

Other head to heads