Enviar pesquisa
Carregar
Anyevent
•
Transferir como ODP, PDF
•
2 gostaram
•
1,103 visualizações
Marian Marinov
Seguir
Bulgarian Perl Workshop 2010
Leia menos
Leia mais
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 8
Baixar agora
Recomendados
Any event intro
Any event intro
qiang
Asynchronous Programming FTW! 2 (with AnyEvent)
Asynchronous Programming FTW! 2 (with AnyEvent)
xSawyer
Perl: Coro asynchronous
Perl: Coro asynchronous
Shmuel Fomberg
Asynchronous programming patterns in Perl
Asynchronous programming patterns in Perl
deepfountainconsulting
A Gentle Introduction to Event Loops
A Gentle Introduction to Event Loops
deepfountainconsulting
Asynchronous programming done right - Node.js
Asynchronous programming done right - Node.js
Piotr Pelczar
Asynchronous PHP and Real-time Messaging
Asynchronous PHP and Real-time Messaging
Steve Rhoades
Ubic
Ubic
Vyacheslav Matyukhin
Recomendados
Any event intro
Any event intro
qiang
Asynchronous Programming FTW! 2 (with AnyEvent)
Asynchronous Programming FTW! 2 (with AnyEvent)
xSawyer
Perl: Coro asynchronous
Perl: Coro asynchronous
Shmuel Fomberg
Asynchronous programming patterns in Perl
Asynchronous programming patterns in Perl
deepfountainconsulting
A Gentle Introduction to Event Loops
A Gentle Introduction to Event Loops
deepfountainconsulting
Asynchronous programming done right - Node.js
Asynchronous programming done right - Node.js
Piotr Pelczar
Asynchronous PHP and Real-time Messaging
Asynchronous PHP and Real-time Messaging
Steve Rhoades
Ubic
Ubic
Vyacheslav Matyukhin
Avoiding Callback Hell with Async.js
Avoiding Callback Hell with Async.js
cacois
Asynchronous I/O in PHP
Asynchronous I/O in PHP
Thomas Weinert
Callbacks and control flow in Node js
Callbacks and control flow in Node js
Thomas Roch
Avoiding callback hell in Node js using promises
Avoiding callback hell in Node js using promises
Ankit Agarwal
React PHP: the NodeJS challenger
React PHP: the NodeJS challenger
vanphp
Callbacks, promises, generators - asynchronous javascript
Callbacks, promises, generators - asynchronous javascript
Łukasz Kużyński
Controlling Arduino With PHP
Controlling Arduino With PHP
Thomas Weinert
Understanding Asynchronous JavaScript
Understanding Asynchronous JavaScript
jnewmanux
Node.js - Best practices
Node.js - Best practices
Felix Geisendörfer
The Promised Land (in Angular)
The Promised Land (in Angular)
Domenic Denicola
Puppet Camp 2012
Puppet Camp 2012
Server Density
JavaScript Promise
JavaScript Promise
Joseph Chiang
ECMAScript 6
ECMAScript 6
偉格 高
PyCon lightning talk on my Toro module for Tornado
PyCon lightning talk on my Toro module for Tornado
emptysquare
$q and Promises in AngularJS
$q and Promises in AngularJS
a_sharif
Bootstrapping multidc observability stack
Bootstrapping multidc observability stack
Bram Vogelaar
nginx mod PSGI
nginx mod PSGI
Yaroslav Korshak
Node child process
Node child process
LearningTech
Bootstrapping multidc observability stack
Bootstrapping multidc observability stack
Bram Vogelaar
ZeroMQ Is The Answer
ZeroMQ Is The Answer
Ian Barber
Perl from the ground up: objects and testing
Perl from the ground up: objects and testing
Shmuel Fomberg
Asynchronous programming with AnyEvent
Asynchronous programming with AnyEvent
Tatsuhiko Miyagawa
Mais conteúdo relacionado
Mais procurados
Avoiding Callback Hell with Async.js
Avoiding Callback Hell with Async.js
cacois
Asynchronous I/O in PHP
Asynchronous I/O in PHP
Thomas Weinert
Callbacks and control flow in Node js
Callbacks and control flow in Node js
Thomas Roch
Avoiding callback hell in Node js using promises
Avoiding callback hell in Node js using promises
Ankit Agarwal
React PHP: the NodeJS challenger
React PHP: the NodeJS challenger
vanphp
Callbacks, promises, generators - asynchronous javascript
Callbacks, promises, generators - asynchronous javascript
Łukasz Kużyński
Controlling Arduino With PHP
Controlling Arduino With PHP
Thomas Weinert
Understanding Asynchronous JavaScript
Understanding Asynchronous JavaScript
jnewmanux
Node.js - Best practices
Node.js - Best practices
Felix Geisendörfer
The Promised Land (in Angular)
The Promised Land (in Angular)
Domenic Denicola
Puppet Camp 2012
Puppet Camp 2012
Server Density
JavaScript Promise
JavaScript Promise
Joseph Chiang
ECMAScript 6
ECMAScript 6
偉格 高
PyCon lightning talk on my Toro module for Tornado
PyCon lightning talk on my Toro module for Tornado
emptysquare
$q and Promises in AngularJS
$q and Promises in AngularJS
a_sharif
Bootstrapping multidc observability stack
Bootstrapping multidc observability stack
Bram Vogelaar
nginx mod PSGI
nginx mod PSGI
Yaroslav Korshak
Node child process
Node child process
LearningTech
Bootstrapping multidc observability stack
Bootstrapping multidc observability stack
Bram Vogelaar
ZeroMQ Is The Answer
ZeroMQ Is The Answer
Ian Barber
Mais procurados
(20)
Avoiding Callback Hell with Async.js
Avoiding Callback Hell with Async.js
Asynchronous I/O in PHP
Asynchronous I/O in PHP
Callbacks and control flow in Node js
Callbacks and control flow in Node js
Avoiding callback hell in Node js using promises
Avoiding callback hell in Node js using promises
React PHP: the NodeJS challenger
React PHP: the NodeJS challenger
Callbacks, promises, generators - asynchronous javascript
Callbacks, promises, generators - asynchronous javascript
Controlling Arduino With PHP
Controlling Arduino With PHP
Understanding Asynchronous JavaScript
Understanding Asynchronous JavaScript
Node.js - Best practices
Node.js - Best practices
The Promised Land (in Angular)
The Promised Land (in Angular)
Puppet Camp 2012
Puppet Camp 2012
JavaScript Promise
JavaScript Promise
ECMAScript 6
ECMAScript 6
PyCon lightning talk on my Toro module for Tornado
PyCon lightning talk on my Toro module for Tornado
$q and Promises in AngularJS
$q and Promises in AngularJS
Bootstrapping multidc observability stack
Bootstrapping multidc observability stack
nginx mod PSGI
nginx mod PSGI
Node child process
Node child process
Bootstrapping multidc observability stack
Bootstrapping multidc observability stack
ZeroMQ Is The Answer
ZeroMQ Is The Answer
Destaque
Perl from the ground up: objects and testing
Perl from the ground up: objects and testing
Shmuel Fomberg
Asynchronous programming with AnyEvent
Asynchronous programming with AnyEvent
Tatsuhiko Miyagawa
2010.1 mandriva linux_installation_using_dual_cd
2010.1 mandriva linux_installation_using_dual_cd
St Louis MUG
Django Mini Tutorial
Django Mini Tutorial
Fahri Firdausillah
Python geek Event Description
Python geek Event Description
Parbhat Puri
OASIS
OASIS
Evin Lachance
2010-02-09 Reactor Pattern & Event Driven Programming
2010-02-09 Reactor Pattern & Event Driven Programming
Lin Jen-Shin
Python in Computer Vision
Python in Computer Vision
Brian Thorne
Python PPT
Python PPT
Edureka!
An Introduction to Python Concurrency
An Introduction to Python Concurrency
David Beazley (Dabeaz LLC)
What Makes Great Infographics
What Makes Great Infographics
SlideShare
Masters of SlideShare
Masters of SlideShare
Kapost
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
Empowered Presentations
You Suck At PowerPoint!
You Suck At PowerPoint!
Jesse Desjardins - @jessedee
10 Ways to Win at SlideShare SEO & Presentation Optimization
10 Ways to Win at SlideShare SEO & Presentation Optimization
Oneupweb
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
Content Marketing Institute
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & Tricks
SlideShare
Destaque
(17)
Perl from the ground up: objects and testing
Perl from the ground up: objects and testing
Asynchronous programming with AnyEvent
Asynchronous programming with AnyEvent
2010.1 mandriva linux_installation_using_dual_cd
2010.1 mandriva linux_installation_using_dual_cd
Django Mini Tutorial
Django Mini Tutorial
Python geek Event Description
Python geek Event Description
OASIS
OASIS
2010-02-09 Reactor Pattern & Event Driven Programming
2010-02-09 Reactor Pattern & Event Driven Programming
Python in Computer Vision
Python in Computer Vision
Python PPT
Python PPT
An Introduction to Python Concurrency
An Introduction to Python Concurrency
What Makes Great Infographics
What Makes Great Infographics
Masters of SlideShare
Masters of SlideShare
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
STOP! VIEW THIS! 10-Step Checklist When Uploading to Slideshare
You Suck At PowerPoint!
You Suck At PowerPoint!
10 Ways to Win at SlideShare SEO & Presentation Optimization
10 Ways to Win at SlideShare SEO & Presentation Optimization
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
How To Get More From SlideShare - Super-Simple Tips For Content Marketing
How to Make Awesome SlideShares: Tips & Tricks
How to Make Awesome SlideShares: Tips & Tricks
Semelhante a Anyevent
YAPC::Brasil 2009, POE
YAPC::Brasil 2009, POE
Thiago Rondon
Giorgio zoppi cpp11concurrency
Giorgio zoppi cpp11concurrency
Giorgio Zoppi
Linux kernel tracing superpowers in the cloud
Linux kernel tracing superpowers in the cloud
Andrea Righi
O CPAN tem as ferramentas que você precisa para fazer TDD em Perl, o Coding D...
O CPAN tem as ferramentas que você precisa para fazer TDD em Perl, o Coding D...
Rodolfo Carvalho
PHP Internals and Virtual Machine
PHP Internals and Virtual Machine
julien pauli
Phpconf 2013 - Agile Telephony Applications with PAMI and PAGI
Phpconf 2013 - Agile Telephony Applications with PAMI and PAGI
Marcelo Gornstein
Monitoring with Syslog and EventMachine (RailswayConf 2012)
Monitoring with Syslog and EventMachine (RailswayConf 2012)
Wooga
Exploring Raspberry Pi
Exploring Raspberry Pi
Lentin Joseph
Ceph Day Melbourne - Troubleshooting Ceph
Ceph Day Melbourne - Troubleshooting Ceph
Ceph Community
netfilter and iptables
netfilter and iptables
Kernel TLV
Node js lecture
Node js lecture
Darryl Sherman
Php engine
Php engine
julien pauli
Dive into sentry
Dive into sentry
Leo Zhou
Getting modern with logging via log4perl
Getting modern with logging via log4perl
Dean Hamstead
Taipei.py 2018 - Control device via ioctl from Python
Taipei.py 2018 - Control device via ioctl from Python
Hua Chu
Node.js Event Loop & EventEmitter
Node.js Event Loop & EventEmitter
Simen Li
Bash Scripting Workshop
Bash Scripting Workshop
Ahmed Magdy Ezzeldin, MSc.
Pyramid of-developer-skills
Pyramid of-developer-skills
Alexandru Bolboaca
HSA Kernel Code (KFD v0.6)
HSA Kernel Code (KFD v0.6)
Hann Yu-Ju Huang
Quick tour of PHP from inside
Quick tour of PHP from inside
julien pauli
Semelhante a Anyevent
(20)
YAPC::Brasil 2009, POE
YAPC::Brasil 2009, POE
Giorgio zoppi cpp11concurrency
Giorgio zoppi cpp11concurrency
Linux kernel tracing superpowers in the cloud
Linux kernel tracing superpowers in the cloud
O CPAN tem as ferramentas que você precisa para fazer TDD em Perl, o Coding D...
O CPAN tem as ferramentas que você precisa para fazer TDD em Perl, o Coding D...
PHP Internals and Virtual Machine
PHP Internals and Virtual Machine
Phpconf 2013 - Agile Telephony Applications with PAMI and PAGI
Phpconf 2013 - Agile Telephony Applications with PAMI and PAGI
Monitoring with Syslog and EventMachine (RailswayConf 2012)
Monitoring with Syslog and EventMachine (RailswayConf 2012)
Exploring Raspberry Pi
Exploring Raspberry Pi
Ceph Day Melbourne - Troubleshooting Ceph
Ceph Day Melbourne - Troubleshooting Ceph
netfilter and iptables
netfilter and iptables
Node js lecture
Node js lecture
Php engine
Php engine
Dive into sentry
Dive into sentry
Getting modern with logging via log4perl
Getting modern with logging via log4perl
Taipei.py 2018 - Control device via ioctl from Python
Taipei.py 2018 - Control device via ioctl from Python
Node.js Event Loop & EventEmitter
Node.js Event Loop & EventEmitter
Bash Scripting Workshop
Bash Scripting Workshop
Pyramid of-developer-skills
Pyramid of-developer-skills
HSA Kernel Code (KFD v0.6)
HSA Kernel Code (KFD v0.6)
Quick tour of PHP from inside
Quick tour of PHP from inside
Mais de Marian Marinov
Dev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & Logging
Marian Marinov
Basic presentation of cryptography mechanisms
Basic presentation of cryptography mechanisms
Marian Marinov
Microservices: Benefits, drawbacks and are they for me?
Microservices: Benefits, drawbacks and are they for me?
Marian Marinov
Introduction and replication to DragonflyDB
Introduction and replication to DragonflyDB
Marian Marinov
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
Marian Marinov
How to successfully migrate to DevOps .pdf
How to successfully migrate to DevOps .pdf
Marian Marinov
How to survive in the work from home era
How to survive in the work from home era
Marian Marinov
Managing sysadmins
Managing sysadmins
Marian Marinov
Improve your storage with bcachefs
Improve your storage with bcachefs
Marian Marinov
Control your service resources with systemd
Control your service resources with systemd
Marian Marinov
Comparison of-foss-distributed-storage
Comparison of-foss-distributed-storage
Marian Marinov
Защо и как да обогатяваме знанията си?
Защо и как да обогатяваме знанията си?
Marian Marinov
Securing your MySQL server
Securing your MySQL server
Marian Marinov
Sysadmin vs. dev ops
Sysadmin vs. dev ops
Marian Marinov
DoS and DDoS mitigations with eBPF, XDP and DPDK
DoS and DDoS mitigations with eBPF, XDP and DPDK
Marian Marinov
Challenges with high density networks
Challenges with high density networks
Marian Marinov
SiteGround building automation
SiteGround building automation
Marian Marinov
Preventing cpu side channel attacks with kernel tracking
Preventing cpu side channel attacks with kernel tracking
Marian Marinov
Managing a lot of servers
Managing a lot of servers
Marian Marinov
Let's Encrypt failures
Let's Encrypt failures
Marian Marinov
Mais de Marian Marinov
(20)
Dev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & Logging
Basic presentation of cryptography mechanisms
Basic presentation of cryptography mechanisms
Microservices: Benefits, drawbacks and are they for me?
Microservices: Benefits, drawbacks and are they for me?
Introduction and replication to DragonflyDB
Introduction and replication to DragonflyDB
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
Message Queuing - Gearman, Mosquitto, Kafka and RabbitMQ
How to successfully migrate to DevOps .pdf
How to successfully migrate to DevOps .pdf
How to survive in the work from home era
How to survive in the work from home era
Managing sysadmins
Managing sysadmins
Improve your storage with bcachefs
Improve your storage with bcachefs
Control your service resources with systemd
Control your service resources with systemd
Comparison of-foss-distributed-storage
Comparison of-foss-distributed-storage
Защо и как да обогатяваме знанията си?
Защо и как да обогатяваме знанията си?
Securing your MySQL server
Securing your MySQL server
Sysadmin vs. dev ops
Sysadmin vs. dev ops
DoS and DDoS mitigations with eBPF, XDP and DPDK
DoS and DDoS mitigations with eBPF, XDP and DPDK
Challenges with high density networks
Challenges with high density networks
SiteGround building automation
SiteGround building automation
Preventing cpu side channel attacks with kernel tracking
Preventing cpu side channel attacks with kernel tracking
Managing a lot of servers
Managing a lot of servers
Let's Encrypt failures
Let's Encrypt failures
Último
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Paola De la Torre
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
shyamraj55
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Delhi Call girls
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
2toLead Limited
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
XfilesPro
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
OnBoard
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
AndikSusilo4
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
Softradix Technologies
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
Key Features Of Token Development (1).pptx
Key Features Of Token Development (1).pptx
LBM Solutions
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
Último
(20)
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Key Features Of Token Development (1).pptx
Key Features Of Token Development (1).pptx
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Anyevent
1.
Bulgarian Perl Workshop 2010
Event driven programing with AnyEvent Marian Marinov mm@yuhu.biz
2.
Event Driven programing
● select() ..... and wait ● fork() ..... and wait ● poll/epoll – define..... call when ready ● fork() + wait(WNOHANG)
3.
AnyEvent supports
● EV ● Irssi ● Event ● Qt ● Glib ● Tk ● Event::Lib ● Own pure perl loops ● IO::Async ● POE
4.
Log analyzer
Blocking example: open FD, '-|', 'tail -f messages'; while(<FD>) { xxxxx; } close FD;
5.
Log analyzer
Non-blocking example: my $result_ready = AnyEvent->condvar; my $w = AnyEvent>io ( fh => $fh, poll => 'r', cb => sub { $result_ready>send; } ); $result_ready>recv;
6.
AnyEvent methods
● AnyEvent>io (fh => $fh, poll => "r", cb => sub { ... }); ● AnyEvent>timer (after => $seconds, cb => sub { ... }); ● AnyEvent>timer (after => $seconds, interval => $seconds, cb => ... ● AnyEvent>now; # prints current event loop time ● AnyEvent>time; # think Time::HiRes::time or simply CORE::time.
7.
AnyEvent methods
● AnyEvent>signal (signal => "TERM", cb => sub { ... }); ● AnyEvent>child (pid => $pid, cb => sub { ... }); ● AnyEvent>idle (cb => sub { ... }); ● AnyEvent>condvar; # condition state ● $condition>send; # send signal to the receivers ● $condition>recv; # continue from here
8.
How it's done
● Setup a condition ● Write what you want to do (setup a watcher) – setup a producer into the watcher ● Set a stop point (consumer)
Baixar agora