beehive icon indicating copy to clipboard operation
beehive copied to clipboard

Storage containers for Bees

Open muesli opened this issue 10 years ago • 2 comments

Bees should be able to keep state with the help of local & global containers offering temporary & persistent storage.

muesli avatar Jun 25 '14 09:06 muesli

Without these containers, restarting beehive implies restarting all bees as if they never run. Typically, my RSS to Twitter chain would re-emit tweets each time beehive is restarted

Riduidel avatar May 29 '19 16:05 Riduidel

What would it take to expose a basic key/value store interface for the bees? We could even make it iterable since most Go key/value stores (bbolt, badger, etc..) all support map-reduce and prefix scans.

Perhaps only the bees that care about this interface (rss, email, etc..) would choose to use it. It could also simply be added manually to the bees that want it. I would assume having a separate database file for each bee would be ideal to help with manually "clearing the cache" unless we want to make it a UI option that handles that for us.

xeoncross avatar Feb 04 '20 18:02 xeoncross