webvirtcloud
webvirtcloud copied to clipboard
long instance loading time (~2 minutes)
Hello all,
there is the following problem: I have ~90 Computes running over SSH, so far everything works fine, but when I switch to "Instances" the load time is at about 2 minutes. WebVirtCloud runs on a relatively fast machine and my internet connection is far from being busy. Is it possible to reload the Instances in the background while still seeing the previous state (caching / daemonize)?
i also have some response problems and i switched from sqlite to mysql. it has solved some of my problems. sqlite is suitable for a few host and instances (~10 host, ~150 instances) may be you should switch it.
Thanks for the answer, may I ask how to do this?
I managed to switch to mysql, here is how i did it:
You need a working mysql and change the following points in webvirtcloud/settings.py
DATABASES = { "default": { "ENGINE": "django.db.backends.mysql", "NAME": os.path.join("your_db_name"), "USER": 'user', 'PASSWORD': 'password', 'HOST': '127.0.0.1', 'PORT': '3306', } }
then you use the managa.py to migrate to mysql
python manage.py migrate
then restart services or reboot
Unfortunately, that was not the solution. The loading times are still just as long. I suspect that it is due to the many connections (SSH); Is it possible to cache the previous instances and reload in the background / only reload with the press of a button?