This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir -p $1 | |
| mv $(ls -1a | grep -v $1| grep -v .git$ | grep -v '\.$') $1 | |
| # git filter-branch -f --prune-empty --tree-filter 'path_to/move.sh <NAME_OF_SUBDIR>' @ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: "config.istio.io/v1alpha2" | |
| kind: EgressRule | |
| metadata: | |
| name: ubuntu | |
| spec: | |
| destination: | |
| service: "*.ubuntu.com" | |
| ports: | |
| - port: 80 | |
| protocol: http |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: "config.istio.io/v1alpha2" | |
| kind: EgressRule | |
| metadata: | |
| name: debian | |
| spec: | |
| destination: | |
| service: "*.debian.org" | |
| ports: | |
| - port: 80 | |
| protocol: http |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: istio | |
| namespace: istio-system | |
| annotations: | |
| kubernetes.io/ingress.class: "istio" | |
| spec: | |
| rules: | |
| - host: istio-mixer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func (f fieldEncoder) Encode(bag attribute.Bag, ba []byte, noInterfaceFieldEncode bool) ([]byte, error) { | |
| ba = append(ba, f.protoKey...) | |
| for i := 0; i < len(f.encoder); i++ { | |
| var err error | |
| if !noInterfaceFieldEncode { | |
| ba, err = f.encoder[i].Encode(bag, ba) | |
| if err != nil { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| address: | |
| socket_address: { address: $pod_ip, port_value: 8000 } | |
| listener_filters: | |
| - name: "envoy.listener.tls_inspector" | |
| config: {} | |
| filter_chains: | |
| - filter_chain_match: | |
| transport_protocol: "tls" | |
| tls_context: | |
| common_tls_context: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import datetime | |
| import calendar | |
| import requests | |
| import collections | |
| import os | |
| import json | |
| import argparse | |
| class Prom(object): | |
| # url: base url for prometheus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # experiment summary | |
| # All times in UTC | |
| start_time: "2018-10-03T12:32:06Z" | |
| end_time: "2018-10-03T12:32:12Z" | |
| # multiple experiments with the same setup should have the same exp_group_uuid | |
| exp_group_uuid: "uuid_string" | |
| istio_build: "build" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Process Size in MB. Resident memory on Mac | |
| 36: base proxy | |
| 193: smaller mixer+envoy (trimmed down adapters, no k8s) | |
| 198: full mixer+envoy | |
| 156: mixs binary only, no proxy | |
| 58: Envoy + with no-op go extension | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mjog@devinstance:/mnt/disks/sdb/go/src/istio.io/tools/perf/servicegraph/templates$ wrk -c 1000 -t 30 -d 120 -R 5000 -U http://fortioserver.v11.perf.qualistio.org/echo?size=1024 | |
| Running 2m test @ http://fortioserver.v11.perf.qualistio.org/echo?size=1024 | |
| 30 threads and 1000 connections | |
| Thread calibration: mean lat.: 3.271ms, rate sampling interval: 10ms | |
| Thread calibration: mean lat.: 3.320ms, rate sampling interval: 10ms | |
| Thread calibration: mean lat.: 3.414ms, rate sampling interval: 10ms | |
| Thread calibration: mean lat.: 3.272ms, rate sampling interval: 10ms | |
| Thread calibration: mean lat.: 3.276ms, rate sampling interval: 10ms | |
| Thread calibration: mean lat.: 3.168ms, rate sampling interval: 10ms | |
| Thread calibration: mean lat.: 3.198ms, rate sampling interval: 10ms |