forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: epsilon on December 16, 2003, 01:00:17 pm

Title: Please a better programming of the code...
Post by: epsilon on December 16, 2003, 01:00:17 pm
Coppermine is good for small sites but for big sites the consultations to mysql eat up all the memory ram, and I have one 1gb of ram in my dedicated server but the scripts use all.
Title: Please a better programming of the code...
Post by: Tarique Sani on December 16, 2003, 01:15:44 pm
CPG has been known to run with 40,000 + images please provide some more details and also since the source code is available to you, you can try and modify it yourself and let us know how it goes
Title: Please a better programming of the code...
Post by: Joachim Müller on December 16, 2003, 01:34:16 pm
to reduce query load, you can disable all fancy stuff on the index page (show thumbnails, show first level albums, intermediate pics etc.), leaving only the category overview.
Also make sure you don't run the watermark hack, which consumes a lot of CPU power and is only recommended for small sites (with little traffic).
To reduce the number of queries, you could easily switch off the stats!

GauGau

P.S. Requesting better programming means indirectly insulting the programmers of the existing code of having produced "bad code", which won't make you much friends with the devs, so I recommend reviewing your attitude, unless you came here to just troll-post.
Title: Please a better programming of the code...
Post by: Tarique Sani on December 16, 2003, 01:43:27 pm
Quote from: "gaugau"
so I recommend reviewing your attitude, unless you came here to just troll-post.

I overlooked that part believing it was most of a language issue rather than attitude  :wink:
Title: Sorry... I expressed bad.
Post by: epsilon on December 16, 2003, 03:25:33 pm
Sorry I believe that I have expressed bad,you have all reason, since copermine is the best free script of photos and i didnt want to say for nothing that coppermine is bad thnks for the great work that the team do.
My english is not good  :oops:

PD: Thnks for that gaugau it runs better now.