Yapc Asia 2009 ペパボでのPerlの使い方
- 7. • id:MIZZY
•
•
/
• /
.... etc
- 8. • gihyo.jp Puppet, Func
• http://gihyo.jp/admin/serial/01/puppet
• http://gihyo.jp/admin/serial/01/func
• MASHUP++
Plagger
• http://www.amazon.co.jp/dp/4861671655/
- 24. 30days Album + Perl
• Perlbal
• MogileFS
• API on Catalyst
• Gearman
• TheSchwartz
- 26. Perlbal
Perlbal
http://30d.jp/img http://30d.jp/img
Web
- 29. MogileFS
client
mogilefsd mogilefsd mogstored mogstored
MySQL
- 32. API
client
HTTP GET/PUT
API
mogilefsd mogilefsd mogstored mogstored
- 33. API
•
•
•
• MogileFS::Client MKCOL API
- 34. API
•
• MogileFS Content-Type Content-Length
API
•
• MogileFS API
- 35. Perlbal
Perlbal
X-Reproxy-URL:
http://storage_node/dev1/0/000/...
Content-Type GET
GET
mogstored mogstored
API
mogilefsd mogilefsd
- 36. •
•
• Gearman/TheSchwartz
• API
- 37. Web
(Rails)
XML-RPC
API
(Catalyst)
German::Client TheSchwartz::Job
gearmand MySQL
gearman TheSchwartz
worker worker
- 38. API
• Web
gearman / TheSchwartz
• Catalyst + Catalyst::Plugin::XMLRPC API
- 39. Gearman
• ( )
• Web
•
•
• Proc::Background
daemontools
- 40. TheSchwartz
• ( )
•
~ )
• (zip)
• Proc::Background
daemontools
- 42. • Image::Imlib2
• =>
• yusukebe
• http://yusukebe.com/tech/archives/
20070526/011710.html
GD::Image
Image::Magick
Imager
- 52. CGI
• Apache2.0(Worker) + SuEXEC + mod_cgid
• PHP, Perl, Ruby, Python
• CGI =>
•
•
• CPU
- 53. hetepro
•
•
• Class::Component
• + Daemon::Generic
• + Sys::Statistics::Linux ( )
• 2007 ( Moose )
- 61. Archer
tasks:
process:
- module: Exec::Remote
name: update kernel
config:
command: sudo yum -y update kernel
projects:
users:
- example0.heteml.jp
- example1.heteml.jp
- ...
- 65. API
WEB
JSON-RPC
MySQL API
Func
WWW WWW MAIL MAIL
- 69. • MySQL
• Data::ObjectDriver
• Web
• Web
• Mail
•
- 70. 2
•
• Apache
VirtualHost PHP php.ini
etc ...
• API
Func
- 71. Func
• Python
•
( XMLRPC over HTTPS)
• http://gihyo.jp/admin/serial/01/func/0001
• /usr/bin/func-transmit YAML
Perl
- 72. qpsmtpd
• Perl SMTP
•
• Apache
• mod_perl
• http://smtpd.develooper.com/
- 75. ( )
• hook_connect
• hook_helo
• hook_rcpt
• hook_queue
• .... etc
• SMTP
- 76. • check_badsubject
• Subject
• check_relay_rcpt
• RCPT MySQL
( memcached )
- 77. • check_size
•
• ESMTP SIZE
qpsmtpd
• qpsmtpd
• max_rcpt_to
• RCPT
- 78. Qpsmtpd
• /
•
• http://wiki.qpsmtpd.org/api:plugin_hooks
- 79. • JugemKey API
• JUGEM
•
• MySQL
•