Suche senden
Hochladen
Anyevent
•
Als ODP, PDF herunterladen
•
2 gefällt mir
•
1,103 views
Marian Marinov
Folgen
Bulgarian Perl Workshop 2010
Weniger lesen
Mehr lesen
Technologie
Melden
Teilen
Melden
Teilen
1 von 8
Jetzt herunterladen
Empfohlen
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
Empfohlen
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
Weitere ähnliche Inhalte
Was ist angesagt?
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
Was ist angesagt?
(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
Andere mochten auch
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
Andere mochten auch
(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
Ähnlich wie 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
Ähnlich wie 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
Mehr von 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
Mehr von 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
Kürzlich hochgeladen
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Igalia
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Katpro Technologies
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Enterprise Knowledge
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
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
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Delhi Call girls
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Igalia
Kürzlich hochgeladen
(20)
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
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)
Jetzt herunterladen