I hereby claim:
- I am jcook21 on github.
- I am jcook21 (https://keybase.io/jcook21) on keybase.
- I have a public key ASAtZRgy6BfC2xcJ24_T4po4vhoqBjFk58vOThiLhXL96Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
The log files our applications produce contain a wealth of information about how things are performing at any moment, yet for many of us the only time we look at them is when our we're trying to diagnose problems during an outage. Wouldn't it be great if our log files could be mined in real time and even alert us before things get to a critical state? This talk will show you exactly how to do that using open source tools. We'll look at using software such as Monolog and Rsyslog to collect information from individual servers as well as Graylog2 to aggregate, store and make quickly searchable millions of log records from multiple sources. By the end of this talk you'll have the knowledge required to mine your log data in real time, helping you to avoid major problems. |
Can your web app quickly scale to handle massive fluctuations in traffic? How about stay up during a DDOS attack? Can it do either of these while maintaining a lightning fast response time and without breaking the bank? The Varnish web application accelerator is a tool that can help you to achieve all of these things. This talk will introduce what Varnish is and when it's the right tool for the job. We'll examine how you can install and configure it to sit in front of any HTTP server to act as a reverse proxy, serving cached content at very high speeds. We'll then examine the Varnish configuration language and how you can use it fine tune every aspect of Varnish's performance as well as Varnish's support for edge side includes, allowing you to cache different content on the same page for varying amounts of time. We'll finish with a quick rundown of the tools Varnish provides to monitor and further tweak its configuration. By the end of this talk you should have the knowledge needed to get started with Varnish |
<?php | |
require dirname(__DIR__) . '/vendor/autoload.php'; | |
class Test |
public function putBioAction(Team $team, TeamMember $teamMember, MemberBio $bio, Request $request) | |
{ | |
if (! self::validateTeamMemberForTeam($team, $teamMember) || $bio->getTeamMember() !== $teamMember) { | |
throw $this->createNotFoundException('Invalid team member for team or bio for team member'); | |
} |
" Allow gf to work with PHP namespaced classes. | |
set includeexpr=substitute(v:fname,'\\\','/','g') | |
set suffixesadd+=.php |
set path+=/path/to/project/src/** | |
set path+=/path/to/project/vendor/** |
# Deployment server info | |
set :application, "APP NAME" | |
set :domain, "APP DOMAIN NAME" | |
set :deploy_to, "/path/on/live/server" | |
set :app_path, "app" | |
set :web_path, "web" | |
set :maintenance_basename, "maintenance" | |
# SCM info | |
set :repository, "GIT REMOTE REPO URL" |
<?php | |
/** | |
* This file sets up exception and error handlers to log errors to our Graylog2 | |
* server. | |
* | |
* @author Jeremy Cook | |
*/ | |
//Add the autoloader generated by composer for dependencies. | |
require_once 'path/to/composer/autoload.php'; |