I hereby claim:
- I am kwyn on github.
- I am kwyn (https://keybase.io/kwyn) on keybase.
- I have a public key whose fingerprint is 5E41 8925 FB7C 0EC3 18DB D01C 8713 06BE 6646 771B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
* 8-16 * * 1-5 ffmpeg -f video4linux2 -s 1920x1080 -i /dev/video0 -vframes 1 /home/kwyn/timelapse/$(date "-%Y-%m-%d_%H:%M:%S")-snapshot.jpeg |
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:
{ | |
"startDate": "2019-06-15", | |
"endDate": "2019-09-16" | |
} |
resources: | |
- name: provision-test | |
# type: container.v1beta1.cluster | |
type: gcp-types/container-v1beta1:projects.locations.clusters | |
properties: | |
# Region that the cluster will be deployed to | |
parent: 'projects/kwyn-testbed/locations/us-west1' | |
cluster: | |
loggingService: logging.googleapis.com | |
initialClusterVersion: "1.11.5-gke.5" |
BEGIN{ | |
#define PI for program | |
PI=3.14159; | |
#define radius of spring form, helical body radius | |
r=6; | |
#define pitch | |
p=7; | |
b= p/(2*PI); | |
#define diameter of spring wire and radius, cross-sectional thickness | |
d=4; |
var BloomFilter; | |
(function(){ | |
BloomFilter = function(length){ | |
this._limit = length; | |
this._storage = makeStorage.call(this); | |
} | |
var makeStorage = function(){ | |
var that = this; |
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){ | |
func(); | |
} | |
}); | |
} |
var config = module.exports = {}; | |
config.server = { | |
views: { | |
engines: { | |
jade: require('jade') | |
}, | |
basePath: __dirname, | |
path: './templates', | |
partialsPath: './templates/partials', |