CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 16 Aug 2025 23:10:48 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090604100705
location: https://web.archive.org/web/20090604100705/https://github.com/bmizerany/lizzy/tree
server-timing: captures_list;dur=0.936178, exclusion.robots;dur=0.028701, exclusion.robots.policy;dur=0.012020, esindex;dur=0.017786, cdx.remote;dur=31.565599, LoadShardBlock;dur=748.194063, PetaboxLoader3.resolve;dur=153.282190, PetaboxLoader3.datanode;dur=160.601011
x-app-server: wwwb-app210
x-ts: 302
x-tr: 823
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app210; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Sat, 16 Aug 2025 23:10:49 GMT
content-type: text/html; charset=utf-8
content-length: 111
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Thu, 04 Jun 2009 10:07:04 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090604100705/https://github.com/bmizerany/lizzy/tree/master
x-archive-orig-x-runtime: 136ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 111
cache-control: max-age=1800
memento-datetime: Thu, 04 Jun 2009 10:07:05 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 16 Jan 2009 04:21:58 GMT", ; rel="prev memento"; datetime="Mon, 30 Mar 2009 00:54:11 GMT", ; rel="memento"; datetime="Thu, 04 Jun 2009 10:07:05 GMT", ; rel="last memento"; datetime="Thu, 04 Jun 2009 10:07:05 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_10_20090604100300_crawl103-c/52_10_20090604100429_crawl101.arc.gz
server-timing: captures_list;dur=0.787508, exclusion.robots;dur=0.028607, exclusion.robots.policy;dur=0.013789, esindex;dur=0.017839, cdx.remote;dur=201.030828, LoadShardBlock;dur=306.483952, PetaboxLoader3.datanode;dur=267.618751, PetaboxLoader3.resolve;dur=153.183941, load_resource;dur=169.167222
x-app-server: wwwb-app210
x-ts: 301
x-tr: 722
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sat, 16 Aug 2025 23:10:49 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Thu, 04 Jun 2009 10:07:05 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 795ms
x-archive-orig-etag: "0f96e446b83996a15ddadae80777c437"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 17235
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 04 Jun 2009 10:07:05 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 16 Jan 2009 04:21:58 GMT", ; rel="prev memento"; datetime="Mon, 11 May 2009 01:06:31 GMT", ; rel="memento"; datetime="Thu, 04 Jun 2009 10:07:05 GMT", ; rel="next memento"; datetime="Sat, 02 Jul 2011 09:05:32 GMT", ; rel="last memento"; datetime="Sat, 17 Aug 2024 06:59:51 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_10_20090604100300_crawl103-c/52_10_20090604100429_crawl101.arc.gz
server-timing: captures_list;dur=0.559734, exclusion.robots;dur=0.018526, exclusion.robots.policy;dur=0.007579, esindex;dur=0.011200, cdx.remote;dur=10.007909, LoadShardBlock;dur=134.204121, PetaboxLoader3.datanode;dur=110.562682, PetaboxLoader3.resolve;dur=118.223948, load_resource;dur=112.673113
x-app-server: wwwb-app210
x-ts: 200
x-tr: 317
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
bmizerany's lizzy at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | An DSL for creating AMQP agents; quickly. |
Homepage: | lizzy.heroku.com |
Clone URL: |
git://github.com/bmizerany/lizzy.git
Give this clone URL to anyone.
git clone git://github.com/bmizerany/lizzy.git
|
lizzy /
name | age | message | |
---|---|---|---|
![]() |
README.textile | Thu Nov 20 18:28:55 -0800 2008 | last change for today [bmizerany] |
![]() |
lib/ | Thu Nov 20 17:01:54 -0800 2008 | init commit - extracted from heroku project [bmizerany] |
Lizzy – The lightweight agent system for AMQP for Ruby
Features
- Automatic logging of publishing, receiving, and errors through AMQP
- Built-in event tracking via logging
- Easy to use DSL for listening and publishing of events
- Tight integration with tmm1-amqp so you may take advantage of advanced AMQP features
- Used in Production at Heroku to manage/scale all your apps!
Setup / Dependencies
You will need RabbitMQ or another AMQP server installed (only tested with RabbitMQ)
https://www.rabbitmq.com/install.html#generic-unix
Gem dependencies
- eventmachine (https://github.com/eventmachine/eventmachine/tree/master)
- tmm1-amqp (https://github.com/tmm1/amqp)
- json (https://json.rubyforge.org/)
Install
gem install lizzy
or
Download source from https://github.com/heroku/lizzy
A quick listener example
# agent.rb
require 'rubygems'
require 'lizzy'
Lizzy.start({}) do # start AMQP with sensible defaults
Lizzy.listen4("mail.sent") do |listener, info, req|
p [Time.now, :request, req]
# We need to save an attachment. This may take awhile; defer from here
listener.defer do
save_attachment(req[:attachment], "baxter.jpg")
o.publish("attachment.saved", { :filename => "baxter.jpg" })
end
end
end
Sending message from a CLI script
# send_message.rb
require "rubygems"
require "lizzy"
Lizzy.start do
Lizzy.publish("mail.sent", { :attachment => 'hello world' })
Lizzy.stop_safe
end
This feature is coming soon. Sit tight!