Snorby / snorby

Ruby On Rails Application For Network Security Monitoring
Other
1k stars 224 forks source link

Optimizations #517

Open hawken93 opened 1 year ago

hawken93 commented 1 year ago

Hi,

I've made some changes to make snorby run faster with a large database and offline.

Some of the changes like removing gravatar is probably not universally wanted and it would be better to actually make a global toggle for it.

Removing the signature activity from the event detail view may not be wanted either, but helps loading time.

You can test this by inserting about 500k-1 million events and running snorby on it.

The first and the last two changes listed may be of universal usefulness :)

Let me know what you think, and I'll update the PR :)