Hi all!
I was planning to upgrade my Davical servers. I was thinking on setting
them up with Nginx and FPM (php 7). I have read that Nginx has a dav
handler that should allow methods like MKCOL or PROPFIND, PROPATCH,
etc... How is your experience in this sense?. I have seen that Debian
installs it with mod_php by default when you install the Davical
package... I think it all (FPM and Nginx) should work. Shouldn't it?.
By the way, I have another question. Sometime ago, I suffered some
issues due to database locking when, for instance, Thunderbird tried to
sync a new addressbook of a user (with 100 contacts for instance) and
tried to upload contacts from ten to ten (as an example). So, as I don't
have a single Davical instance balanced across different php servers, I
could create a fast and not the best, but a fully functional fix. Each
user in Davical would always be modified by only a single process of
PHP... so by a single connection to that database. As changes are fast I
was able to keep waiting some miliseconds to the other processes (trying
to modify the same user) and after perhaps a couple of seconds all the
updates needed were done. This way I avoid the issues like I had
sometime ago with Thunderbird (I don't know if it still has this kind of
issues... or another caldav client...). I have read some locking
improvements have been performed. The locking improvements, have
something to do with the kind of locking I commented, like the one I
suffered with Thunderbird?.
My third question is about davical-cli. I contributed (with my company
permission to do so... and they will give me again now...) it happily
some years ago. I was wondering if it needs some kind of update for
handling the database stuff, because I would be very happy again on
doing those changes and later contributing them again... Does it need
some modifications for handling actual schemas and so?.
Cheers!,
I was planning to upgrade my Davical servers. I was thinking on setting
them up with Nginx and FPM (php 7). I have read that Nginx has a dav
handler that should allow methods like MKCOL or PROPFIND, PROPATCH,
etc... How is your experience in this sense?. I have seen that Debian
installs it with mod_php by default when you install the Davical
package... I think it all (FPM and Nginx) should work. Shouldn't it?.
By the way, I have another question. Sometime ago, I suffered some
issues due to database locking when, for instance, Thunderbird tried to
sync a new addressbook of a user (with 100 contacts for instance) and
tried to upload contacts from ten to ten (as an example). So, as I don't
have a single Davical instance balanced across different php servers, I
could create a fast and not the best, but a fully functional fix. Each
user in Davical would always be modified by only a single process of
PHP... so by a single connection to that database. As changes are fast I
was able to keep waiting some miliseconds to the other processes (trying
to modify the same user) and after perhaps a couple of seconds all the
updates needed were done. This way I avoid the issues like I had
sometime ago with Thunderbird (I don't know if it still has this kind of
issues... or another caldav client...). I have read some locking
improvements have been performed. The locking improvements, have
something to do with the kind of locking I commented, like the one I
suffered with Thunderbird?.
My third question is about davical-cli. I contributed (with my company
permission to do so... and they will give me again now...) it happily
some years ago. I was wondering if it needs some kind of update for
handling the database stuff, because I would be very happy again on
doing those changes and later contributing them again... Does it need
some modifications for handling actual schemas and so?.
Cheers!,