Readit News logoReadit News
7777777phil commented on Claude Opus 4.6   anthropic.com/news/claude... · Posted by u/HellsMaddy
simonw · 5 days ago
The bicycle frame is a bit wonky but the pelican itself is great: https://gist.github.com/simonw/a6806ce41b4c721e240a4548ecdbe...
7777777phil · 5 days ago
best pelican so far would you say? Or where does it rank in the pelican benchmark?
7777777phil commented on Show HN: CloudCounter – Serverless GoatCounter on Cloudflare Pages and D1   github.com/philippdubach/... · Posted by u/7777777phil
bsenescu · 6 days ago
This is awesome. What were the hardest parts of porting it to Cloudflare?
7777777phil · 5 days ago
Thanks! Hardest part was redesigning the data model.. GoatCounter does complex aggregations at query time, but D1's 10ms CPU limit means you have to pre-aggregate everything (hourly rollups, per-dimension stats tables). Session dedup was tricky too since Workers are stateless so I ended up using KV with IP+UA hash and 8hr TTL. The other annoyance is Pages doesn't support cron, so daily cleanup needs a separate Worker. Still some way to go implementing Zero Trust auth etc..

Deleted Comment

u/7777777phil

KarmaCake day831August 28, 2025
About
me (at) philippdubach.com
View Original