Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Software is very slow, let's make it super fast

Kamal   ( User )

Commented 3 years ago

Hello, the software is very slow even on a fast server and fast internet as well. Even on localhost, with good performance laptop, the software is slow. How can we make it fast? Even to login, it takes around 5-15 seconds. Similarly, for each transaction, it takes a too long time. Let's make it fast.

Denis Dulici   ( Admin )

Commented 3 years ago

Hello,

It's already super fast on our cloud with +100K companies and Digital Ocean:

https://bit.ly/akaunting-do-start

Kamal   ( User )

Commented 3 years ago

It takes on average 15 seconds to login on the local computer and even on online. and around 10-15 seconds to save any data, like bills, payment, so on. My host provider is digital ocean cloud host. But taken from third party in Nepal. because we cannot pay directly by Nepali bank Card.

Juan Zarolas   ( User )

Commented 3 years ago

I have a similar problem. It's specially visible with the tests.

I run Akaunting locally in a Docker container. My Docker environment has 4 CPUs and 2GB RAM and I set up a MySQL 5.7 database and an Apache server. They are not a lot of resources but should be enough to run an app locally. However, the tests take insanely long tu run. For example each test in the CurrenciesTest suite takes around 2 m30 s to finish. Is this normal? I have Xdebug installed in my Docker container, can this have an impact on performance?

Dockerfile: https://pastebin.com/RAmj3QFm
docker-compose.yml: https://pastebin.com/3qM7ph9f

Juan Zarolas   ( User )

Commented 3 years ago

Xdebug was the problem for the slow tests. I have disabled it. If you are using docker-compose you can use this tutorial (https://carstenwindler.de/php/enable-xdebug-on-demand-in-your-local-docker-environment/) to enable/disable Xdebug on the fly.

Please login or register to leave a response.

Showing 1 to 5 of 5 discussions