Tagged articles
2 articles
Page 1 of 1
Open Source Linux
Open Source Linux
Jun 25, 2023 · Cloud Native

Choosing Java Base Images, JDK vs JRE, and Enabling Graceful Shutdown in Docker

This article explains how to select a suitable Java base image (Alpine or Debian), decide between JDK and JRE, choose Oracle or OpenJDK, pick an appropriate JVM, configure signal handling for graceful shutdown, manage container memory limits, control DNS caching, and optionally compile native binaries with GraalVM.

DockerGraceful ShutdownJDK
0 likes · 23 min read
Choosing Java Base Images, JDK vs JRE, and Enabling Graceful Shutdown in Docker
21CTO
21CTO
Jun 9, 2016 · Backend Development

Mastering Web Crawlers: From a 3‑Line Script to Scalable Distributed Scrapers

This article explains what a web crawler is, shows a minimal three‑line Python example, expands it into a functional crawler, identifies common shortcomings, and presents practical solutions such as parallelism, priority queues, DNS caching, Bloom‑filter deduplication, storage choices, and inter‑process communication for building robust distributed scrapers.

ParallelismWeb Crawlingdeduplication
0 likes · 9 min read
Mastering Web Crawlers: From a 3‑Line Script to Scalable Distributed Scrapers