All tags

TAG

#performance

7articles

Retrofitting CloudFront + WAF onto an Existing Reverse-Proxy Origin: Practical Patterns

An implementation log of migrating a group of services running on Docker + Traefik, with no downtime, to a CloudFront + WAF-protected setup. I cover naming for the origin-only subdomain, pitfalls with shared Security Groups, the case for starting WAF in COUNT mode, cache design for SPARQL/API traffic, and other recurring decision points.

awscloudfrontwafterraform

Elasticsearch → Static JSON / D1 Migration — You Don't Need a Search Engine for Small Datasets

Benchmarking Elasticsearch, Cloudflare D1, and Static JSON for full-text search across ~1,800 Japanese text records.

cloudflareelasticsearchd1sqlite

🧠Diagnosing and Fixing Memory-Related Crashes in an iOS OCR App

Investigation and fixes for a 6.7% crash rate in KotenOCR, an iOS OCR app using ONNX Runtime with 6 models totaling ~230MB on disk.

iosswiftmemoryonnx

Parallelizing OCR Recognition on iOS with Swift Concurrency for up to 6.7x Speedup

Using withThrowingTaskGroup to parallelize OCR recognition in an iOS app, achieving 1.4x to 6.7x speedup depending on the number of detected text regions.

iosswiftconcurrencyocr

🚀Achieving Up to 7.6x Faster Image Delivery by Optimizing Cantaloupe IIIF Server Cache

How cache configuration and parameter tuning of the Cantaloupe IIIF server achieved up to 7.6x faster tile delivery, with methods and results.

iiifcantaloupedockerperformance

🗺️Fixing Custom Marker Lag on Zoom in MapLibre GL JS with GeoJSON Layers

DOM-based custom markers (maplibregl.Marker) in MapLibre GL JS lag behind the map during zoom and pan. This article explains the cause and a solution using GeoJSON source with Circle/Symbol layers.

maplibrejavascriptgiswebgl

5x Faster XSLT Processing: Migrating from Saxon-JS to Saxon-HE

Switching from npx xslt3 (Saxon-JS) to Java Saxon-HE reduced XSLT build time from 1m48s to 23s for a TEI XML digital humanities project.

xsltsaxonteidigitalhumanities