A constant-time, variable-workload chunking tool with Doctrine2 integration