Skip to content

Webinar on the online edition of International PHP conference

License

Notifications You must be signed in to change notification settings

Morpheus-ro/asyncphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Denys Bulakh
Jun 18, 2020
129c981 · Jun 18, 2020

History

21 Commits
Jun 17, 2020
Jun 18, 2020
Jun 17, 2020
Jun 11, 2020
Jun 18, 2020
Jun 17, 2020

Repository files navigation

Asynchronous PHP in examples

#slideless

Denys Bulakh

  • Web Software Developer since 2002
  • CTO at Regiondo GmbH
  • Principal Engineer at Jochen Schweizer Mydays Group

Regiondo

  • Booking software for Leisure activity providers
  • PHP, MySQL, MongoDB, Elasticsearch, Magento
  • NodeJS, ReactJS, Kafka, k8, AWS

PHP is synchronous

  • Responsiveness
  • Multiprocessing
  • Performance
  • Concurrent requests
  • Blocking I/O
  • DB deadlocks

Solution?

  • Queuing

  • message broker

  • Gearman, RabbitMq, Amazon SQS

  • Promises

  • event loop

  • child processes

  • coroutines

  • multiprocessing

  • ReactPHP

  • Swoole

Example project

  • Synchronous
  • Simple dummy Booking system
  • Generates bookings, tickets and registers tickets within external providers

Target state

  • Asynchronous execution
  • Parallel execution of concurrent external requests

Contact

About

Webinar on the online edition of International PHP conference

Resources

License

Stars

Watchers

Forks

Packages

No packages published