Skip to content

Instantly share code, notes, and snippets.

View kparlante's full-sized avatar

Katie Parlante kparlante

View GitHub Profile
@kparlante
kparlante / interaction_data_flows.md
Last active December 16, 2015 04:09
document expected event streams and other interaction data fields for various user flows
  1. Add new secondary user

  • event_stream
    • window.channel_established
    • screen.rp_info
    • xhr_complete.GET/wsapi/session_context
    • screen.authenticate
    • user.can_interact
  • xhr_complete.GET/wsapi/address_info

Test Using load_gen

To use load_gen to test kpi, you have 3 pieces to worry about/setup:

  • the load_gen script (run locally or on aws)
  • the browserid instance you're going to test (local or ephemeral)
  • the kpiggybank server that browserid is going to hit (local or ephemeral)

The dashboard is a fourth piece, but we can worry about that separately, as the script that updates the dashboard is currenty run manually.

#!/bin/bash
#
# This script installs and configures couchdb on a fresh Amazon Linux AMI instance.
#
# Must be run with root privileges
# Tested with Amazon Linux AMI release 2011.02.1.1 (ami-8c1fece5)
#
export BUILD_DIR="$PWD"