Diff for "Projects/LongPollNotes"

Not logged in - Log In / Register

Differences between revisions 3 and 14 (spanning 11 versions)
Revision 3 as of 2011-06-27 17:01:08
Size: 582
Editor: jml
Comment:
Revision 14 as of 2011-06-29 10:22:25
Size: 2075
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
 * 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!
Line 15: Line 25:
 * Move rabbitmq fixture from LP into lazr.amqp.
  * Port it from amqplib to txamqp, like the rest of lazr.amqp.
  * Move the custom landscape script into the fixture
  * Either
    * Remove the storm dependency
    * Add storm to the eggs
 * 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)
   * 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
 * 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

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!

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)
    • 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
  • 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)