I still have this problem if anyone can jump in. Developing Wordpress is now painful locally. In fact, it's faster to develop from a live server! The latency on clicks is around 8-9 seconds consistently when working under Vagrant. My life would change significantly for the better if I could get it to 1 second.
On Wednesday, July 5, 2017 at 8:32:31 PM UTC+2, Ian Robert Douglas wrote: > > Attempting to answer my own question ………….. I commented out my previous > NFS shared folder line in my Vagrantfile and added this: > > config.vm.synced_folder ".", "/var/www", type: "rsync", > rsync__exclude: ".git/", rsync__auto: true > > > I also installed the vagrant-gatling-rsync plugin because someone in a > comment on a page said it helped. > > I notice that when the action happens, it seems to happen faster now. But > I still have about a 7s latency. > > All this is under the latest Virtualbox, with KVM paravirtualisation, SSD > drive, low number of processors (apparently it’s better that way than the > logic of maxing it out), etc. > > > Here is my waterfall for wp-admin: > > > > You can see clearly the very long (7s) lag and then everything happens > superfast. > > Life would be perfect if I could get rid of the lag. > > But I don’t know if it’s possible. > > > Anyone? > > best wishes, > ian > > > > On Jul 5, 2017, at 4:25 PM, Ian Robert Douglas < > [email protected]> wrote: > > Hi, > > I use Vagrant to develop Wordpress builds locally and then get them > online. I use Scotchbox. I'm seeing latency of 7-12 seconds in wp-admin, > and it's driving me nuts. > > I've read around the issue, and it seems that rsync can help get speeds of > under 1s. > > This is about all I know. I can comment out lines in a Vagrantfile and I > know how to reload Vagrant. Beyond that, I know nothing. > > I don't understand anything about what rsync is for where it lives or how > to enable it or what the pitfalls of using it are. > > I need someone to explain in baby steps what to do. > > I'm really sorry. I know that much be frustrating for devs. I'm a > designer. My brain just can't process code, beyond absolute basics. I try, > but I'm lost. > > Can someone help? > > Basically I want to use rsync instead of NFS, to try to speed up Wordpress > on Vagrant to a level that is bearable. > > > Thanks in advance for any help, > ian > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/5c10459b-6155-4273-aef2-557ce6117925%40googlegroups.com > > <https://groups.google.com/d/msgid/vagrant-up/5c10459b-6155-4273-aef2-557ce6117925%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/64576a63-6c74-45bc-a4c4-9789b7dac4b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
