filter-service
filter-service copied to clipboard
benchmark on buffered channel to save filters to file
We use regular FileChannel to save filters to file. Maybe we can consider to use buffered channel to improve performance which means write bytes to a buffer first then flush all the cumulative bytes to file.
Because filter is comparatively large, usually several MB, using buffered channel might not have significant improvement. So we need a benchmark first.