Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Magento support muti threading? [closed]

Tags:

php

magento

I would like to know does Magento support muti threading? If yes, then how? If no, then can we make it to support it?


2 Answers

Magento is written in PHP. PHP is not multi-threaded (out of the box other than experimentation). Therefore, Magento itself cannot be multi-thread aware.

If anything, Apache may be multi-threaded but that is unrelated to programming Magento.

like image 65
webbiedave Avatar answered May 19 '26 23:05

webbiedave


It would seem so. From this thread on www.magentocommerce.com:

Question:

What is the best configuration for the hardware

Answer:

MySQL with 4 CPU’s and lots of Memory (16gb) Frontend at least 8 CPU’s multi threading, lots of memory

The original questions asked are:

We are setting up an Magento site that will house 20000 unique products and will have on average 40000 unique users visiting the site. WE want to ensure this is a high availability site and have a few questions.

  1. Should we run MYSQL standalone or Cluster
  2. Single Apache server or multiple boxes in a cluster?
  3. what is the best configuration for the hardware
  4. Seperate the WWW Server and DB Server?
  5. Seperate Images onto another server?
  6. How much RAM, CPU, HDD should we allocate?
  7. if the server/line fails during a transaction, and we shift to a DR server, how do we track teh payment/transaction?
like image 25
Jean Avatar answered May 20 '26 00:05

Jean