Skip to content

Instantly share code, notes, and snippets.

View bigjust's full-sized avatar

Justin Caratzas bigjust

View GitHub Profile
@bigjust
bigjust / apache_load_test.js
Created September 9, 2012 21:38 — forked from adreyer/README.rst
a simple script for loadtesting solr using it's logs
#!/usr/bin/env node
var sys = require("sys");
var http = require("http");
var request = require("request");
// this is what you'll be testing
var host = process.argv[2];
var port = 80;
var regex = /"GET (\S+)/;
@bigjust
bigjust / gist:1302723
Created October 20, 2011 23:44
Y U NO REPLICATE SOLR???
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
migrate sitesettings
migrate source
migrate list_o_rama
migrate
migrate list_o_rama 0031
migrate