Diff for "Projects/LongPollNotes"

Not logged in - Log In / Register

Differences between revisions 14 and 15
Revision 14 as of 2011-06-29 10:22:25
Size: 2075
Comment:
Revision 15 as of 2011-06-29 23:51:39
Size: 1862
Comment:
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
= Wednesday =
 * IJob hacked to create a Rabbit queue on job creation and poke a message to it when the job completes.
 * uuid stored on the job when creating a queue
 * MP page adapted to use the uuid
Line 29: Line 34:
   * Create queue/routing key at job creation time.
   * Send rabbit event only on commit (use zodb event)
   * Don't send whole diff, it's easier for the page to send a notification so it can render the page fragment as it does now.
 * Work out UUID and sequence stuff; store UUID in the job metadata when it's created
 * Abstract hard-coded stuff in MP example so it sends via some API and on the right queue name

Monday

  • Fixed RabbitMQ layer (allenap, stub)
    • Fixing a teardown problem where ctrl-c leaves a rabbit running
  • Added buildout to lazr.amqp and got tests running (wgrant, gmb)
  • Pushed first revision to new project lazr.amqp (bigjools)
  • Started conversion of daemon scripts to TAPs. (bigjools)
  • Removed Storm dependency (wgrant)

Tuesday

  • async-frontend is now working (bin/twistd -n asyncfrontend -h localhost -u lazr.amqp -a lazr.amqp -v lazr.amqp-test -p 5672 -f 9999)

  • Add a LICENSE file and make sure copyright is good

  • Add a Makefile that sorts out basic build steps

  • Create a separate RabbitFixture egg

  • lazr.amqp tests now using testtools instead of trial
  • Published a test message through lazr.amqp
  • Prototype changes to the MP page are working with some hard-coded values!

Wednesday

  • IJob hacked to create a Rabbit queue on job creation and poke a message to it when the job completes.
  • uuid stored on the job when creating a queue
  • MP page adapted to use the uuid

TODO

  • Move Config fixture stuff out of RabbitFixture into LP's tests (allenap)

  • Make lazr.amqp use RabbitFixture with testresources (wgrant)

  • Put lazr.amqp in LP's buildout (gmb, blocked until we have a stable release)
  • Get noddy example working with merge proposals (rvba, bigjools, in progress)
  • Extract out a useful common API (stub, thinking about it)
  • Review wrt to ArchitectureGuide/ServicesRequirements and make plans for what's needed

    • Split out client code into a separate project
    • Split out RabbitFixture to separate project

    • Write a fast test fake
  • Rename lazr.amqp to txlongpoll
  • Get log rotation working with async-frontend

Under-specified

  • XHR protocol
  • Rabbit
  • Job -> rabbit message

  • Rewrite rules
  • Browser JS

Projects/LongPollNotes (last edited 2011-06-29 23:51:39 by julian-edwards)