Re: Django server is slow after moving database to remote VM

2020-02-11 Thread Michael Thomas
1500kbps is horrendously slow too, really.. If you're seeing a significant difference between small transfers vs large, you might be stumbling into an incorrect MTU size for the network. This has popped up a little more often in recent years with the rise of vxlans over public connections. If

Re: Django server is slow after moving database to remote VM

2020-02-11 Thread Simen Russnes
Yes, I'm able to get speeds of at least 1500KB/sec between the two, but it only really happens when I do large queries like mysqldump for example. Most of the time it's at around 300KB/s or less. On 2/10/20 4:36 PM, Jody Fitzpatrick wrote: Are the VM's within the same network/hosting company? O

Re: Django server is slow after moving database to remote VM

2020-02-10 Thread Jody Fitzpatrick
Are the VM's within the same network/hosting company? On Mon, Feb 10, 2020 at 8:38 AM Simen Russnes wrote: > Ever since I separated my server running the Django code (2.2.9), and my > MariaDB server (10.3), there has been a significant lag increase in my > application. > > I've tried to limit th

Django server is slow after moving database to remote VM

2020-02-10 Thread Simen Russnes
Ever since I separated my server running the Django code (2.2.9), and my MariaDB server (10.3), there has been a significant lag increase in my application. I've tried to limit the number of explicit requests to the server as the round trip of opening and closing a connection now is obviously goin