Skip to content
This repository was archived by the owner on May 27, 2026. It is now read-only.

rhenning/bunsen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bunsen

Bunsen is a cache warming tool for MongoDB systems. Some use cases include:

  • Loading collection data or indexes into the OS filesystem cache
  • Loading collections from lazily-loaded backup media (e.g. AWS EBS snapshots) into block storage

examples

Load data for zebras and unicorns followed by indexes for unicorns and minotaurs from the "mydb" database:

./bin/bunsen warm --host db7.domain.tld --database mydb --collections zebras unicorns --indexes unicorns minotaurs

Note that the order of collections and indexes is significant. Collections are always loaded first, followed by indexes in the order specified. You can use this to your advantage if short on memory as things will be evicted from cache in the order listed.

Load only the past week's workflow data from the local machine:

./bin/bunsen warm --database mydb --collections workflows --skip-indexes --not-before "a week ago"

Or just load everything found in the database:

./bin/bunsen warm --database mydb

Check out the help for a full list of options:

./bin/bunsen help warm

About

Bunsen is a cache warming tool for MongoDB

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages