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
| [ec2-user@ip-172-31-28-226 memtier_benchmark]$ ./memtier_benchmark -s oranie-mem.ab0uwo.cfg.apne1.cache.amazonaws.com -p 11211 -P memcache_binary -- threads 1 -c 20000 --test-time=60 --ratio=1:10 --data-size- list=100000:60,500000:30,100000:10 --key-prefix=memtier-memtier-memtier- --key- maximum=100000 | |
| [RUN #1] Preparing benchmark client... | |
| [RUN #1] Launching threads now... | |
| [RUN #1 100%, 39 secs] 4 threads: 1993880 ops, 75826 (avg: 50389) ops/sec, 3.08MB/sec (avg: 2.04MB/sec), 2.64 (avg: 3.97) msec latenc[RUN #1 100%, 39 secs] 0 threads: 2000000 ops, 75826 (avg: 50450) ops/sec, 3.08MB/sec (avg: 2.05MB/sec), 2.64 (avg: 3.96) msec latency | |
| 4 Threads | |
| 50 Connections per thread | |
| 10000 Requests per thread | |
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
| [ec2-user@ip-172-31-30-60 omnibus-td-agent]$ bin/omnibus build td-agent2 | |
| [CLI] I | 2016-10-06T05:19:19+00:00 | Using config from 'omnibus.rb' | |
| [Software: config_guess] W | 2016-10-06T05:19:20+00:00 | Version master for software config_guess was not parseable. Comparison methods such as #satisfies? will not be available for this version. | |
| Building td-agent 2.3.3... | |
| [Software: preparation] I | 2016-10-06T05:19:20+00:00 | Resolving manifest entry for preparation | |
| [NullFetcher: preparation] I | 2016-10-06T05:19:20+00:00 | Fetching `preparation' (nothing to fetch) | |
| [Software: config_guess] I | 2016-10-06T05:19:20+00:00 | Resolving manifest entry for config_guess | |
| [Software: config_guess] W | 2016-10-06T05:19:20+00:00 | Version master for software config_guess was not parseable. Comparison methods such as #satisfies? will not be available for this version. | |
| [Software: config_guess] W | 2016-10-06T05:19:20+00:00 | Version master for software config_guess was not parseable. Comparison methods such |
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
| worker_processes 2; | |
| events { | |
| worker_connections 4096; | |
| } | |
| http { | |
| include mime.types; | |
| default_type application/octet-stream; |
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
| [Builder: fluentd-ui] I | Build fluentd-ui: 52.9431s | |
| The following shell command exited with status 1: | |
| $ BUNDLE_GEMFILE=Gemfile.production /opt/td-agent/embedded/bin/rake build | |
| Output: | |
| (nothing) | |
| Error: |
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 boto3 | |
| import time | |
| # Get the service resource. | |
| dynamodb = boto3.resource('dynamodb') | |
| table = dynamodb.Table('access_log') | |
| print(table.item_count) | |
| starttime = time.time() |
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
| #!/bin/bash | |
| cd /home/ec2-user/as_app | |
| git clone https://github.com/conmame/as_demo_app.git | |
| cd as_demo_app | |
| npm install | |
| node bin/www & |
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
| [ec2-user@ip-172-31-21-237 tools]$ sstablemetadata /var/lib/cassandra/data/OpsCenter/rollups60-a4bcce003b4411e5b6f94d9babac77ac/la-1-big-Data.db | |
| SSTable: /var/lib/cassandra/data/OpsCenter/rollups60-a4bcce003b4411e5b6f94d9babac77ac/la-1-big | |
| Partitioner: org.apache.cassandra.dht.Murmur3Partitioner | |
| Bloom Filter FP chance: 0.010000 | |
| Minimum timestamp: 1438763524378000 | |
| Maximum timestamp: 1439295851510001 | |
| SSTable max local deletion time: 1439900651 | |
| Compression ratio: -1.0 | |
| Estimated droppable tombstones: 0.897405094748573 | |
| SSTable Level: 0 |
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
| if (task.getIAMRoles == 1){ | |
| val client: AmazonDynamoDBClient = new AmazonDynamoDBClient( | |
| new ClientConfiguration().withMaxConnections(10)) | |
| .withRegion(Regions.fromName(task.getRegion)) | |
| } else { | |
| val client: AmazonDynamoDBClient = new AmazonDynamoDBClient( | |
| credentialsProvider, | |
| new ClientConfiguration().withMaxConnections(10)) | |
| .withRegion(Regions.fromName(task.getRegion)) | |
| } |
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
| // To run this test. | |
| // $ go get github.com/garyburd/redigo/redis | |
| // $ go test -bench=. | |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "math/rand" |
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
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:onClick="onClick" | |
| android:paddingBottom="@dimen/activity_vertical_margin" | |
| android:paddingLeft="@dimen/activity_horizontal_margin" | |
| android:paddingRight="@dimen/activity_horizontal_margin" | |
| android:paddingTop="@dimen/activity_vertical_margin" | |
| tools:context="com.example.androidday2thema.ResultActivity" > |