Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Amepad lt(tmpfs)

3,577 views

Published on

Published in: Technology
  • Be the first to comment

Amepad lt(tmpfs)

  1. 1. Ameba × COOKPAD LT ( )
  2. 2. • (udagawa satoshi) • • Ameba • squidTwitter(id: @saeoshi)Blog( :http://cequiestaime.blogspot.com)
  3. 3. tmpfs
  4. 4. Ameba
  5. 5. nginx proxysquid/nginx(old) squid/nginx(new) squid/nginx(misc) cache nginx/apache(blog_images) nginx/apache(misc) origin
  6. 6. • Traffic 6G• 160G /day• 4
  7. 7. Ameba
  8. 8. nginx load
  9. 9. I/O(write)
  10. 10. why
  11. 11. • nginx proxy_temp (request )• LB( ) (NW )
  12. 12. I/O proxy_temp tmpfsmkdir -p /tmpfs/proxy_tempmount -t tmpfs -o size=200m /dev/shm /tmpfs/proxy_templn -s /tmpfs/proxy_temp /usr/local/nginx_LB/proxy_tempchown nobody:root /tmpfs/proxy_temp /usr/local/nginx_LB/proxy_temp
  13. 13. loadI/O(write) traffic
  14. 14. • &• • lighttpd mod_compress • Mysql ( ) ※memory engine

×