Forums

slow server speed

I've built a website and hosted using free plan, and I thought it's too slow as our website loads images from database. So I had updated to 5 dollar plan and it became really slower than the previous one, all images from databases are getting loaded very slow. I'm wondering why I've paid and upgraded my plan. Please check and let me know what went wrong.

Which database are you using? If it's SQLite, that will always be slow, and will slow down even more if there are multiple processes accessing it concurrently. We recommend using MySQL for live sites.

I'm using MySQL database itself.

What code are you using to load the images from the database?

What code in the sense? I'm using python and the image is sql's blob data type. But what I'm saying is speed became slower after the upgradation.

Can you suggest me the customized plan? So that my website should be speed. And I want a clarification regarding CPU seconds, it's 2000 per day right. Each and every time when user opens my page it loads the images from database,So will that process also calculated in CPU hours?

CPU seconds are not used for web apps. It's a number of workers that decide about the resources available for them.

Giles was asking for a code snippet. If you don't want to share it here we can discuss it over the email.

Ok I will send via mail

I have shared the code through the mail. please check it and notify me what went wrong.

ok thanks, we will respond over email.