Using tmpfs

Performance wise, just hosting static files using tmpfs rather than
ext4… would do alot? (cpu load/throughput etc) Is there any benefit
in using a ramdisk as your wwwroot dir?

It will reduce your disk I/O a lot.

But I wouldn’t place the whole wwwroot dir on tmpfs because everytime
you
reboot the contents of tmpfs is gone. Instead, if your web application
allows for caching (like Drupal with the Boost module, WordPress with
the W3
TotalCache or WP Super Cache, Typo3 with the nc_staticfilecache
extension,
etc.), I’d put the cache onto tmpfs.

----- Original Message -----
From: “Ryan B.” [email protected]
To: [email protected]
Sent: Tuesday, February 21, 2012 12:35 PM
Subject: using tmpfs

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs