splunk / eventgen

Splunk Event Generator: Eventgen
Apache License 2.0
376 stars 180 forks source link

[FEATURE/IMPROVEMENT] Improve memory usage in perdayvolume generator #414

Open jmeixensperger opened 3 years ago

jmeixensperger commented 3 years ago

Is your feature request related to a problem? Please describe. The perdayvolume generator creates + stores multiple event lists/dicts while populating the output queue.

Describe the solution you'd like We should look at using a buffered io stream to mitigate the memory usage.

Describe alternatives you've considered Re-architect perdayvolume generator? Any alternative would be complex and require more effort

Additional context This is not currently blocking customers from generating their desired data (hence the feature/improvement tag), but this could drastically reduce the maximum capacity of perdayvolume's generation. We should also measure + any report any performance gain associated with this improvement.