readeef icon indicating copy to clipboard operation
readeef copied to clipboard

DB store

Open joeblew99 opened this issue 8 years ago • 5 comments

Really nice project t.

You can use a boltdb easily to replace e postresql and sqlite. Have a look at storm on github. It will save you alot of work i feel. Curious what you think in case you did not know.

https://github.com/asdine/storm

joeblew99 avatar Mar 06 '17 16:03 joeblew99

Hi @joeblew99

I don't really think 'easily' is a suitable word here. Not sure what storm offers, but by the looks of it, joins aren't on the menu. That being said, it would be nice to have a content store based on bolt, or goleveldb, or similar. It would however require its own, different kind of data model.

And it's one of the things I'm meaning to do in the future.

urandom avatar Mar 07 '17 13:03 urandom

what type of data store then ? have you seen dgraph ? Its going 100% golang in about a month.

On Tue, Mar 7, 2017 at 2:52 PM Viktor Kojouharov [email protected] wrote:

Hi @joeblew99 https://github.com/joeblew99

I don't really think 'easily' is a suitable word here. Not sure what storm offers, but by the looks of it, joins aren't on the menu. That being said, it would be nice to have a content store based on bolt, or goleveldb, or similar. It would however require its own, different kind of data model.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/urandom/readeef/issues/15#issuecomment-284726604, or mute the thread https://github.com/notifications/unsubscribe-auth/ALcac2coShPEJJSfM1xWeA9BSXM2Ekv_ks5rjWEhgaJpZM4MUZKy .

joeblew99 avatar Mar 09 '17 09:03 joeblew99

I looked at the dB schema.

Yes you have a few joins and tables with cascade deleted.

With boltdb and especially storm ( that uses boltdb) it's possible to have what you have now. If you dB schema was huge it would be a pain, but i think adding a 3rd dB based on bolt is a no brainer.

But why bother ? It's 100% golang so easier for users. It's more flexible.

You can see how easy it is here:

https://github.com/blevesearch/bleve-explorer

https://github.com/thesyncim/365a/

joeblew99 avatar Mar 16 '17 15:03 joeblew99

@joeblew99

Like I said, I want to look into using bolt or a similar pure go db in the future. However, I wouldn't mind it someone else implemented that beforehand.

urandom avatar Mar 17 '17 15:03 urandom

fair enough. i will see if i get time. No promises though.

On Fri, Mar 17, 2017 at 4:59 PM Viktor Kojouharov [email protected] wrote:

@joeblew99 https://github.com/joeblew99

Like I said, I want to look into using bolt or a similar pure go db in the future. However, I wouldn't mind it someone else implemented that beforehand.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/urandom/readeef/issues/15#issuecomment-287395101, or mute the thread https://github.com/notifications/unsubscribe-auth/ALcac6DSavCaGSdm8py8X4iu2ogKF98gks5rmq3qgaJpZM4MUZKy .

joeblew99 avatar Mar 17 '17 16:03 joeblew99