Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

ADD SOME SPEED! It’s SLOW! 
 
misteroriginal
Member
 
Total Posts:  48
Joined:  2008-03-26
 

Also check out this benchmark of various Javascript frameworks on the main browsers. You see, the browser you are using makes a huge difference too. I understand you have to make it work for IE customers, but during the development phase, you sure don’t have to use IE.
http://blog.creonfx.com/javascript/dojo-vs-jquery-vs-mootools-vs-prototype-performance-comparison

 
Magento Community Magento Community
Magento Community
Magento Community
 
ShopGuy
Guru
 
Total Posts:  462
Joined:  2008-09-07
 

One major bottleneck is that Magento has PHP handle images. That means the following:

Typical PHP site

1 page load = 1 php request

Magento

1 page load = up to 100s PHP requests

Not only does that add a lot of latency, but it cuts the number of simultaneous users of Magento down by 100s. The only way to fix this is to start serving the images statically.

 
Magento Community Magento Community
Magento Community
Magento Community
 
USAMerchant
Member
 
Total Posts:  50
Joined:  2008-07-20
 

Magneto is a very poorly written cart when you look past the pretty graphics it has. I would never use it for my own store.

Any person serious about their online business would spend a few extra bucks to get a cart like volusion or interspire.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Alexandre Queiróz
Member
 
Avatar
Total Posts:  43
Joined:  2008-02-27
Brazil
 

SeoCity!

If Magento cart code is too poorly written and you would never use it for your own store, why are you wasting your time here?
Do you think that person who uses open source technology are not serious???
C´mon, I think that you should review your concepts!

 
Magento Community Magento Community
Magento Community
Magento Community
 
WillSemto
Jr. Member
 
Total Posts:  5
Joined:  2008-12-02
 

hey guys,

I’ve bodged the script that dumps all of these together, basically Variens version does not output contents (flush() for those php savvy) and instead read all the files into a string and then set appropriate headers (bodged in this version).

Please see: http://pastebin.ca/1274393

My version reads the same as Variens version, but instead of saving to a variable immediately dumps to the end user and flush()’s to the browser.

Limitations by my implementation:

* I by default do not accept different contentTypes that Varien have implemented but do not use (commented code)
* If Varien happen to update the jscript source files with a version release then end users will not automagically update the javascript files (this is due to a 304 not modified sent to a user if it requests it) Variens code checks the files last modified time and returns that whereas my version just dumps a 304 regardless

The speed speaks for itself though, this decreases load times of the javascript (lead times) by over a second:

2.6 secs Using Variens code
1.1 secs Using my adapted version of Variens code

Please note, i have tried multiple files instead (which can be achived doing the alteration as explained below (couldn’t find the admin function, bodge > all)::

Inside <magento root>\app\code\core\Mage\Page\Block\Html\Head.php::

<<line 133>> Note the addition of “1==2 &&”
if (1==2 && !Mage::getStoreConfigFlag(’dev/js/deprecation’)) {
$scriptItems = $this->getChunkedItems($items[’script’], ‘index.php?c=auto&f=’);
} else {
$scriptItems = $items[’script’];
}

 
Magento Community Magento Community
Magento Community
Magento Community
 
unexpectedly
Member
 
Total Posts:  68
Joined:  2008-12-06
 
SeoCity - 01 December 2008 04:29 AM

Magneto is a very poorly written cart when you look past the pretty graphics it has. I would never use it for my own store. Any person serious about their online business would spend a few extra bucks to get a cart like volusion or interspire.

Volusion is ASP. Anyone suggesting ASP in the same breath as “professional” needs counseling. Interspire has some merit if its claims are true. Nasty price tag though. If I can get magento to be the magic bullet for my site, then one year after implementing it, I will stop by Varien’s offices in LA and give them $1000 (minus any $$$ I potentially pay Varien for tech support. wink ).

=)
chris

 
Magento Community Magento Community
Magento Community
Magento Community
 
turbo1
Sr. Member
 
Avatar
Total Posts:  296
Joined:  2008-08-19
Los Angeles, CA
 

Simple Helix: where are your datacenters located? Also, where is your company located?

 
Magento Community Magento Community
Magento Community
Magento Community
 
turbo1
Sr. Member
 
Avatar
Total Posts:  296
Joined:  2008-08-19
Los Angeles, CA
 

If you do a WHOIS of their domain, it comes up with with some reference info in Australia. The Wilshire address listed on that page may be just a virtual office address as far as I can tell. A ton of businesses come up when doing a search of that exact address with that exact suite number. Maybe I’m just paranoid smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
brock
Jr. Member
 
Total Posts:  12
Joined:  2008-04-26
Columbus, OH
 

Really guys. I’ve seen a lot of posting on here about hosting Magento SimpleHelix is the best. They are also very user-friendly and help you whenever you need anything. I tried several other hosting companies and ended up using their 30-day cancellation guarantee. Have been with SimpleHelix since.

Just a suggestion…

 
Magento Community Magento Community
Magento Community
Magento Community
 
dotScott
Jr. Member
 
Total Posts:  7
Joined:  2008-12-10
 
SimpleHelix.com - 17 August 2008 03:03 AM

Okay I’m getting confused here.
Are you talking about our http://www.magentify.com or your own magento store?

Speed varies greatly from hosts to hosts so I advise you to read some reviews on the boards or google for a fast magento hosting company.

Because, ofcourse, anything over 10 seconds is way too slow. -_-

I happened to look at the magentify.com site.  The Best Selling products module links are 404 just like my demo installation.  Only difference I can see is your thumbnails and images are working properly.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Discovery
Enthusiast
 
Total Posts:  767
Joined:  2007-12-29
 

I don’t think hosting is where the speed solutions are going to come from. Has anyone got any tips for making images quicker, e.g. pulling them from a different url so that more than one http request can be made at a time? Also, why is so little cached when every caching option is turned on? Category pages *should* load in the blink of an eye if they have been loaded before, but they do not. Does anyone have a recommendation for max products in a category? Or total sku count (if using configurables)?

 
Magento Community Magento Community
Magento Community
Magento Community
 
turbo1
Sr. Member
 
Avatar
Total Posts:  296
Joined:  2008-08-19
Los Angeles, CA
 

@fifthave
Thank you for being helpful and not condescending like some other posters.  rolleyes  who will remain un-named.

 
Magento Community Magento Community
Magento Community
Magento Community
 
AITOC
Guru
 
Avatar
Total Posts:  618
Joined:  2009-02-19
US
 

Hi, we believe our 1-Click Order extension can improve the situation. At least it makes purchasing process 5 times faster than usual !

 
Magento Community Magento Community
Magento Community
Magento Community
 
marknet
Member
 
Total Posts:  46
Joined:  2008-06-19
 

SimpleHelix fixed the situation

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ron Peled
Jr. Member
 
Avatar
Total Posts:  18
Joined:  2008-08-24
Los Angeles
 

There is simply no ways around it: Magento is super slow. The main reason for this speed is its complex and overly architected data structure. I mean to save a new product you are talking about 200+ DB transactions, not including table locking… The only way to speed it up in its current form and current version is by turning caching WAY UP all around: Apache caching, PHP caching, browser caching, and DB caching.

I really hope that Magento is working on solving these issues because it may just be Magento’s achilles heel. Here are a few ways I can see how Magento team can actually speed up their product:
1. Allow more serious collection operations: for example: getAllProducts(), getAllCategories(), etc. but I mean GET ALL including all its attributes, stock items, etc. Same goes to the setAllProducts(), etc. I looked at the current collection structure and when you have a collection of products and run collection->save() all it does is go through each product and saves it. ok, this is great theory but bad practice. Modern DB’s are much faster when you give them all the instructions and data and have them do it for you.

2. Simplify Attribute Engine - yes, it is great that you have 5 tables for each entity or option but is it necessary? are you saving space? performance? none! just add another column ‘text’, ‘int’, ‘varchar’, etc to each record and you are done. Yes, waste space for each record but you will still save speed and space long run.

3. When saving multiple products, categories, attributes (at least when you eventually will implement it...) lock the whole operation as one, not the individual transactions.

4. Open easier and more direct access to your DB model, at least for the read operations. Many times I need to load a product, i.e. Mage::getModel(’catalog/product’)->load($outOfStockProductId) and it brings the ENTIRE product into memory I change only one attribute, like product price and save it. Why would I need all the rest of the data? inefficient.

5. This one will not solve any speed issues, only my headache - offer better documentation. Truth is, for developers you don’t offer much. I spent more time reverse engineering your product than any other. You have pretty code but please, document it as well!

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top