Skip to content

Instantly share code, notes, and snippets.

@lafikl
Last active August 29, 2015 14:07
Show Gist options
  • Save lafikl/85f94871474a31888cd1 to your computer and use it in GitHub Desktop.
Save lafikl/85f94871474a31888cd1 to your computer and use it in GitHub Desktop.

Wish list:

  • Round-robin load balancing
  • Failure detection
  • Results caching [LRU or/and Browser cache]
  • Webhooks, Notify subscribers when a certain event happens.
  • Plugins system, which will allow developers to add custom logic for their apps. Like sending results over statsd.
  • Websockets support for test progress
  • Dashboard to see what's happening in the cluster right now.
@pmeenan
Copy link

pmeenan commented Oct 22, 2014

Some thoughts to better support load-balancing in WPT itself and make a proxy more useful:

  • Each server has a unique ID that becomes part of the test ID (proxy can use the ID to determine which back-end server is authoritative for the given test)
  • Servers can proxy results from other servers based on the unique ID if a request ends up on them by accident (or know how to get the result from an archive)
  • Test agents round-robin a list of servers and send results back to the server they got work from (this solves the test locking problem where individual tests need to be locked as results come in and are processed)
    • May need a way to tell the agent which server is authoritative is a shared work queue is used
  • Store full job in beanstalkd instead of pointer to work item
  • Support more resilient/fault-tolerant job queuing mechanism
  • Support for MySQL for test history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment