AmsterdamPHP / amsterdamphp.nl

The website fo the AmsterdamPHP User Group
18 stars 8 forks source link

Plan for Meetup Outages #33

Open rdohms opened 10 years ago

rdohms commented 10 years ago

Currently the site uses short term caches for all api calls.

However if the API throttles us or bugs out the site pretty much crashes, this should be improved and it should be more resilient to these failures.

pascaldevink commented 10 years ago

You mean like a introducing a circuit breaker pattern with a fallback? Or just plain try/catch with a nicer error message?

rdohms commented 10 years ago

Ideally something more long term without so much error messages, but given how little issues we have had, this may not be as important anymore.

pascaldevink commented 10 years ago

A small circuit breaker can be nice to introduce to the meetup bundle. This doesn't necessarily be a big thing, but enough to be done by a person on the hackathon for example. Specially for someone who's interested in the more backend jobs, this is a nice example.

It could be as simple as including and using Arthur Esjmont's bundle: https://github.com/ejsmont-artur/php-circuit-breaker-bundle or whip up something of our own, following his writeup: http://artur.ejsmont.org/blog/PHP-Circuit-Breaker-initial-Zend-Framework-proposal