Skip to content

Instantly share code, notes, and snippets.

0 Backend_health - mongrels Still healthy 4--X-S-RH 5 2 5 0.000638 0.000789 HTTP/1.1 200 OK
0 Backend_health - mongrels[1] Still healthy 4--X-S-RH 5 2 5 0.000842 0.000878 HTTP/1.1 200 OK
0 Backend_health - mongrels Still healthy 4--X-S-RH 5 2 5 0.000873 0.000810 HTTP/1.1 200 OK
0 Backend_health - mongrels[1] Still healthy 4--X-S-RH 5 2 5 0.000895 0.000882 HTTP/1.1 200 OK
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1226357032 1.0
0 Backend_health - mongrels Still healthy 4--X-S-RH 5 2 5 0.000804 0.000808 HTTP/1.1 200 OK
0 Backend_health - mongrels[1] Still healthy 4--X-S-RH 5 2 5 0.000902 0.000887 HTTP/1.1 200 OK
7 SessionOpen c 127.0.0.1 49941 :81
11 SessionOpen c 127.0.0.1 49942 :81
0 Backend_health - mongrels[1] Still healthy 4--X-S-RH 5 2 5 0.000664 0.000730 HTTP/1.1 200 OK
0 Backend_health - mongrels Still healthy 4--X-S-RH 5 2 5 0.000764 0.000802 HTTP/1.1 200 OK
0 Backend_health - mongrels[1] Still healthy 4--X-S-RH 5 2 5 0.000818 0.000752 HTTP/1.1 200 OK
0 Backend_health - mongrels Still healthy 4--X-S-RH 5 2 5 0.000746 0.000788 HTTP/1.1 200 OK
0 Backend_health - mongrels[1] Still healthy 4--X-S-RH 5 2 5 0.000750 0.000751 HTTP/1.1 200 OK
0 Backend_health - mongrels Still healthy 4--X-S-RH 5 2 5 0.000747 0.000778 HTTP/1.1 200 OK
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1226356959 1.0
0 Backend_health - mongrels[1] Still healthy 4--X-S-RH 5 2 5 0.000688 0.000736 HTTP/1.1 200 OK
0 Backend_health - mongrels Still healthy 4--X-S-RH 5 2 5 0.000724 0.000764 HTTP/1.1 200 OK
0 Backend_health - mongrels Still healthy 4--X-S-RH 5 2 5 0.000724 0.000796 HTTP/1.1 200 OK
0 Backend_health - mongrels[1] Still healthy 4--X-S-RH 5 2 5 0.000641 0.000812 HTTP/1.1 200 OK
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1226356025 1.0
0 Backend_health - mongrels Still healthy 4--X-S-RH 5 2 5 0.000725 0.000778 HTTP/1.1 200 OK
0 Backend_health - mongrels[1] Still healthy 4--X-S-RH 5 2 5 0.000633 0.000767 HTTP/1.1 200 OK
7 SessionOpen c 127.0.0.1 47704 :81
11 ReqStart c 127.0.0.1 47691 1463837261
11 RxRequest c GET
11 RxURL c /statuses/user_timeline.xml
namespace :deploy do
task :restart do
configuration = "#{stage}-#{release_name}"
run <<-CMD
echo -e "vcl.load #{configuration} /usr/local/etc/varnish/#{stage}.vcl\nvcl.use #{configuration}" | nc localhost 6082
CMD
end
end
backend default {
.host = "127.0.0.1";
.port = "3000";
}
C{
#include <dlfcn.h>
typedef int twitter_is_fresh_t(char *, char *);
static twitter_is_fresh_t *twitter_is_fresh_ptr;
GET /foo/bar {
sub vcl_receive {
}
sub vcl_fetch {
}
}
GET /baz/boing {
...
GET /foo/bar {
sub vcl_recv {
}
}
all {
vcl_recv {
}
}