PECL uploadprogress library vs. APC

Events happening in the community are now at Drupal community events on www.drupal.org.
MarkLaymon's picture

Before I add one of the following, is there a preference to which one is preferred at this time when using OP 1.7.1?

PECL uploadprogress library vs. APC

Comments

From what I understand PECL

irakli's picture

From what I understand PECL is preferred because it is thread-safe and supports multiple simultaneous upload progresses, whereas APC does not.

.............................................
http://twitter.com/inadarei

Another reason

mac_weber's picture

Quoting Christian Stocker, one of the two authors of the pecl::uploadprogress extension:

Chregu @ 31.03.2009 16:12 CEST
The main difference is: this extension uses the filesystem as temporary storage, APC uses shared memory. And if you'd like to use another Bytecodecache than APC or do not want to install APC for any reason, this one provides that functionality, too.

Meaning it is better to use PECL.

Why it is better using "slow" filesystem than "fast" RAM memory?
Because internet connections are not that fast to perceive difference between them - remember, you are uploading a file. In addition, RAM is shared memory.

Reference:
http://blog.liip.ch/archive/2009/03/31/upload-progress-meter-common-issu...
(second comment on the post)

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: