Skip to content

Instantly share code, notes, and snippets.

Kwyn Alice Meagher kwyn

Block or report user

Report or block kwyn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Load Testing Approach.

The theory behind this testing approach is based on Little's Law and USL (Universal Scalability Law) which are explained in more detail in Coda's blog post

One thing left out from the above article is how to go about load testing. In this document I'll go over how to load test variations on infrastructure configurations

You'll need a few key tools:

  • ghz (like gigahertz... get it?) a load testing tool used for gRPC
  • usl go get -u to install the usl CLI
View scraper-config.json
"startDate": "2019-06-15",
"endDate": "2019-09-16"
kwyn / regional_autoscale_deploy.yaml
Last active Jan 15, 2019
Regional Autoscaling for GKE using Google Deployment Manager
View regional_autoscale_deploy.yaml
- name: provision-test
# type: container.v1beta1.cluster
type: gcp-types/container-v1beta1:projects.locations.clusters
# Region that the cluster will be deployed to
parent: 'projects/kwyn-testbed/locations/us-west1'
initialClusterVersion: "1.11.5-gke.5"

Keybase proof

I hereby claim:

  • I am kwyn on github.
  • I am kwyn ( on keybase.
  • I have a public key whose fingerprint is 3CA8 9258 4F68 A954 D94A 2E12 BDF8 2FFA 41F0 9784

To claim this, I am signing this object:

kwyn / NanoSpring_Script.awk
Created May 9, 2016
Carve a nanospring out of a 3d point file
View NanoSpring_Script.awk
#define PI for program
#define radius of spring form, helical body radius
#define pitch
b= p/(2*PI);
#define diameter of spring wire and radius, cross-sectional thickness
  • Devote 90 minutes a day to "practice"
    • practice = working on something fun with a path
  • Build to learn not to use/finish
  • Seven Slotted Learning Todo List
    • Strict seven slots
    • When it's full and you want to add something remove something and place in a "someday" file in your digital notepad of choice
  • Manage anxiety by converting to apathy or control
  • Apathy to get things done and avoid dread
kwyn / bloom.js
Created Sep 11, 2015
Bloom filter in JavaScript because reasons.
View bloom.js
var BloomFilter;
BloomFilter = function(length){
this._limit = length;
this._storage =;
var makeStorage = function(){
var that = this;
View trigger function
function trigger (match, offset, func){
var trigger_height = $(match).offset().top + offset;
var element_height = $(match).height();
$(window).on('scroll-tick', function() {
var scrolltop = $(window).scrollTop();
if(scrolltop > trigger_height && scrolltop < trigger_height + element_height){
View config.js
var config = module.exports = {};
config.server = {
views: {
engines: {
jade: require('jade')
basePath: __dirname,
path: './templates',
partialsPath: './templates/partials',
kwyn / jsx.sublime-snippet
Created Sep 6, 2014
jsx autocomplete snippet for /** @jsx React.DOM */ declaration
View jsx.sublime-snippet
<content><![CDATA[/** @jsx React.DOM */]]></content>
<description>jsx declerations</description>
You can’t perform that action at this time.