[openstack-dev] [nova] FKs in the DB

Julien Danjou julien at danjou.info
Tue Nov 24 10:31:00 UTC 2015


On Mon, Nov 23 2015, Jordan Pittier wrote:

> Is the DB the limiting factor of openstack performance ? De we have hard
> evidence of this ? We need numbers before acting otherwise it will be an
> endless discussion.
>
> When I look at the number of race conditions we had/have in OpenStack, it
> seems scary to remove the FK in the DB. FK look like a "guardian" to me and
> we should aim at enforcing more consistency/integrity, not the contrary.
>
> Also, this is an open source project with contributors with different
> skills and experience (beginners, part time contributor etc.). Maybe this
> is something to also consider.

I agree with Jordan here, that this is to me a discussion that fits into
the "premature optimization" category.

Once Nova (and many other OpenStack projects) are correct (e.g. no more
race condition, orphan data, etc), it'd be great to start having this
kind of conversation again.

(and +1 to Mike over good points).

-- 
Julien Danjou
-- Free Software hacker
-- https://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151124/bf140077/attachment.pgp>


More information about the OpenStack-dev mailing list