Spooling (von englisch für „aufspulen“) ist ein Vorgang z. B. in
Betriebssystemen, bei welchem zu bearbeitende Aufträge (etwa
Druckaufträge) in einem
Puffer im Speicher oder auf einem externen
Datenspeicher gelagert werden, bevor sie der eigentlichen Verarbeitung zugeleitet werden. Die Abarbeitung der im Puffer gehaltenen Aufträge durch das verarbeitende System erfolgt als
Stapelverarbeitung. Spooling wird vor allem dann verwendet, wenn die Datenausgabe deutlich schneller erzeugt wird, als das Zielgerät die Verarbeitung vornehmen kann.