blue-jay / blueprint

Blueprint for your next web application in Go.
https://blue-jay.github.io/
MIT License
482 stars 77 forks source link

Bolts question #46

Open joeblew99 opened 8 years ago

joeblew99 commented 8 years ago

I am curious what led to not using bolts anymore ?

Were there roadblocks that make it not realistic ?

josephspurrier commented 8 years ago

Bolt is a great addition for key/value storage and caching, but MySQL is used a lot more so I decided to make it the default backend. I'm thinking about changing a few pieces around to make it easy to use the two together (just make it more modular instead of having a default database), but I haven't had the time to do so. What have your experiences been with Bolt so far and how do you utilize it?

joeblew99 commented 8 years ago

my experiences:

Used with bleve for search. Was really excellent. I was running the same code on all desktops, servers and mobiles. thats the cool thing with boltdb.

For CRUD i have not used it much. But there is Storm and Goa.

https://github.com/asdine/storm Storm is an ORM for BoltDB Goa is a generator for golang projects. Its pretty good and has some similarities to the blueprint project i feel. Its great for large projects https://github.com/goadesign/goa

josephspurrier commented 8 years ago

Ah storm makes it a lot easier to work with Bolt. I'll have to try it out and get back to you.

joeblew99 commented 8 years ago

You should I feel. Order by and other needed stuff is getting pit in. Or you can write it yourself.

I am trying to get it working with raft so I can replicate it at the moment.