Re: Sqlite3 locking
Angelo Ativo <[email protected]> Wed, 14 Sep 2016 19:31:15 +0000
| Newsgroups | gmane.network.dns.powerdns.devel |
|---|---|
| Message-ID | <[email protected]> |
Thank you for the response Justin, it’s much appreciated. —Angelo > On Sep 12, 2016, at 1:08 PM, Justin Clift <[email protected]> wrote: > > On 12 Sep 2016, at 20:53, Angelo Ativo <[email protected]> wrote: > <snip> >> Wouldn’t the chances of this failure be relatively high if there were say, hundreds of NSUPDATE requests to a PDNS server backed by sqlite3 every second? What happens when two NSUPDATE requests occur at the exact same time? > > Note - I’m not a PDNS developer, so can’t comment on the retry thing (though > it sounds useful). > > Specifically with the SQLite bit though, it’s not really designed for high > write rates (with contention). If someone’s usage is becoming like that, > it’d be a good idea to migrate the SQL backend to something with good write > contention handling. (there are many options, though naturally I’ll point > at PostgreSQL as being decent :>) > > Regards and best wishes, > > Justin Clift > > -- > "My grandfather once told me that there are two kinds of people: those > who work and those who take the credit. He told me to try to be in the > first group; there was less competition there." > - Indira Gandhi > _______________________________________________ Pdns-dev mailing list [email protected] https://mailman.powerdns.com/mailman/listinfo/pdns-dev
signature.asc
(application/pgp-signature, 842 B)
-----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJX2aWDAAoJEIpi9HygYB4jp5QQAIyOEHX+LXWvNWwyD1DZS806 ZLoW/z+2JKxmRiexrsq9g5vC6VlW1y5K1gYDv24GmSl54n5rDaX8A4EyAkglZHfo bZWF6JqgruVRCGwVc6tAWEDK6FLJ7l8vCi4cRh+LUloBGrCa/WW1J3FTqkz5OJHF RLDjFNpVy8VJSozXUyVM//k6hs/mbhhUr0RAtvd6QNJ9R2207gf67r2Mat26dGim l0ltbUb33ZEUMLmjXHxMC7GVvPyxIyCt80kMpd/NwGdtE30eWaHUn+NiEJzHPUXB O98LrkhHQpdqagIHJ/LRah8KEM0p181Yo0LR7OjNalBc101n/l5eLVq1+DglhOgN /hV83bD7EzredlvOy00coubRbdeIugTgWp4sVVFgupl3DdKMVX5SnSwo+BosTRpu NIBF32+QqErcndndXhv2courO4vbtkXYGtD7MSk0p2Ri1bvdUwtzkp6QtQQumXu0 inPjfeJTsIccAdwsPL2dcAUEVuaMwKaq8paY21yOyNhIw+2OFUuQV2vjMu+iDFgb 8sxgUO0sxmOQ3a83hT0g/dLabrERVAwl/ItmtNgf9NkO1/uooYD/rpWqEO01Ipj+ F580ajY2O0ncATgoiQmHKGo5PA3Fzr2qxYqkNf0pten7aOhhaQXfa/QB8DnBdMx/ iXYr/gE1hE9qWMdO2L1+ =Up4W -----END PGP SIGNATURE-----