2006-10-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¨è¨ã訳ã§d:id:zigorou:20061030:1162225100ã«ããuri_for_actionã使ã£ãURIçæãpluginåãã¦ã¿ã¾ãããå¤åä»æ¥ã®ãæ¼ãããã«ã¯CPANã§åæ ããã¦ãããããªããã¨ã ã¨ããããå è¡å ¬éãã¦ã¿ã¾ããCatalyst-Plugin-BuildURI ã¡ãªã¿ã«ä¸è¨ã¿ãããªä½¿ãâ¦
å¤åå¿ç¨ã¨ãã¦ã¯templateã«æ¸¡ããæã«uriã®è¨è¿°ãæ½è±¡ååºæ¥ãã£ã¦äºãªãã§ããã©ã Catalyst::Dispatcherã«ããget_action(), get_action_by_path()ã¡ã½ããã使ãã¨ã namespace + action_name, pathãªã©ã§Catalyst::Actionã¾ãã¯ãã®æ´¾çã¯ã©ã¹ãåå¾ãâ¦
LimitRequestBody ãã£ã¬ã¯ãã£ã ããã§å¶éåºæ¥ãã¿ããã Coreã¢ã¸ã¥ã¼ã«ãªã®ã«ç¥ããªãã£ããªãã¦ãã¡ãªåã§ããããã 使ãæ¹ èª¬æ ã¯ã©ã¤ã¢ã³ãããéãããHTTPãªã¯ã¨ã¹ãã®ããã£ã®ç·éãå¶éãã æ§æ LimitRequestBody bytes ããã©ã«ã LimitRequâ¦
ã¨ãããã3ã¤ã»ã©è©¦ãã¦ã¿ãã gcccpuopt gccã®optimizeãªãã·ã§ã³ã®å©ãã«ãªã ps_mem.py ã¡ã¢ãªä½¿ç¨ç¶æ³ãprocesså¥ã« sysinfo ãã®ã·ã¹ãã ã®æ¦è¦³ãsummaryã¨ãã¦åºã ãªã©ãªã©ãã¡ãã£ã¨ããã¹ã¯ãªããã ãã©ãçµæ§ä¾¿å©ãªç©ãæã£ã¦ãã¿ããã§ãã
ã¨è¨ããiptablesã§ã¯ã¾ã£ãã®å·»ã masterå´ã®è¨å® masterã«ãããDBå´ã§ãã¨ããããä¸è¨ã®è¨å®ã/etc/my.cnfã«å ¥ãã¦ããã log-bin=mysql-bin server-id = 1次ã«replicationç¨ã®ã¦ã¼ã¶ã¼ã追å ãã¦ããã¾ãã mysql> GRANT REPLICATION SLAVE ON *.* TO 'â¦
ã»ã¨ãã©èªåç¨ã®ã¡ã¢ã§ãã configã®syntax # lighttpd -f /etc/lighttpd/lighttpd.conf -t configã®print # lighttpd -f /etc/lighttpd/lighttpd.conf -pããããã¡ãã£ã¨è¨å®ã確èªããã®ã«ã¡ãã£ã¨ä¾¿å©ããã
ã¨è¨ã訳ã§id:kazeburoãããmixiå ã§ã³ãã¥ããã£ãä½ã£ã¦ä¸ããã¾ããã http://mixi.jp/view_community.pl?id=1478327 è²ã ã¨æçãªæ å ±ãé£ã³äº¤ãã¨è¯ãã§ãããã mixi使ã£ã¦ãæ¹ã¯æ¯éç»é²ãã¦ã¿ã¦ä¸ããã
ã¨ããããsmbmountã³ãã³ãã§å¤§ä½ãã¹ãåºæ¥ãã Windowså´ã§ç¹å®ã®ãã©ã«ããå ±æã«ãã¦ããã¦ããã¾ãããã®ã¨ãå ±æåã®ãå°»ã«ã$ããã¤ãã¦ããã¨ã ãããã¯ã¼ã¯ä¸ããè¦ããªããªã*1 ãããã¦ããã°smbmountã§ç°¡åã«mountåºæ¥ã¾ãã # mkdir -p /dataâ¦
http://www.aqunet.info/blog/archives/000064.html ã£ã¦æ¸ãã¦ãããã©ãã確ãã«serviceã³ãã³ãã¯ç¡ãã ã§ãå¤åstart-stop-daemonã³ãã³ããããã«å½ããã¨æããã ãã©ãã©ããªããããï¼ è¿½è¨ ãã¼ã§ãå¾®å¦ã«éããããMemcachedã®init.dã¹ã¯ãªãããâ¦
å¤åããã£ã¦Module::Installãã¤ã³ã¹ãã¼ã«ããã¦ããæ㧠Makefile.PLãinc::Module::Installã¨è¨ãæå®ã§ä½ã£ã¦ã¨ããããperl Makefile.PLãã㨠incãã£ã¬ã¯ããªä»¥ä¸ã«å¿ è¦ãªã¢ã¸ã¥ã¼ã«ãå«ãã¦ãããã£ã¦äºã§OKã§ãããï¼ï¼èª° ããå°ããã¡ãã¨è§¦ã£ã¦â¦
ã¤ã¾ãã¨ããããããç¾è±¡ãèµ·ããã GuestOSããHostOSã®Windowså ±æã«æ¸ãè¾¼ãã¨(Guest/ãªã) HostOSã§æ®éã«ãã®Windowså ±æã«æ¸ãè¾¼ãã¨ãã°ã¤ã³ã¦ã¼ã¶ã¼ã®æ¨©é ã¤ã¾ããHostOSã§çæãããã¡ã¤ã«ã®æ¸ãæããGuestOSã§åºæ¥ãªãã£ã¦ç½ ã Windowså ±æã£ã¦â¦
ä»æ¥ã¯ãã¼ã«ã«ç°å¢ãå°ãå¤ãããã¨æã£ã¦ã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ããã VMWareã§ä½ãæ°ããä»®æ³OSå ¥ããæã«qemu-imgã³ãã³ããå ¥ãã¦ããã¹ãã§ããã vmx-maker ã£ã¦ã®ãå ¥ããã¨ç°¡åã«è¨å®ã§ãã¦ãåã¿ãããªåå«ãªäººã«ã¯æã£ã¦æ¥ãã§ããªã å®ã¯æ¥ãããâ¦
ã¨è¨ã訳ã§æ¨æ¥åå ããã¦é ããShibuya Perl Mongerã®ææ³ã§ãã Amazon Web Services, Elastic Compute Cloudã¨LAMP (Emerson Mills) ã¡ãã£ã¨ååãã©ãã«ã§EC3ããªããªãè¦ããªãã£ããã©ã Virtual Imageã§Linuxã使ããã£ã¦åãé¢ç½ããã¡ãã£ã¨ä½ã試â¦
Learning MogileFS ã¨ããããå ¬éãã¦ããã¾ãã ä½ã質åãããã°ããã¡ãã«æ¸ãè¾¼ãã§é ããã°éæ対å¿ãã¾ããï¼ã ææ³ã¯ã¾ãå¾æ¥ï¼¾ï¼¾ï¼
Shibuya.pmã®è³æãä½ãçµããã 60ãã¼ã¸è¶ ããè³æãªãã ãã©ããã¼ãããã ããã¡ãã£ã¨ä½ãæéãåãæéãããã°ãªã¼ã ã§ãæ¬å½ã«è¯ãæ©ä¼ã楽ããã§ãã¾ãã^^
MogileFSã®è³æä½ã£ã¦ãéã«å°ãæ°ã«ãªã£ãã®ã§èª¿ã¹ã¦ã¿ããhttp://rblog-ent.japan.cnet.com/neta/2006/08/linux1153000_b892.html ã§ãã®è¨äºèªä½ã®å 容ã¯ã¡ãã£ã¨â¦ã£ã¦æãã§ã¯ãããã§ããã©ã ããã®ãã©ãã¯ããã¯ãã辿ã£ãå 容ãèå³æ·±ãã®ã§ããç´¹â¦
TOPã®ç»åã«ã¤ã㦠http://tokyo.s-abe.or.jp/ # ps -aux # df # du -h # free -tk # netstat -r # less /etc/crontab # chkconfig --list duã«h(human-readable)ãªãã·ã§ã³ãã¤ãã¦ããåãããããã£ã¦äºï¼ freeã®kã¯kBã§ãããã¹ã±ã¼ã«å°ãããï½ netstatâ¦
ã¯ããã« ååã®ã¨ã³ããª(d:id:ZIGOROu:20061018:1161155472)ã®ç¶ãã§ãã ååã¯ä¸»ã«daemonã¨ãã¦ã®èµ·åããclientããã®ãªã¯ã¨ã¹ãåä¿¡ãã³ãã³ãã®ãã¼ã¹è¾ºãã¾ã§ã ã£ããã§ã å®éã«çºè¡ãããcreate_openã³ãã³ããªã©ãè¦ã¦è¡ããã¨æãã¾ãã MogileFSâ¦
ã¯ããã«â¦ã®åã« ãããæ¸ãéä¸ã§2åãFireFoxãè½ã¡ãããããã¯ã¦ãªã®ããã¯ã¢ããæ©è½ãæå¹ã«ãããã©ãç¡æå³ã ã£ãç½ ãorz... hatena-mode.elãæ¬æ°ã§ä½¿ããããªã£ã¦ããã*1 ã¯ããã« ã·ã¼ã±ã³ã¹å³ãã©ããæ¸ããã¨æã£ããã§ãããè¯ãèãããèªä¿¡â¦
Shibuya Perl Mongers ãã¯ãã«ã«ãã¼ã¯ #7 i-revoããã¨ä¸ã®äººã«æè¬ï¼
ã¯ããã« ååã®ã¨ã³ããª(d:id:ZIGOROu:20061018:1161159862)ã®ç¶ãã§ãã MogileFS::NewHTTPFile辺ãããã§ãã MogileFS::NewHTTPFile ãã®ã¢ã¸ã¥ã¼ã«ã¯IOãã³ãã«ã«tieããçºã®ã¢ã¸ã¥ã¼ã«ã§ããã©ã WebDAVã¸ã®æ¸ãè¾¼ã¿ãIOãã³ãã«ã«ã¨ãã¥ã¬ã¼ããã¦ãâ¦
Plaggerã®ä¸ã«å«ã¾ãã¦ãã®ã§æ°ã«ãªã£ã¦ã¿ã¦ã¿ããIngyå çã®ã¢ã¸ã¥ã¼ã«ã ã£ãã ã¨ããããå¾ã§èªãã£ã¦äºã§ã ã©ã¼ãä»è©±é¡ã®Test::Baseã§ãä¾åãã¦ãã£ã½ãã§ããã
ãã¤IPã¯ã©ãã§ãåºå®IPç°å¢ãå®ç¾ãã¾ã - INTERLINK å¾ã§è©³ãã調ã¹ã¦ã¿ããã
ãã ã®ã¡ã¢ã§ãã 1999 LiveJournal open 2003/05 memcached release 2003/12 nDikiããã§memcachedç´¹ä»è¨äº 2004/10 Perlbal release 2005/08 mogilefs-server 1.00 release *1 2005/11 Shibuya.pm TechTalk #6 2006/09 MogileFS Summit 2006/10 Shibuya.pmâ¦
miyagawaããã®ã¨ã³ããªãè¦ã¦åãå ¥ãã¦ã¿ãã æãã«ã³ã¼ããè¦ããã ããããªãã¦ãã©ã£ãé©å½ãªæã«@INCå¢ããã¦ããã£ã¡ã«ã¤ã³ã¹ãã¼ã«ããããå ´åã«ãã£ã¦ã¯ã¢ã³ã¤ã³ã¹ãã¼ã«ãããã¨ãããããã使ãæ¹ãããé¢ç½ããã
cygwinã«screenãå°å ¥ã§ããªãåé¡ â ãã°ã«ãã®æ¯è¨ åæ§ã®æ¹ãããã£ãããããã§ã ã§è§£æ±ºæ³ãæ¸ãã¦ããã¾ãã Schulman . Andrew - screen ã½ã¼ã¹ã ã¨å¾®å¦ã«ãã¡ã ã£ãã®ã§ããã¤ããªã§å¯¾å¿ãã¾ããã
ååã®ã¨ã³ããªã®ç¶ãã§ãã 主ã«ä¸è¨ã®ãªã³ã¯å ãåèã«ã¤ã³ã¹ãã¼ã«ãã¦ãã¾ãã ããã¦æ¸ãããã§ããï½ http://mogilefs.schtuff.com/another_how_to_install_mogilefs_debian_sarge http://www.sixapart.jp/techtalk/2006/10/dev_mogilefs_install.htmlâ¦
ä»ç©ºåã®ââãã¼ã ä»ã³ã³ ã®çµã¿åãããï¼ ãã¨åã£ã¦ããã®ãã¿ãç¨æãã¦ã¾ããï¾ï¾ï¾â¦ã ã£ã¦ãã£ã±ãã¦ã±çãããorz...
ã§ã¡ã¢ãããã¨æã£ããnaoããèªèº«ãã¡ã¢ã£ã¦ãã®ã§ãå²æï¼ï½ http://blog.graffiti-web.org/archives/2006/10/post_117.html#more ã¨ããããSATAã ã¨/dev/hdaã§ã¯ãªãã¦/dev/sdaã®ããã«èªèãããã¿ããã ãããGRUBã ã¨ãèªèããããã§ããã£ãããâ¦
ä»åã¯MogileFS::Clientã®ä½¿ãæ¹ã§ãã new(HASH %args) ä¸è¨ã®å¤ãããã·ã¥ã§æ¸¡ãã¾ãã(use filedsãã©ã°ããã) root NFSä¾åã®å ´åã®ã¿å¿ è¦ãªã®ã§ãè¦ããªãã§ãã domain domainãã¼ã ã¹ãã¼ã¹(scalar) backend MogileFS::Backendãªãã¸ã§ã¯ã(object) â¦