·Î±× :: Fast. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~powerman/
·Î±× :: Fast. ű×
·Î±× :: Fast. ¼³¸í
·Î±× :: FAST´Â ÃÊ´ç ¼öõ °³ÀÇ °í±Þ À̺¥Æ® / ÀÛ¾÷À» °¡Áø ÀÀ¿ë ÇÁ·Î±×·¥¿¡¼ »ç¿ëÇϵµ·Ï ¼³°èµÈ ¸Å¿ì ºü¸¥ ·Î°ÅÀÔ´Ï´Ù (¼öõ Ŭ¶óÀ̾ðÆ®°¡ÀÖ´Â ³×Æ®¿öÅ© ¼¹ö ¶Ç´Â ÃÊ´ç ¼ö¹é °³ÀÇ URLÀ» ´Ù¿î·ÎµåÇÏ´Â À¥ °Å¹Ì¿Í °°Àº). ¿¹¸¦ µé¾î, Core2Duo Àü¼Û 5000 »ç¿ëÀÚ°¡ »ç¿ë °¡´ÉÇÑ ·Î±× ¼öÁØÀ» ±â·ÏÇÏ´Â ¸Þ½ÃÁö ¶Ç´Â ºñÈ°¼ºÈ µÈ ·Î±× ¼öÁØ¿¡¼ 20000 ¸Þ½ÃÁö¸¦ 1 ÃÊ ¸¸¿¡ 2-3 %¸¸ÅÀÇ ÀÀ¿ë ÇÁ·Î±×·¥ÀÌ ¼Óµµ°¡ ´À·ÁÁý´Ï´Ù. ÀϺΠ´Ù¸¥ CPAN ¸ðµâ¿¡ ´ëÇؼ´Â, ·Î±× :: Æİߺ¸´Ù ºü¸¥ °ÍÀÔ´Ï´Ù. ¾à 45 ¹è, ·Î±× :: Çڵ鷯°¡ ¾à 7 ¹ø sys :: syslogº¸´Ù ºü¸£°Ô ¾à 7 ¹è, ·Î±× :: syslog :: fast ¾à 2 ȸº¸´Ù ´À¸®°Ô. Synopsis log :: Fast; $ log = log :: fast-> global (); $ log = log :: fast-> new ({level => 'warn', prefix => '% d % t ', type => 'fh', fh => \ * stdout,}); sys :: syslog qw (log_daemon); $ log-> config ({prefix => ', type =>'UNIX ', PATH =>'/ dev / log ', facility => log_daemon, add_timestamp => 1, add_hostname => 1, hostname =>'somepthost ', id =>'someapp ', add_pid => 1, pid => $$,}); $ log-> ident ( 'anotherApp'); $ log-> ·¹º§ ( 'Á¤º¸'); $ log-> err ( 'ÀϺΠ¿À·ù'); $ log-> °æ°í ( 'ÀϺΠ°æ°í'); $ log-> °øÁö »çÇ× ( '»ç¿ëÀÚ % ·Î±×ÀÎ', $ »ç¿ëÀÚ); $ log-> Á¤º¸ ( 'µ¥ÀÌÅͷεå'); $ log-> debug ( '»ç¿ëÀÚ % d´Â % d they', $ user, sub {return slowoperation_getamountofthingsfor ($ »ç¿ëÀÚ)); Á¦Ç°ÀÇ È¨ÆäÀÌÁö
·Î±× :: Fast. °ü·Ã ¼ÒÇÁÆ®¿þ¾î