SShortSingh.
Back to feed

Monitoring a Static Site With Only CDN Logs: A 60-Line Daily Digest

0
·5 views

A static site has no server metrics, so the author relies on CDN access logs as the main signal source. A daily script reads the previous day's logs and reports request and IP volume, status code buckets, the most-requested 404 paths, top external referrers, and bot share. The digest focuses on day-over-day changes, and alerts are reserved for cases like 5xx errors exceeding 0.5% of requests or traffic falling more than 70% below the seven-day median. The 60-line dependency-free script has reportedly caught a broken redirect map, aggressive scraping, and a deleted page with inbound links.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Guide to Accepting TRC-20 USDT Payments in Your App

USDT on the Tron network is widely used because its fees are low and most exchanges support it, making it a common choice for customer top-ups and invoice payments. The guide explains assigning each customer a dedicated Tron address and being notified as soon as USDT arrives, so credits are applied only once. USDT deposits work through the token contract rather than TRX transfers, so balances must be read from the contract's Transfer events to detect payments. Instead of running a Tron node and scanning every block, the guide uses the BlocksReader API, which creates per-customer addresses and sends webhooks on confirmed deposits. The recommended approach is to verify webhook signatures and credit balances using the chain, transaction hash, and address as a unique key within a single database transaction.

0
ProgrammingDEV Community ·

AI Agents Dominate LinkedIn's Tech Stack Talk as Developers Weigh Production Challenges

A LinkedIn review conducted on 2 December 2026 found that AI agents now lead tech stack discussions on the platform. The most cited combination pairs Python, FastAPI, and LangChain or LangGraph with a vector database and a React or Next.js front end. Industry surveys cited in the piece, including reports from Postman, Anthropic, LangChain, and JetBrains, indicate widespread use of AI in development and growing deployment of agents. Respondents also flagged serious obstacles, with missing business context, governance, hallucinations, and output quality cited as the main barriers to production use.

0
ProgrammingDEV Community ·

Why Local LLMs Slow on Apple Silicon: Bandwidth, KV Cache, and Storage Limits

Running quantized LLMs on Apple Silicon Mac minis can slow sharply once prompts or context windows grow, because of two physical limits. Token generation is bound by unified memory bandwidth, which varies across chip tiers from 120 GB/s on the M4 to 546 GB/s on the M4 Max. A 16GB M4 Mac mini baseline measured 16.21 tokens per second on a 27B Q2_0 model, while higher-tier chip figures are theoretical projections rather than lab results. The FP16 KV cache expands with longer context and can push memory past roughly 12.42 GiB, triggering compression and disk swapping that cut speed. External storage also matters, since USB 3.2 Gen 2x2 enclosures fall back to 10Gbps on Apple Silicon, so USB4 drives are recommended instead.

0
ProgrammingDEV Community ·

Why Honest Vulnerability Works Better When Framed as a Clear Interface

The article argues that people often struggle to share painful experiences because raw, tangled emotions are hard to communicate without overwhelming either themselves or the listener. It draws an analogy to software, where systems expose a bounded API rather than a raw memory dump, suggesting personal disclosure should follow a similar structure. The author contrasts two common failure modes: staying silent, or compressing complex pain into harsh self-verdicts that give others no usable information. Using the FTR.cc framework, the piece offers an example showing how reframing a self-critical statement as a neutral observation invites genuine help while protecting dignity. The post is the first installment of a 50-part series exploring this idea further.