View orderedWorkpool.go
This file contains 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
package concurrentprotojson | |
import ( | |
"container/heap" | |
"sync" | |
"github.com/twmb/franz-go/pkg/kgo" | |
"google.golang.org/protobuf/encoding/protojson" | |
"google.golang.org/protobuf/proto" | |
"google.golang.org/protobuf/reflect/protoreflect" |
View main.py
This file contains 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
print("hello world") |
View beta_test_rand_mix_rw
This file contains 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
test_rand_mix_rw: (groupid=0, jobs=1): err= 0: pid=29890: Tue Jan 7 12:33:06 2020 | |
read: IOPS=57.5k, BW=449MiB/s (471MB/s)(2046MiB/4557msec) | |
slat (nsec): min=1550, max=48849, avg=2505.48, stdev=1810.42 | |
clat (usec): min=70, max=10830, avg=496.39, stdev=482.92 | |
lat (usec): min=73, max=10832, avg=498.94, stdev=482.93 | |
clat percentiles (usec): | |
| 1.00th=[ 88], 5.00th=[ 113], 10.00th=[ 137], 20.00th=[ 176], | |
| 30.00th=[ 215], 40.00th=[ 258], 50.00th=[ 318], 60.00th=[ 400], | |
| 70.00th=[ 537], 80.00th=[ 766], 90.00th=[ 1123], 95.00th=[ 1385], | |
| 99.00th=[ 2278], 99.50th=[ 2868], 99.90th=[ 4080], 99.95th=[ 4555], |
View s3_flask_python.py
This file contains 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 threading | |
import boto3 | |
import flask | |
local = threading.local() | |
class S3: |
View s3_flask_python.py
This file contains 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
```python | |
import threading | |
import boto3 | |
import flask | |
local = threading.local() | |
View s3_flask_python.py
This file contains 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
```python | |
import threading | |
import boto3 | |
import flask | |
local = threading.local() | |
View s3_flask_python.py
This file contains 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
```python | |
import threading | |
import boto3 | |
import flask | |
local = threading.local() | |
View s3_flask_python.py
This file contains 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
```python | |
import threading | |
import boto3 | |
import flask | |
local = threading.local() | |
View s3_flask_python.py
This file contains 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
```python | |
import threading | |
import boto3 | |
import flask | |
local = threading.local() | |
View s3_flask_python.py
This file contains 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
```python | |
import threading | |
import boto3 | |
import flask | |
local = threading.local() | |
NewerOlder