Community mailing list archives

community@mail.odoo.com

Re: Odoo on Crate Craziness

by
Graeme Gellatly
- 08/01/2016 06:31:29

Sometimes I see these things and think, guess all the obvious issues are resolved then. Lets turn it up to 11.

No criticism btw, I have no idea what you are talking about to be honest.


On Mon, 1 Aug 2016 5:37 PM David Arnold <dar@devco.co> wrote:
Interesting article on randomized testing, also used at elasticsearch: http://blog.mikemccandless.com/2011/03/your-test-cases-should-sometimes-fail.html

El dom., 31 jul. 2016 a las 23:50, David Arnold (<dar@devco.co>) escribió:
From crate docs: "If a query specification results in a get operation, changes are visible immediately. This is achieved by looking up the document in the translog first, which will always have the most recent version of the document. The common update and fetch use-case is therefore possible. If a client updates a row and that row is looked up by its primary key after that update the changes will always be visible, since the information will be retrieved directly from the translog.  "  sounds like good news, "client" presumably being the odoo codebase talking to the db backend. This would mean, even in a scaled out odoo application, if user sessions are sticky - a common pattern -, from the perspective of one single user, the DB appears to be always consistent. Am I right?
Questions: 
- atomicity only on the row level might probably not be enough. 
- No Transactions, what's optimistic concurrency control?

El dom., 31 jul. 2016 a las 23:35, David Arnold (<dar@devco.co>) escribió:
Some related infos:
Benefits can come at a cost, but those cost can only affect the beneficial part, so there should be an unbiased assessment as there can be a fair chance of being overall "better" (= pareto efficient).

I think, if it's possible to eliminate concurrent writes out of the equation, the most business critical problem class disappears and writes architecture would be "quite" similar to the actual postgres setup, while batteries still included: speed of distributed reads, HA, replication, leadership election, split brain healing, etc.

Do you know if one of the be-tested solutions https://github.com/aphyr/jepsen allows to specify a sinlge write point?

Best
El dom., 31 jul. 2016 a las 23:07, Kristian Koci (<kristian.koci@gmail.com>) escribió:
Sounds very interesting

Tell us more about it :P, do You have an idea so far?
On Sun, Jul 31, 2016 at 10:12 PM, David Arnold <dar@devco.co> wrote:
Hi,

who is in for investigating some Odoo on Crate.io craziness? 
Stuff keeps changing... :)

Best,

David

_______________________________________________

--
Kristian Koci
Linux User #582221

_______________________________________________

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe