Skip to content

Instantly share code, notes, and snippets.

View dommmel's full-sized avatar
💭
That worked!

Dominik dommmel

💭
That worked!
View GitHub Profile
create_table "spree_option_types", force: :cascade do |t|
t.string "name", limit: 100
t.string "presentation", limit: 100
t.integer "position", default: 0, null: false
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.index ["name"], name: "index_spree_option_types_on_name"
t.index ["position"], name: "index_spree_option_types_on_position"
end
# cd /root && fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75
test: (g=0): rw=randrw, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=64
fio-3.16
Starting 1 process
test: Laying out IO file (1 file / 4096MiB)
Jobs: 1 (f=1): [m(1)][100.0%][r=15.6MiB/s,w=5433KiB/s][r=4004,w=1358 IOPS][eta 00m:00s]
test: (groupid=0, jobs=1): err= 0: pid=11569: Tue Feb 16 14:09:52 2021
read: IOPS=4001, BW=15.6MiB/s (16.4MB/s)(3070MiB/196382msec)
bw ( KiB/s): min=15568, max=19176, per=100.00%, avg=16006.79, stdev=170.15, samples=392
iops : min= 3892, max= 4794, avg=4001.70, stdev=42.53, samples=392
AA
AB
AC
AD
AE
AF
AG
AH
AI
AJ
@dommmel
dommmel / main.go
Last active July 29, 2024 19:55
minimal dataflow beam test
package main
import (
"context"
"flag"
"log"
"github.com/apache/beam/sdks/v2/go/pkg/beam"
"github.com/apache/beam/sdks/v2/go/pkg/beam/io/pubsubio"
beamLog "github.com/apache/beam/sdks/v2/go/pkg/beam/log"