I've been making OpenCart shops for a while, but they have mostly been 100-500 products, and I've always found it a great platform. I'm currently working on a shop with nearly 20,000 products, and have noticed some small issues come up as a result.
I was wondering what the largest OpenCart shop developed so-far was, and if there were any issues caused by a large number of products. I'd be really keen to hear from the community about their experiences of large shops. I'm really curious if 20,000 products is fairly normal, or if I'm pushing the boundaries here.
I'm using OpenCart 1.4 on a LAMP server, the shop is for Pet products.
Looking forward to your responses.
Andy
I'm a web developer at http://www.ssofb.co.uk in Aberdeen, Scotland.
Got a random blog at http://www.andygaskell.blogspot.com/.
We are currently testing OpenCart with 9000 Products on a local server, it seems to be running ok... I know this may not be of much help seen as you are after adding 20,000 products.
Best Regards,
David Catherall,
AireTech IT.
Thanks for the reply, 9,000 products is a fair size shop, same order of magnitude. Glad to hear it's running ok.
I've got all the products in now, and have been doing some testing. The only issue I've seen so-far is that you can't select an image for a product in the admin section, I think this is due to there being 16,000 images in image/data folder and it is trying to generate thumbnails of them all.
ta
Andy
I'm a web developer at http://www.ssofb.co.uk in Aberdeen, Scotland.
Got a random blog at http://www.andygaskell.blogspot.com/.
Best Regards,
David Catherall,
AireTech IT.
I'm a web developer at http://www.ssofb.co.uk in Aberdeen, Scotland.
Got a random blog at http://www.andygaskell.blogspot.com/.
I tried to get this thread started a few weeks ago, I am very glad to see this discussion finally get traction.airetechit wrote:Hi,
We are currently testing OpenCart with 9000 Products on a local server, it seems to be running ok... I know this may not be of much help seen as you are after adding 20,000 products.
Since our original post http://forum.opencart.com/viewtopic.php?f=10&t=10916, we have put a shop into production that contains over 12k items and is handling @ 2,191unique visits per day on a 1GB of RAM VPS. I have seen upwards of 70 visitors one the site at one time with no performance degradation. I realize this isn't a huge amount of traffic, but so far we are very happy with the result.
We did however have to make some modifications like; query cache, image handling - amongst other things.
Has anyone else had any luck with some of the more recent builds? Traffic/Load?
- Andrew
http://www.tintedpixel.com
Web Centric Creative
Sorry I missed your post, I skimmed all the titles of existing posts for scaling / large shop sort of chat, before I started this thread.
Great to hear about your shop, not only is that a large number of items, but pretty high traffic volumes too.
You mentioned...
...and I'd be really keen to hear what you found worked best for these settings.tintedpixel wrote:modifications like; query cache, image handling - amongst other things
On...
...I'm using 1.4, and am finding it great to use, though we're just in testing stage at the moment, plan on going live end of march, so will let you know how it goes under load then.tintedpixel wrote:luck with some of the more recent builds? Traffic/Load?
Andy
I'm a web developer at http://www.ssofb.co.uk in Aberdeen, Scotland.
Got a random blog at http://www.andygaskell.blogspot.com/.
Why didn't you use subdirectories?AndyGaskell wrote:The only issue I've seen so-far is that you can't select an image for a product in the admin section, I think this is due to there being 16,000 images in image/data folder and it is trying to generate thumbnails of them all.
-Ryan
in our case we did split into sub directories, most products have several images and this made it much easier to manage with imports.rph wrote:Why didn't you use subdirectories?AndyGaskell wrote:The only issue I've seen so-far is that you can't select an image for a product in the admin section, I think this is due to there being 16,000 images in image/data folder and it is trying to generate thumbnails of them all.
What types of things have you done/seen with open cart as it relates to scaling?
http://www.tintedpixel.com
Web Centric Creative
Unfortunately I don't have experience with large sites. Right now I'm in the process of moving a store with 5k products to OpenCart along with a bunch of custom modding. When it's live it will probably get another 1000 to 2000 products added to it which is still way below the numbers we're talking in here.
What I'd do is see if your slow SQL queries are logged on your server (usually in /tmp/mysql_slow_queries). That would be a good place to start checking OpenCart for bottlenecks.
-Ryan
The only issue we have run into so far is that there are so many products in certain categories that when you try to use the Related Products field (which is populated by category), the form area to choose the related products never populates. It must be timing out.
Very cool, please keep us in the loop on how this shop performs in production environment under load. I would love to see it and hear more about your mods and environment. We are getting great results (so far) as well.ibdesign wrote:A project we are working on currently has 56,290 products.
http://www.tintedpixel.com
Web Centric Creative
Adjust timing in export.php with no luck.
Are you using the import/export to add products?
Might be my server needs tweeking..
A real challenge.
url: http://gunorders.com
alleikis wrote:I have been building a store, total products was suppose to reach 27,000. But can't seem to get the import/export to work for more than 13,000 items. '
Adjust timing in export.php with no luck.
Are you using the import/export to add products?
Might be my server needs tweeking..
A real challenge.
url: http://gunorders.com
Have you tried somehting like this?
Code: Select all
ini_set('memory_limit', '100M');
set_time_limit(0);
Code: Select all
php_value memory_limit 100M
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value max_execution_time 200
php_value max_input_time 200
http://www.tintedpixel.com
Web Centric Creative
http://www.downloadxs.com/
I am using VPS hosting with KVCHosting (they are great thus far). Unfortunately, my site is quite slow now. In addition to the regular OpenCart processes, I do have a lot of article samples that are dynamically produced with PHP (well over 100,000) on the article product pages along with an "on the fly" watermarking script for the images. I was planning to have around 100,000 products but imagine it would take a dedicated server to accomplish this.
To attempt to decrease database size, I did hard-code many of the alike product descriptions into the product.tpl file, using IF / ELSE statements depending on the product name. Also, I have redefined how the downloads work upon purchase, so that redundant system processes are limited and only one image, for example, can be used for both the product image and downloadable product while still utilizing the encoding (renaming) feature.
After 25,000 or so products, I began having to use phpMyAdmin to populate my site. Although a bit more work than the export / import mod for OpenCart, it is very quick and relatively easy.
I will be refining my site now to run more quickly, perhaps even moving to a quad-core processor server with more RAM at my current host. Also, here is a post that I found to be helpful for the streamlining process:
http://forum.opencart.com/viewtopic.php ... ads#p40061
Chris
DownloadXS.com : Stock Photos & Vintage Illustrations, Fresh PLR Articles and more.
http://www.DownloadXS.com
There's some code in OpenCart for watermarking images already. I haven't had a chance to look through it more thoroughly so I don't know how complete it is.caspara wrote: In addition to the regular OpenCart processes, I do have a lot of article samples that are dynamically produced with PHP (well over 100,000) on the article product pages along with an "on the fly" watermarking script for the images.
-Ryan
Only problem with this amount of products ive incurred so far, is the OC backup/restore function in the BO, always fails, as the execution time for php is too low, even when i increase it, and the memory size, it still fails. I have to get a backup manually from the web host.
I had this issue too, but fixed it by just adding...datacon wrote:Only problem with this amount of products ive incurred so far, is the OC backup/restore function in the BO, always fails, as the execution time for php is too low, even when i increase it, and the memory size, it still fails. I have to get a backup manually from the web host.
Code: Select all
# add larger memory and tinfinate time to allow the backup to work
ini_set("memory_limit", "100M");
ini_set("max_execution_time", 0); # 0 = unlimited exec time
I'm a web developer at http://www.ssofb.co.uk in Aberdeen, Scotland.
Got a random blog at http://www.andygaskell.blogspot.com/.
Thanks Andy..Added that code, but still get an error..i think the DB is just too big @ 65MBAndyGaskell wrote:I had this issue too, but fixed it by just adding......at the top of admin/model/tool/backup.php. Workis fine for me. This is in OC 1.4.0 by the way.Code: Select all
# add larger memory and tinfinate time to allow the backup to work ini_set("memory_limit", "100M"); ini_set("max_execution_time", 0); # 0 = unlimited exec time
Fatal error: Allowed memory size of 104857600 bytes exhausted (tried to allocate 44 bytes) in C:\Inetpub\httpdocs\system\database\mysql.php on line 29
Users browsing this forum: No registered users and 90 guests