The blog is under scheduled maintenance until Friday, 30 August 2024. For any issues, email [email protected].

新規投稿のお知らせを受信されたい方は、サブスクリプションをご登録ください:

Developer Week 2024のまとめ

2024-04-08

5分で読了
この投稿はEnglish繁體中文FrançaisDeutsch한국어Español简体中文でも表示されます。

Developer Week 2024が正式に終了しました。先週は連日、開発者がCloudflare上でフルスタックのアプリケーションを構築するために必要なコンポーネントを提供することを目的とした新製品と機能をリリースしました。

Developer Week 2024 wrap-up

Developer Weekは終了した一方、弊社プラットフォームで構築する200万人以上の開発者とともに革新を続けています。プラットフォームの構築は、開発者がその上に構築したものの姿を見ることと同様、非常に期待に満ちたものです。今週を締めくくるに当たり、企業がCloudflareを利用してアプリケーションを強化している様子をピックアップしてご紹介します。

R2を利用したイメージ配信にWorkersを利用していますが、導入後1年間安定した運用を維持できています。導入のスピードと詳細設定の柔軟性により、従来のサーバー管理に必要な時間と労力が大幅に削減されました。特にコスト削減は顕著で、Cloudflare Workersのサポートに深く感謝しています。- FAN Communications

Milkshakeは、クリエイター、インフルエンサー、ビジネスオーナーが携帯電話から直接魅力的なWebページを作成し、プロジェクトや情熱をシンプルかつクリエイティブに宣伝できるよう支えています。Cloudflareのおかげで、R2を使ってスピーディかつ手頃な価格でデータを移行できました。弊社では、WorkersをユーザーのWebサイトと画像やアセットとの間のルーティングレイヤーとして使用しており、パーソナライズされた分析サービスを手頃な価格で提供しています。Cloudflareの革新的な技術により、弊社は他の開発者プラットフォームの数分の一のコストでインフラストラクチャを実行することができています。弊社は、製品が成長し続けるにつれてのMilkshakeの持続的な拡張のため、D1とQueuesのアップデートを待ち望んでいます。- Milshake

先週行われた発表と技術的詳細について、簡単にまとめてみました。お見逃しがないか、今一度ご確認ください。

発表概要

月曜日

.tg {border-collapse:collapse;border-color:#ccc;border-spacing:0;} .tg td{background-color:#fff;border-color:#ccc;border-style:solid;border-width:1px;color:#333; font-family:Arial, sans-serif;font-size:14px;overflow:hidden;padding:10px 5px;word-break:normal;} .tg th{background-color:#f0f0f0;border-color:#ccc;border-style:solid;border-width:1px;color:#333; font-family:Arial, sans-serif;font-size:14px;font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;} .tg .tg-amwm{font-weight:bold;text-align:center;vertical-align:top} .tg .tg-zb5k{color:#15C;text-align:left;vertical-align:top} .tg .tg-0lax{text-align:left;vertical-align:top}

Announcement Summary
Making state easy with D1 GA, Hyperdrive, Queues and Workers Analytics Engine updates A core part of any full-stack application is storing and persisting data! We kicked off the week with announcements that help developers build stateful applications on top of Cloudflare, including making D1, Cloudflare’s SQL database and Hyperdrive, our database accelerating service, generally available.
Building D1: a Global Database D1, Cloudflare’s SQL database, is now generally available. With new support for 10GB databases, data export, and enhanced query debugging, we empower developers to build production-ready applications with D1 to meet all their relational SQL needs. To support Workers in global applications, we’re sharing a sneak peek of our design and API for D1 global read replication to demonstrate how developers scale their workloads with D1.
Why Workers environment variables contain live objects Bindings don't just reduce boilerplate. They are a core design feature of the Workers platform which simultaneously improve developer experience and application security in several ways. Usually these two goals are in opposition to each other, but bindings elegantly solve for both at the same time.

通知

Announcement Summary
Leveling up Workers AI: General Availability and more new capabilities We made a series of AI-related announcements, including Workers AI, Cloudflare’s inference platform becoming GA, support for fine-tuned models with LoRAs, one-click deploys from HuggingFace, Python support for Cloudflare Workers, and more.
Running fine-tuned models on Workers AI with LoRAs Workers AI now supports fine-tuned models using LoRAs. But what is a LoRA and how does it work? In this post, we dive into fine-tuning, LoRAs and even some math to share the details of how it all works under the hood.
Bringing Python to Workers using Pyodide and WebAssembly We introduced Python support for Cloudflare Workers, now in open beta. We've revamped our systems to support Python, from the Workers runtime itself to the way Workers are deployed to Cloudflare’s network. Learn about a Python Worker's lifecycle, Pyodide, dynamic linking, and memory snapshots in this post.

まとめ

Announcement Summary
R2 adds event notifications, support for migrations from Google Cloud Storage, and an infrequent access storage tier We announced three new features for Cloudflare R2: event notifications, support for migrations from Google Cloud Storage, and an infrequent access storage tier.
Data Anywhere with Pipelines, Event Notifications, and Workflows We’re making it easier to build scalable, reliable, data-driven applications on top of our global network, and so we announced a new Event Notifications framework; our take on durable execution, Workflows; and an upcoming streaming ingestion service, Pipelines.
Improving Cloudflare Workers and D1 developer experience with Prisma ORM Together, Cloudflare and Prisma make it easier than ever to deploy globally available apps with a focus on developer experience. To further that goal, Prisma ORM now natively supports Cloudflare Workers and D1 in Preview. With version 5.12.0 of Prisma ORM you can now interact with your data stored in D1 from your Cloudflare Workers with the convenience of the Prisma Client API. Learn more and try it out now.
How Picsart leverages Cloudflare's Developer Platform to build globally performant services Picsart, one of the world’s largest digital creation platforms, encountered performance challenges in catering to its global audience. Adopting Cloudflare's global-by-default Developer Platform emerged as the optimal solution, empowering Picsart to enhance performance and scalability substantially.

D1の一般公開、Hyperdrive、Queues、Workers Analytics Engineの更新情報満載

Announcement Summary
Announcing Pages support for monorepos, wrangler.toml, database integrations and more! We launched four improvements to Pages that bring functionality previously restricted to Workers, with the goal of unifying the development experience between the two. Support for monorepos, wrangler.toml, new additions to Next.js support and database integrations!
New tools for production safety — Gradual Deployments, Stack Traces, Rate Limiting, and API SDKs Production readiness isn’t just about scale and reliability of the services you build with. We announced five updates that put more power in your hands – Gradual Deployments, Source mapped stack traces in Tail Workers, a new Rate Limiting API, brand-new API SDKs, and updates to Durable Objects – each built with mission-critical production services in mind.
What’s new with Cloudflare Media: updates for Calls, Stream, and Images With Cloudflare Calls in open beta, you can build real-time, serverless video and audio applications. Cloudflare Stream lets your viewers instantly clip from ongoing streams. Finally, Cloudflare Images now supports automatic face cropping and has an upload widget that lets you easily integrate into your application.
Cloudflare Calls: millions of cascading trees all the way down Cloudflare Calls is a serverless SFU and TURN service running at Cloudflare’s edge. It’s now in open beta and costs $0.05/ real-time GB. It’s 100% anycast WebRTC.

フルスタックアプリケーションの中核部分は、データの保存と保持です。CloudflareのSQLデータベースであるD1と、データベース高速化サービスであるHyperdriveの一般利用開始を含め、開発者によるCloudflare上でのステートフルなアプリケーション開発を支える数々の発表で今週を幕開けします。

Announcement Summary
Browser Rendering API GA, rolling out Cloudflare Snippets, SWR, and bringing Workers for Platforms to all users Browser Rendering API is now available to all paid Workers customers with improved session management.
Cloudflare acquires Baselime to expand serverless application observability capabilities We announced that Cloudflare has acquired Baselime, a serverless observability company.
Cloudflare acquires PartyKit to allow developers to build real-time multi-user applications We announced that PartyKit, a trailblazer in enabling developers to craft ambitious real-time, collaborative, multiplayer applications, is now a part of Cloudflare. This acquisition marks a significant milestone in our journey to redefine the boundaries of serverless computing, making it more dynamic, interactive, and, importantly, stateful.
Blazing fast development with full-stack frameworks and Cloudflare Full-stack web development with Cloudflare is now faster and easier! You can now use your framework’s development server while accessing D1 databases, R2 object stores, AI models, and more. Iterate locally in milliseconds to build sophisticated web apps that run on Cloudflare. Let’s dev together!
We've added JavaScript-native RPC to Cloudflare Workers Cloudflare Workers now features a built-in RPC (Remote Procedure Call) system for use in Worker-to-Worker and Worker-to-Durable Object communication, with absolutely minimal boilerplate. We've designed an RPC system so expressive that calling a remote service can feel like using a library.
Community Update: empowering startups building on Cloudflare and creating an inclusive community We closed out Developer Week by sharing updates on our Workers Launchpad program, our latest Developer Challenge, and the work we’re doing to ensure our community spaces – like our Discord and Community forums – are safe and inclusive for all developers.

D1の構築:グローバルデータベース

CloudflareのSQLデータベース「D1」が一般公開されました。10GBデータベース、データエクスポート、強化されたクエリデバッグの新たなサポートを提供する「D1」を使用することで、開発者の皆様はすべてのリレーショナルSQLのニーズに対応した本番対応のアプリケーションを構築できるようになりました。グローバルアプリケーションでWorkersをサポートするために、D1グローバル読み取りレプリケーションの設計とAPIの一部を先行公開しています。これを参照することで、開発者の皆様は「D1」を使用してワークロードを拡張する方法について学ぶことができます。

Workers環境変数にライブオブジェクトが含まれる理由

バインディングは単にコードの定型文を減らすだけではありません。バインディングはWorkersプラットフォームの中核的な設計機能であり、開発者のエクスペリエンスとアプリケーションのセキュリティを同時に改善するいくつかの方法を備えています。通常、これらの2つの目標は相反するものですが、バインディング機能は両方の目標を同時に優雅に解決します。

火曜日

.tg {border-collapse:collapse;border-color:#ccc;border-spacing:0;} .tg td{background-color:#fff;border-color:#ccc;border-style:solid;border-width:1px;color:#333; font-family:Arial, sans-serif;font-size:14px;overflow:hidden;padding:10px 5px;word-break:normal;} .tg th{background-color:#f0f0f0;border-color:#ccc;border-style:solid;border-width:1px;color:#333; font-family:Arial, sans-serif;font-size:14px;font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;} .tg .tg-buh4{background-color:#f9f9f9;text-align:left;vertical-align:top} .tg .tg-68av{background-color:#f9f9f9;color:#15C;text-align:left;text-decoration:underline;vertical-align:top} .tg .tg-amwm{font-weight:bold;text-align:center;vertical-align:top} .tg .tg-zb5k{color:#15C;text-align:left;text-decoration:underline;vertical-align:top} .tg .tg-0lax{text-align:left;vertical-align:top}

通知

まとめ

Workers AIのレベルアップ:一般提供とさらなる新機能

Workers AI、Cloudflareの推論プラットフォームがGA化、LoRAでモデルのファインチューニング対応、HuggingFaceからのワンクリックデプロイ、Cloudflare WorkersでのPythonサポートなど。

LoRAを使用してWorkers AIで細かく微調整されたモデルの実行

Workers AIは、LoRAを使用して細かく調整されたモデルをサポートするようになりました。では、LoRAとは一体何か、どのように機能するのでしょうか?この記事では、微調整、LoRA、さらには数学的な話にまで踏み込んで、内部的な動作について詳しく紹介します。

PyodideとWebAssemblyを使用したWorkersへのPythonの導入

弊社では、Cloudflare WorkersでPythonサポートを導入し、現在オープンベータとして提供しています。Workersランタイム自体から、CloudflareのネットワークにWorkersをデプロイする方法まで、Pythonに対応すべくシステムを刷新しました。この記事では、Python Workerのライフサイクル、Pyodide、動的リンク、およびメモリスナップショットについて説明します。

水曜日

.tg {border-collapse:collapse;border-color:#ccc;border-spacing:0;} .tg td{background-color:#fff;border-color:#ccc;border-style:solid;border-width:1px;color:#333; font-family:Arial, sans-serif;font-size:14px;overflow:hidden;padding:10px 5px;word-break:normal;} .tg th{background-color:#f0f0f0;border-color:#ccc;border-style:solid;border-width:1px;color:#333; font-family:Arial, sans-serif;font-size:14px;font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;} .tg .tg-buh4{background-color:#f9f9f9;text-align:left;vertical-align:top} .tg .tg-68av{background-color:#f9f9f9;color:#15C;text-align:left;vertical-align:top} .tg .tg-amwm{font-weight:bold;text-align:center;vertical-align:top} .tg .tg-zb5k{color:#15C;text-align:left;vertical-align:top} .tg .tg-0lax{text-align:left;vertical-align:top}

通知

まとめ

R2に、「イベント通知」、「Google Cloud Storageからの移行のサポート」、「低頻度アクセスストレージ階層」が追加されました。

弊社より、Cloudflare R2での「イベント通知」、「Google Cloud Storageからの移行のサポート」、「低頻度アクセスのストレージ階層」の3つの新機能を発表します。

パイプライン、イベント通知、およびワークフローによるデータの柔軟な利用

弊社では、グローバルネットワーク上でスケーラブルで信頼性の高いデータ駆動型アプリケーションの構築をより容易にすることに取り組んでおり、「Event Notificationsフレームワーク」、耐久性の高い実行を実現する「Workflows」、そして今後のストリーミング取り込みサービスである「Pipelines」を発表します。

Prisma ORMでCloudflare WorkersとD1開発者エクスペリエンスを改善

CloudflareとPrismaを組み合わせることで、開発者エクスペリエンスに重点を置いた世界中で利用可能なアプリの展開がこれまで以上に簡単になります。その目標をさらに進めるために、Prisma ORMはプレビュー版でCloudflare WorkersとD1をネイティブにサポートするようになりました。Prisma ORMのバージョン5.12.0では、Prisma Client APIの利便性を利用して、Cloudflare WorkersからD1に保存されたデータを操作できるようになりました。詳細をご覧いただき、今すぐお試しください。

PicsartがCloudflareのDeveloper Platformを活用してグローバルにパフォーマンスの高いサービスを構築する方法

世界最大級のデジタル制作プラットフォームの1つであるPicsartは、世界中の視聴者に対応する上で、パフォーマンス上の課題に直面していました。Cloudflareのグローバルなデフォルト開発者プラットフォームの採用が最適なソリューションとなり、Picsartはパフォーマンスとスケーラビリティの大幅な改善に成功しました。

木曜日

.tg {border-collapse:collapse;border-color:#ccc;border-spacing:0;} .tg td{background-color:#fff;border-color:#ccc;border-style:solid;border-width:1px;color:#333; font-family:Arial, sans-serif;font-size:14px;overflow:hidden;padding:10px 5px;word-break:normal;} .tg th{background-color:#f0f0f0;border-color:#ccc;border-style:solid;border-width:1px;color:#333; font-family:Arial, sans-serif;font-size:14px;font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;} .tg .tg-buh4{background-color:#f9f9f9;text-align:left;vertical-align:top} .tg .tg-68av{background-color:#f9f9f9;color:#15C;text-align:left;text-decoration:underline;vertical-align:top} .tg .tg-amwm{font-weight:bold;text-align:center;vertical-align:top} .tg .tg-zb5k{color:#15C;text-align:left;text-decoration:underline;vertical-align:top} .tg .tg-0lax{text-align:left;vertical-align:top}

通知

まとめ

Monorepos、wrangler.toml、データベース統合などのPagesのサポートを発表!

これまでWorkersに限定されていた機能を導入し、両者の開発エクスペリエンスを統合することを目的とした、Pagesにおける4つの改善をリリースしました。monoreposサポート, wrangler.tomlNext.jsサポートへの新たな追加、データベース統合!

安全な運用のための新しいツール — Gradual Deployments、スタックトレース、レート制限、API SDK

本番環境への対応は、構築するサービスの規模と信頼性だけではありません。本日、弊社は利用者がより多くの力を手にするための段階的デプロイメント、Tail Workersのソースマップスタックトレース、新しいレート制限API、刷新されたAPI SDK、Durable Objectsの5つのアップデートを発表しました。それぞれがミッションクリティカルな本番サービスを念頭に置いて構築されています。

Cloudflare Mediaの新機能:通話、ストリーム、画像の更新

オープンベータ版のCloudflare Callsは、リアルタイムのサーバーレス動画および音声アプリケーションの構築を可能にします。Cloudflare Streamは、視聴者に進行中のストリームの瞬時にクリップできる機能を提供します。最後に、Cloudflare Imagesは顔の自動トリミングをサポートし、アプリケーションに簡単に統合できるアップロードウィジェットを備えています。

Cloudflare Callsは、何百万ものカスケードツリーです

Cloudflare Callsは、Cloudflareのエッジで実行されるサーバーレスSFUおよびTURNサービスです。現在はオープンベータとして提供され、料金はリアルタイムGBあたり0.05ドルです。100%AnycastのWebRTCです。

金曜日

.tg {border-collapse:collapse;border-color:#ccc;border-spacing:0;} .tg td{background-color:#fff;border-color:#ccc;border-style:solid;border-width:1px;color:#333; font-family:Arial, sans-serif;font-size:14px;overflow:hidden;padding:10px 5px;word-break:normal;} .tg th{background-color:#f0f0f0;border-color:#ccc;border-style:solid;border-width:1px;color:#333; font-family:Arial, sans-serif;font-size:14px;font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;} .tg .tg-buh4{background-color:#f9f9f9;text-align:left;vertical-align:top} .tg .tg-68av{background-color:#f9f9f9;color:#15C;text-align:left;text-decoration:underline;vertical-align:top} .tg .tg-amwm{font-weight:bold;text-align:center;vertical-align:top} .tg .tg-zb5k{color:#15C;text-align:left;text-decoration:underline;vertical-align:top} .tg .tg-0lax{text-align:left;vertical-align:top}

通知

まとめ

Browser Rendering APIのGA化、そしてCloudflare Snippets、SWRの展開、Workers for Platformsの全ユーザーへの提供

ブラウザレンダリングAPIは、セッション管理が改善され、すべての有料版Workersのお客様に利用いただけるようになりました。

CloudflareがBaselimeを買収してサーバーレスアプリケーションの可観測性を強化

Cloudflareがサーバーレス可観測性を提供するBaselimeの買収を発表。

PartyKitの買収により、Cloudflareでリアルタイムのマルチユーザー向けのアプリケーションの作成が可能に

弊社では、開発者が意欲的なリアルタイムのコラボレーションが可能なマルチプレイヤー向けのアプリケーションを作るための草分け的存在であるPartyKitが、Cloudflareの一部になったことを発表しました。この買収は、サーバーレスコンピューティングの枠組みを再定義し、よりダイナミックかつインタラクティブ、そして最も重視すべきステートフルを目指す私たちの旅において、重要な節目となります。

フルスタックフレームワークとCloudflareによる超高速開発

Cloudflareを使用したフルスタックWeb開発がより迅速かつ容易になりました。D1データベース、R2オブジェクトストア、AIモデルなどにアクセスしながら、フレームワークの開発サーバーを使用できるようになりました。ローカルでミリ秒単位で反復処理を行い、Cloudflareで実行される高度なWebアプリを構築します。一緒に開発していきましょう!

Cloudflare WorkersにJavaScriptネイティブRPCを追加

Cloudflare Workersには、Worker間およびWorkerとDurable Object間の通信に使用するための組み込みRPC(リモートプロシージャコール)システムが搭載されているため、コードの定型文を最小限に抑えることができます。私たちが設計したRPCシステムの豊富な表現力により、ライブラリーを使用している感覚でリモートサービスコールを行うことができます。

コミュニティの最新情報:Cloudflare上で構築を行うスタートアップの支援と包括的なコミュニティの構築

Developer Weekの締めくくりでは、Workers Launchpadプログラムの最新情報、最新のDeveloper Challenge、およびDiscordやCommunityフォーラムなどのコミュニティスペースがすべての開発者にとって安全かつ包括的であることを保証するための私たちの取り組みについて共有しました。

引き続く対話

Developer Weekにご参加いただき、ありがとうございました!構築したものについて、ぜひ弊社にお聞かせください。Discordでお待ちしています。Workers構築を始めるには、開発者向けドキュメントをぜひご覧ください。

Cloudflareは企業ネットワーク全体を保護し、お客様がインターネット規模のアプリケーションを効率的に構築し、あらゆるWebサイトやインターネットアプリケーションを高速化し、DDoS攻撃を退けハッカーの侵入を防ぎゼロトラスト導入を推進できるようお手伝いしています。

ご使用のデバイスから1.1.1.1 にアクセスし、インターネットを高速化し安全性を高めるCloudflareの無料アプリをご利用ください。

より良いインターネットの構築支援という当社の使命について、詳しくはこちらをご覧ください。新たなキャリアの方向性を模索中の方は、当社の求人情報をご覧ください。
Developer Week開発者製品ニュースCloudflare WorkersCloudflare PagesRate LimitingAPIR2 StorageD1Connectivity Cloud

Xでフォロー

Phillip Jones|@akaphill
Cloudflare|@cloudflare

関連ブログ投稿