Miniflare - โปรแกรมจำลอง CloudFlare Workers แบบโลคัล
(github.com)- โอเพนซอร์สที่ช่วยให้พัฒนา Workers ซึ่งเป็นเซิร์ฟเวอร์เลสได้ง่ายบนเครื่องโลคัล
→ มีการบันทึกรายละเอียด, การเฝ้าดูไฟล์ และหน้าแสดงข้อผิดพลาดที่อ่านง่าย
- รองรับความสามารถส่วนใหญ่ของ Workers
→ Events : Fetch / Scheduled (ด้วยตนเอง/cron)
→ KV, Cache, Durable Objects, WebSockets, Modules
→ รองรับ WebAssembly
→ รองรับ Source Map
→ มาตรฐานเว็บ : Base64, Timers, Fetch, Encoding, URL, Streams, Crypto
- โอเพนซอร์ส TypeScript
1 ความคิดเห็น
CloudFlare, เริ่มเบต้า Workers Unbound แบบเซิร์ฟเวอร์เลส https://th.news.hada.io/topic?id=2543
CloudFlare, เปิดตัว Durable Objects เวอร์ชันเบต้า https://th.news.hada.io/topic?id=2930
วิธีที่ CloudFlare ทำให้เวลา cold start ของ Workers เป็น 0 https://th.news.hada.io/topic?id=2567
edge-sql : SQLite แบบเซิร์ฟเวอร์เลส https://th.news.hada.io/topic?id=3613
→ ฝัง SQLite ลงใน Cloudflare Workers ด้วย WASM และเก็บข้อมูลไว้ใน Workers KV