RSSAmplifier

Blog

Markus Ast

ma.rkusa.stRSS feed ↗5 posts

Latest posts

Transactions for SQLite on Cloudflare Durable Objects

Transactions for SQLite on Cloudflare Durable Objects tl;dr: Adding long-lived connections (via WebSockets) to my previously built SQLite on Cloudflare Durable Objects, enables the use of SQL transactions. This is a follow-up to Store SQLite in Cloudflare Durable Objects . Since then, Cloudflare announced D1 , their official SQLite offering. I am happy to see an official SQLite product from…

Store SQLite in Cloudflare Durable Objects

Store SQLite in Cloudflare Durable Objects This is my journey of creating a proof-of-concept of persisting an SQLite database in a Cloudflare Durable Object. It is not meant as a tutorial, but rather as something I myself can get back to it, to revisit what and why I did certain things. tl;dr: A custom SQLite virtual file system and some WASM/WASI compilation magic allow to run SQLite on a…

WASM instead of C Dependencies?

WASM instead of C Dependencies? I have web applications written in Rust and Go that need some basic image processing (reading JPEGs, PNGs, writing JPEGs, WebPs, AVIFs and resizing). This is something I always struggle with, because most libraries for image processing are written in C ( libpng , libwebp , mozjpeg ; or higher-level ones like vips ). While there are usually dependencies in each…

Dynamic Gatsby Routes on Cloudflare Pages

Dynamic Gatsby Routes on Cloudflare Pages This post is about getting dynamic routes – or more specifically the rewrites for dynamic routes – to work with Cloudflare Pages deployments. Cloudflare Pages is still quite new and thus not as feature rich as other longer established JAMstack platforms. But what it lacks in features, it makes up in speed, which is why I desperately want to move some of my…

Simple single-executable Blog generator

Simple single-executable Blog generator This blog lists what I want from a blog generator, and shortly shows how I've achieved all my requirements, which – unfortunately – made me write a custom tool. The post in itself doesn't have a lot of value but I cannot test my fancy new tool without a first post. In my past job, I found it increasingly useful to write RFCs. They helped me explain things to…