Post by sagarg » Thu May 03, 2012 5:07 am

Hi,

I am hoping someone can help me.
I am developing a website which will contain over 75,000 individual products.
I have already created the relevant import scripts to import all my supplier data into OpenCart, however, it is running EXTREMELY slow when navigating using the categories or search functions. Even the homepage takes about 30 - 35 seconds to come up.
I'm currently on a shared server with MySql hosted on another box so I know this will play some part in the speed but I just want to know if anyone has ever had some many products imported and if it worked.
If so, what is the best hosting (spec) server package to go on (vps, dedicated, cloud?).
Any help with any code tweaks that will increase performance would also be great.

Look forward to some helpful replies.

Thanks
SG

Newbie

Posts

Joined
Thu May 03, 2012 5:01 am

Post by i2Paq » Thu May 03, 2012 5:32 am

Used our FREE search on this?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Qphoria » Thu May 03, 2012 9:59 am

Set category product counts to disabled if you have a large store. We are going to need to cache the product counts at some point

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Tcalp » Thu May 03, 2012 12:16 pm

Give this extension a try : http://www.opencart.com/index.php?route ... on_id=6204

A demo can be viewed online here : http://www.hunterbm.com/oc/1521/

It will drastically speed things up for you.

Increase Page Speed (#1 rated commercial extension on OpenCart Marketplace)
15in1 Essential Extensions Value Pack Premium Customer Testimonials Reward Points Extended Admin Security Lockdown Suite

Image
irc.freenode.net #opencart


User avatar
Active Member

Posts

Joined
Wed Jul 06, 2011 1:49 pm

Post by MarketInSG » Thu May 03, 2012 5:37 pm

This is good: http://www.opencart.com/index.php?route ... order=DESC

But i'm sure OpenCart can handle this. But you, on the other hand, must ensure your host can too.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by arames » Sat May 05, 2012 10:11 pm

Well aside from Daniel being unfriendly and arrogant sometimes, but OpenCart is for FREE dont forget it.

It can handle your 75'000 products i guess, but I am sure you will face the same issue we are having with our 14'000 products.

FIRST TIME BYTE being very very very slow....

If you like us use webpagetest.org to see how your site performs, you will see that you will ALWAYS get F grade of First Time Byte.

Example:
http://www.webpagetest.org/result/120505_DE_47QA0/

you can try it for ANY other OpenCart live site, you will get the same F result.

Why is that? Because too many Database query and OpenCart will handle them with struggle (even if you are like us on a Dedicated Server ... the error is from OpenCart and how it handles these Database requests)

So my advice is to think twice before moving here and test any cart you wish first for the speed then make your choice.

Warm regards,
Arames T.

New member

Posts

Joined
Fri Mar 09, 2012 8:27 pm

Post by shoppingman » Sun May 06, 2012 2:38 am

With that kind of amount of items, man you might definitely wanna think about a few dedicated servers. The amount of items is one thing and the other is the traffic, mailing etc.etc. involved. Maybe you need to do some work and try to get an idea as to how giants like eBay etc etc are dealing with huge amount of listings, traffic, mailing lists etc.etc.etc.
The exact same question arose with Everysoft with the everyauction perl based pl/cgi script in the late 90's and early 2000's. Back then a very popular GNU auction script which is no longer supported - terminated. It was a great community to learn Perl. They never get around a solution for huge amount of listings and traffic. It was a flat file script. The question left unanswered.
OC is a DB thing which of course has it's advantages compared with flat file scripts. Flat file, of course, has it's limits.
OC is also a great community among others to learn PHP, CSS, MYSQL etc.etc.etc .
I don't think a host will be an issue as there are great and huge data centers out there which can handle that. That's where the third thing comes in - the price. Most of us are on inexpensive shared servers and some on dedicated servers. That's affordable BUT going bigger will cost a lot of "bread". So the bottom line, a lot of home work needed to be done. The big question still remains, if OC can handle all those stuff. Maybe the big guns from the VALLEY can answer the question but those guys are also very expensive.
It would be too big a risk to go live with that amount of items without getting a genuine answer to this question.

Newbie

Posts

Joined
Fri Apr 27, 2012 3:33 am

Post by goalsurfer » Mon May 14, 2012 2:51 am

I'm having the same problem with as much of products. But I saw the site where the products come from is zencart powered and doesn't have the problem of being slow.

New member

Posts

Joined
Thu Feb 02, 2012 7:04 pm

Post by arames » Mon May 14, 2012 3:10 am

Did you try the zencart shop on Webpagetest.org ?

Also kindly note that here are now around 5 extension on OpenCart to reduce the loading speed and increase the caching .. I am using 4 of them and the speed has gone from 6.8 seconds to just 1.4 seconds!

New member

Posts

Joined
Fri Mar 09, 2012 8:27 pm

Post by sw!tch » Mon May 14, 2012 3:39 am

I haven't used openCart with many products yet, but I have a client who runs Oscommerce with 150K products and about 600K customers. We needed two highend dedicated servers to power it. One for the HTTP requests and another for mySQL, alot of query optimization and caching had to be done as well.

As others have mentioned is really depends on the the traffic, you might need load balancers,etc. If I had to do the server setup over again, I would have went with dedicated scalable cloud servers. We had a flush of traffic one time that took both servers down instantly only option was to upgrade which was days of downtime.

Talk with a network administrator they are usually helpful on setups.

Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by goalsurfer » Mon May 14, 2012 3:41 am

arames wrote:...here are now around 5 extension on OpenCart to reduce the loading speed ..
Then which ones?

I saw for X-cart you pay a one time fee $149.00 and you can put an unlimited number of products. You can also try it out for free.

Here the link for the test of the zencart site
http://www.webpagetest.org/result/120513_JM_CDA/
Can you say if it is their server or zencart that makes the speed better?

New member

Posts

Joined
Thu Feb 02, 2012 7:04 pm

Post by arames » Mon May 14, 2012 8:48 am

Well if you are willing to pay for a cart then I would definitely go for CubeCart version 4, do NOT choose the new version 5 since version 4 has been there for years now and has 0 Bugs and a lot of adds on.

Where as the new version 5 is here recently and still in testing period ... you can of course test it for free for up to 300 orders I guess

The price is also acceptable and can definitely handle 75k products and more, again CDN would be a wide choice for your dedicated server.

New member

Posts

Joined
Fri Mar 09, 2012 8:27 pm

Post by dvh » Thu May 24, 2012 10:23 pm

Great thread that talks honestly about opencarts limitations out of the box.

It really doesn't like large product databases (10k +) in standard form. When we're finally up and running I think we may write about what we've tried, what's worked and what really hasn't.

dvh
New member

Posts

Joined
Thu Dec 15, 2011 8:16 pm

Post by storm-cloud » Sun May 27, 2012 4:06 pm

Qphoria wrote:Set category product counts to disabled if you have a large store. We are going to need to cache the product counts at some point
Is there a few ways to achieve this result? I have a vQmod in place but I don't actually remember where I found the code.

It seems to simply replace instances of:

Code: Select all

'name'        => $category['name'] . ' (' . $product_total . ')',
With:

Code: Select all

'name'        => $category['name']/* . ' (' . $product_total . ')'*/,
Is this all that is required or are there other methods to disable product counts?

Regarding the other mods by Tcalp and JAY6390, if OpenCart requires modification to perform faster and this code has been established, is there any reason why this isn't part of the core files?

Active Member

Posts

Joined
Wed Feb 22, 2012 8:07 am

Post by mark124 » Mon Dec 31, 2012 2:05 pm

Hi,
I am now facing the same problem, did you get any luck with this ? any solutions?

Mark

Newbie

Posts

Joined
Mon Dec 31, 2012 2:01 pm
Who is online

Users browsing this forum: No registered users and 44 guests