Skip to content

Instantly share code, notes, and snippets.

View techwolf359's full-sized avatar

Jeremy Tinley techwolf359

View GitHub Profile
@keyurdg
keyurdg / mysql_query_multiplexer.go
Created March 18, 2013 19:01
Read output from pt-query-digest and multiplex queries to MySQL over multiple threads.
package main
import (
"bufio"
"bytes"
_ "github.com/Go-SQL-Driver/MySQL"
"database/sql"
"flag"
"fmt"
"io"