Skip to content

Instantly share code, notes, and snippets.

View tleyden's full-sized avatar

Traun Leyden tleyden

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tleyden
tleyden / jq.md
Last active January 24, 2017 22:24

JSON Input

{
  "rows": [
    {
      "key": "0-writer-user-0-a2dd54dc-3301-4a9e-af23-7eb0fb293b7e",
      "id": "0-writer-user-0-a2dd54dc-3301-4a9e-af23-7eb0fb293b7e",
      "value": {
        "rev": "1-eb773b445a2f94651e418fbaa670c8ef",
@tleyden
tleyden / CouchbaseCla.txt
Created November 22, 2016 13:16
Couchbase Contributor License Agreement
Thank you for your interest in contributing to a Couchbase open source project including but not limited to Couchbase Server and Couchbase Lite ("Couchbase Projects"). Couchbase Inc. ("Couchbase") is very interested in receiving your contribution to the Couchbase Projects. However, in order to participate, we need to confirm how the rights in your contribution ("Your Contributions") will be allocated. Following the practices of other open source companies, Couchbase requests that you assign the copyrights and patents in Your Contributions to Couchbase (with a license back to you to use it in any way that you please). Couchbase requires that you have a Contributor Agreement on file prior to using any of Your Contributions. This Contributor Agreement is to make clear the rights between the parties. If you have not sent us a signed Contributor Agreement, please review and sign the Contributor Agreement and send a scanned image to info@Couchbase.com, or send an original by regular mail to Couchbase, Attn: Chief F
### Keybase proof
I hereby claim:
* I am tleyden on github.
* I am tleyden (https://keybase.io/tleyden) on keybase.
* I have a public key whose fingerprint is E942 F2E5 DE4E A07F 19CF 505A 40E4 30A5 23E7 3F23
To claim this, I am signing this object:
@tleyden
tleyden / editors.md
Last active February 13, 2016 01:56
Sync Gateway team members' favorite golang editors
Team Member Editor/IDE
Adam Fraser Sublime
Andy Reslan IntelliJ
Jens Alfke Sublime
Marty Schoch ???
@mjq ???
Seth Rosetter vim (but has expressed interest in converting to emacs)
2015-12-09T19:04:08.722Z Enabling logging: [*]
2015-12-09T19:04:08.723Z ==== Couchbase Sync Gateway/feature/distributed_index_1289_gocb_timeouts(9b10907) ====
2015-12-09T19:04:08.723Z Opening db /db as bucket "data-bucket", pool "default", server <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015-12-09T19:04:08.723Z Opening Couchbase database data-bucket on <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015/12/09 19:04:08 Trying with selected node 0
2015/12/09 19:04:08 Trying with selected node 0
2015-12-09T19:04:09.175Z Opening Couchbase database index-bucket on <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015-12-09T19:04:09.213Z Opening Couchbase database index-bucket on <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015-12-09T19:04:09.217Z Opening Couchbase database index-bucket on <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015-12-09T19:04:09.220Z Shadow: Watching doc changes...
2015-12-09T19:04:08.759Z Enabling logging: [*]
2015-12-09T19:04:08.760Z ==== Couchbase Sync Gateway/feature/distributed_index_1289_gocb_timeouts(9b10907) ====
2015-12-09T19:04:08.760Z Opening db /db as bucket "data-bucket", pool "default", server <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015-12-09T19:04:08.760Z Opening Couchbase database data-bucket on <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015/12/09 19:04:08 Trying with selected node 0
2015/12/09 19:04:08 Trying with selected node 0
2015-12-09T19:04:09.247Z Opening Couchbase database index-bucket on <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015-12-09T19:04:09.260Z Opening Couchbase database index-bucket on <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015-12-09T19:04:09.264Z Opening Couchbase database index-bucket on <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015-12-09T19:04:09.268Z Shadow: Watching doc changes...
2015-12-09T19:04:08.722Z Enabling logging: [*]
2015-12-09T19:04:08.723Z ==== Couchbase Sync Gateway/feature/distributed_index_1289_gocb_timeouts(9b10907) ====
2015-12-09T19:04:08.723Z Opening db /db as bucket "data-bucket", pool "default", server <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015-12-09T19:04:08.723Z Opening Couchbase database data-bucket on <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015/12/09 19:04:08 Trying with selected node 0
2015/12/09 19:04:08 Trying with selected node 0
2015-12-09T19:04:09.175Z Opening Couchbase database index-bucket on <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015-12-09T19:04:09.213Z Opening Couchbase database index-bucket on <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015-12-09T19:04:09.217Z Opening Couchbase database index-bucket on <http://ec2-54-211-172-217.compute-1.amazonaws.com:8091>
2015-12-09T19:04:09.220Z Shadow: Watching doc changes...
{"results":[
{"seq":"12-0","id":"test-25","changes":[{"rev":"11-c59eba38b6ff48aea30c74606e8e4885"}]}
,{"seq":"25-0","id":"test-60","changes":[{"rev":"11-c59eba38b6ff48aea30c74606e8e4885"}]}
,{"seq":"36-0","id":"test-36","changes":[{"rev":"11-c59eba38b6ff48aea30c74606e8e4885"}]}
,{"seq":"47-0","id":"test-73","changes":[{"rev":"11-c59eba38b6ff48aea30c74606e8e4885"}]}
,{"seq":"58-0","id":"test-14","changes":[{"rev":"11-c59eba38b6ff48aea30c74606e8e4885"}]}
,{"seq":"69-0","id":"test-0","changes":[{"rev":"11-c59eba38b6ff48aea30c74606e8e4885"}]}
,{"seq":"81-0","id":"test-51","changes":[{"rev":"11-c59eba38b6ff48aea30c74606e8e4885"}]}
,{"seq":"92-0","id":"test-42","changes":[{"rev":"11-c59eba38b6ff48aea30c74606e8e4885"}]}
,{"seq":"104-0","id":"test-5","changes":[{"rev":"11-c59eba38b6ff48aea30c74606e8e4885"}]}
{
"cb": {"ops": {"GetsRaw": {"count":98328,"sum":3027542893764,"min":1421511,"max":1505218837,"mean":3.0790241780205026e+07,"p25":1497690,"p50":1520649,"p75":1549740,"p90":1607450,"p99":1761904}, "Incr": {"count":488,"sum":23014300027,"min":1485895,"max":1752375994,"mean":4.7160450875e+07,"p25":1687896,"p50":8949151,"p75":36700245,"p90":114996850,"p99":598800524}, "Write(0x0)": {"count":16002,"sum":35479755084,"min":1479716,"max":1296790636,"mean":2.217207541807274e+06,"p25":1559644,"p50":1629759,"p75":1704055,"p90":1773302,"p99":1928851}, "Write(raw)": {"count":2000,"sum":300876112845,"min":1539024,"max":793283056,"mean":1.504380564225e+08,"p25":41752384,"p50":121186940,"p75":219338701,"p90":327887870,"p99":558812689}, "casNext": {"count":1106252,"sum":34702650138735,"min":1414262,"max":2398767888,"mean":3.1369570530706387e+07,"p25":1598293,"p50":1980618,"p75":18124526,"p90":70043084,"p99":214600918}}, "pools": {"ip-10-154-37-187.ec2.internal:11210": {"count":420371,"sum":8624935071969,"min":425,"max":924824