News for hackers. Stuff that matters.
Re:Bedrock – Rock-solid distributed data by partycoder on Tuesday October 18, 2016 @08:51PM (#12740072)
I don't want to be a jerk but... just for the sake of common sense:

- Faster? Provide a benchmark. Faster is a relative thing, faster than what? faster under which conditions?

- More reliable... than what? under which conditions? how do you know it is more reliable?

- More powerful? I thought SQLite is more constrained than other SQL databases. e.g: No stored procedures. Powerful? how? compared to exactly what?

Nullius in verba. I don't take your statements as granted, give me a proof, otherwise it's just flatus vocis.

Re:Bedrock – Rock-solid distributed data by quinthar on Tuesday October 18, 2016 @09:36PM (#12740290)
Thanks for all that Latin! Yes, it's been open sourced for under 24 hours. Those are all good suggestions.
Re:Bedrock – Rock-solid distributed data by partycoder on Tuesday October 18, 2016 @10:30PM (#12740535)
Una lingua numquam satis est. Gratias tibi. Good luck with your project.
Re:Bedrock – Rock-solid distributed data by quinthar on Tuesday October 18, 2016 @10:43PM (#12740605)
Incidentally, sqlite doesn't provide stored procedures, but Bedrock does (using a C++ plugin capability). Otherwise, SQLite is actually very feature rich; a subset of features are here: http://sqlite.org/fullsql.html
Re:Bedrock – Rock-solid distributed data by partycoder on Tuesday October 18, 2016 @10:53PM (#12740642)
Yes... but you said "More powerful", rather than just "Powerful". More implies a comparison with respect to something else... with what specifically?
Re:Bedrock – Rock-solid distributed data by quinthar on Tuesday October 18, 2016 @10:57PM (#12740661)
Well, with respect to stored procedures, I think C++ is a far more powerful language than MySQL's SQL-based approach -- especially since Bedrock plugins can also encapsulate schema changes.

I think Bedrock's replication is definitely more more powerful than MySQL's as well.

So in general I think it's more powerful than MySQL. I'd love to hear your thoughts about where MySQL has the edge, however. Thanks!

Re:Bedrock – Rock-solid distributed data by partycoder on Tuesday October 18, 2016 @11:39PM (#12740874)
Does it have transactions?
Re:Bedrock – Rock-solid distributed data by quinthar on Wednesday October 19, 2016 @12:05AM (#12740987)
Yes, SQLite has transactions, and Bedrock runs all stored procedures in transactions. However, the Bedrock::DB plugin (which is just a single stored procedure: "query") doesn't expose transactions to the caller. So you couldn't, for example, call "BEGIN TRANSACTION" from the webserver, issue a few queries, and then call "COMMIT". The proper way in Bedrock (and I'd argue, for any modern database) is to package your transactions into stored procedures that execute inside the database itself.