Content pfp
Content
@
0 reply
0 recast
0 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
I need a local, persistent key/value store that works well with Go. Transaction support is not needed, I will just do simple atomic reads/writes to implement a local cache of data fetched from a farcaster hub (ex: fid->fname, castId->cast_data, etc) It would be nice (not required) if it provided some pruning mechanism out of the box that lets me prune entries after a specific number of entries is reached. I'm open to test something that fits the requirements but it's not 100% battle-tested, my app is not mission critical and can easily recover if things break once in a while.
3 replies
0 recast
4 reactions

treethought pfp
treethought
@treethought.eth
I'm not too deep in db comparison land, but I've had good experience with badger. I use it in a few projects for the same purpose of being a fast enough, local, simple cache including in my farcaster tui
1 reply
0 recast
1 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
Yes, I'm leaning towards badger after looking around for options. ๐Ÿ™
1 reply
0 recast
1 reaction

treethought pfp
treethought
@treethought.eth
https://github.com/treethought/tofui/blob/main/db/db.go
1 reply
0 recast
0 reaction