Measured event size · Distributed system

Apache Spark log size: 97 bytes per event

The average Apache Spark event is 97 bytes, measured from samples of its logs. A distributed system source typically produces 100 events per second per device, bursting to 1,000: per node at INFO; log level is the lever. The rate is an informed estimate; the size is measured.

97 B
per event, measured
100
events per second, typical
838 MB
per device per day
306 GB
per device per year

What that comes to

One device, raw bytes, at the typical rate for a distributed system source.

PeriodAt 100 events/sAt the 1,000 events/s burst
An hour34.9 MB349 MB
A day838 MB8.4 GB
90 days75.4 GB754 GB
A year306 GB3.1 TB

A day of Apache Spark logs from one device at the category's typical rate, 838 MB, is about the size of a CD-ROM.

Size your own

100
events per second
838 MB
per day
75.4 GB
at retention

Raw bytes, before compression, indexing overhead and replication.

Measure a sample of your own

The figure above is an average; yours will differ, and for Apache Spark what moves it most is this: per node at INFO; log level is the lever. The profiler reads a sample from Apache Spark in your browser, line by line, one event per line, and reports the bytes per line to set against it. Nothing is uploaded.

Other distributed system sources

The distributed system category: its typical rate and every source in it →

Logcaliper, free on iOS, has these sizes and rates built in and sizes a whole list of sources at retention: storage, cluster capacity, nodes.