Skip to content

Commit

Permalink
Try enabling snappy to trade cpu for reduced disk IO / usage
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip committed Jan 15, 2025
1 parent 5dde3d0 commit b8f50f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/apm-server/sampling/eventstorage/pebble.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func OpenPebble(storageDir string) (*pebble.DB, error) {
MemTableSize: pebbleMemTableSize,
Levels: []pebble.LevelOptions{
{
Compression: pebble.NoCompression,
Compression: pebble.SnappyCompression,
FilterPolicy: bloom.FilterPolicy(10),
FilterType: pebble.TableFilter,
},
Expand Down

0 comments on commit b8f50f3

Please sign in to comment.