Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Please a better programming of the code...  (Read 4448 times)

0 Members and 1 Guest are viewing this topic.

epsilon

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
    • http://www.cremita.com
Please a better programming of the code...
« 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.
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Please a better programming of the code...
« Reply #1 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
Logged
SANIsoft PHP applications for E Biz

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Please a better programming of the code...
« Reply #2 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.
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Please a better programming of the code...
« Reply #3 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:
Logged
SANIsoft PHP applications for E Biz

epsilon

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 95
    • http://www.cremita.com
Sorry... I expressed bad.
« Reply #4 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.