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. Learn more →
templates reviews and mentions
-
A Real World Comparison Between Cloudflare Workers and Fastly Compute Edge
Nice post. I like the focus on developer experience rather than just performance.
Workers' implementation of pipeTo() is indeed optimized to avoid entering the JavaScript isolate at all during the operation. I agree this probably explains the performance difference here.
For setting `Content-Length` on a streaming response, Cloudflare has a non-standard extension called `FixedLengthStream`. It works the same as an identity `TransformStream` except you pass the expected stream length to the constructor.
Example: https://cloudflareworkers.com/#c2a014c7f67df83f9ad3ea90e9c60...
We would of course prefer to implement a standard API here, but at present there doesn't seem to be one.
(I'm the tech lead for Cloudflare Workers.)
-
Redis at the Edge with Cloudflare Workers
If you do not have one, create a database following this guide. In the database page, click the button REST API and copy the REST URL. If you have a Cloudflare account, you can create a Workers function or you can use the playground without an account too.
-
A pair of possibly painfully stupid questions about CF Workers
Is getting the Fast Google Fonts worker up and running as simple as copying and pasting the GitHub code—exactly as is—in the Cloudflare "Workers" interface for the site? Or, to your knowledge, is there anything else I would need to add or configure on the Wordpress side to ensure that the script is being deployed properly?
-
A note from our sponsor - InfluxDB
www.influxdata.com | 19 Apr 2024
Stats
cloudflare/templates is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of templates is JavaScript.