Skip to content

Instantly share code, notes, and snippets.

Sandro Keil sandrokeil

Block or report user

Report or block sandrokeil

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am sandrokeil on github.
  • I am sandrokeil (https://keybase.io/sandrokeil) on keybase.
  • I have a public key ASAC4DhmaQ5nvrzUk9a_Niig1k88SzP-lJl8-oBgwUvb8wo

To claim this, I am signing this object:

@sandrokeil
sandrokeil / Dockerfile
Created Feb 25, 2017
nginx with lua-resty-auto-ssl - On the fly (and free) SSL registration and renewal inside nginx with Let's Encrypt.
View Dockerfile
FROM alpine:3.5
ENV NGINX_VERSION 1.11.10
ENV LUAROCKS_VERSION 2.4.2
ENV NGX_DEVEL_KIT_VERSION 0.3.0
ENV LUA_NGINX_MODULE_VERSION 0.10.7
# or tell where to find Lua if using Lua instead:
ENV LUA_LIB /usr/lib
ENV LUA_INC /usr/include
@sandrokeil
sandrokeil / voip-telekom-domains.php
Last active Aug 23, 2018
Telekom VOIP IPs - Fritz Box accesslist
View voip-telekom-domains.php
<?php
$chars = [
'b',
'd',
'f',
'h',
'k',
'l',
'm',
@sandrokeil
sandrokeil / results.log
Created Apr 11, 2018
ArangoDB PHPCPP Driver 20180411-2226
View results.log
Name Command State Ports
-----------------------------------------------------------------------------------------------
eventstorebenchmarksphpcpp_database_1 /entrypoint.sh arangod Up 0.0.0.0:8529->8529/tcp
Docker Info
Containers: 26
Running: 1
Paused: 0
Stopped: 25
@sandrokeil
sandrokeil / 20171207-2336.log
Last active Dec 14, 2017
ArangoDB prooph event store benchmarks
View 20171207-2336.log
Testing databases are (Barangodb mysql postgres mariadb
Name Command State Ports
------------------------------------------------------------------------------------------------
eventstorebenchmarks_arangodb_1 /entrypoint.sh arangod Up 0.0.0.0:8529->8529/tcp
eventstorebenchmarks_php_1 docker-php-entrypoint php -a Exit 0
Docker Info(B
Containers: 25
Running: 1
@sandrokeil
sandrokeil / vpack_bench.php
Created Dec 2, 2017
vpack benchmark test #1
View vpack_bench.php
<?php
require 'vendor/autoload.php';
use ArangoDb\Vpack;
use ProophTest\EventStore\Mock\TestDomainEvent;
$payload = [
'key1' => 'value1',
@sandrokeil
sandrokeil / arangodb.log
Last active Nov 27, 2017
error arangodb.log
View arangodb.log
Attaching to eventstorebenchmarks_arangodb_1, eventstorebenchmarks_php_1
arangodb_1 | automaticaly choosing storage engine
arangodb_1 | Initializing database...Hang on...
arangodb_1 | Database initialized...Starting System...
arangodb_1 | {startup} Action::loadOptions
arangodb_1 | {startup} FileDescriptors::loadOptions
arangodb_1 | {startup} Greetings::loadOptions
arangodb_1 | {startup} LoggerBuffer::loadOptions
arangodb_1 | {startup} Nonce::loadOptions
arangodb_1 | {startup} PageSize::loadOptions
@sandrokeil
sandrokeil / arangodb.json
Last active Nov 27, 2017
Benchmark JSON
View arangodb.json
{"collections":{"write":["cfc3bd10cb689dcd23c9046019340ac6d19a93764"]},"action":"function () {var db = require('@arangodb').db;var rId0 = db.cfc3bd10cb689dcd23c9046019340ac6d19a93764.insert([{\"_key\":\"100000000000000001\",\"event_id\":\"2ff3c577-ebe8-4415-af0d-baaccb97620d\",\"event_name\":\"ProophTest\\\\EventStore\\\\Mock\\\\TestDomainEvent\",\"payload\":{\"key1\":\"value1\",\"key2\":2,\"key3\":\"some@mail.com\",\"key4\":\"value4\",\"key5\":true,\"key6\":false,\"key7\":7},\"metadata\":{\"_aggregate_version\":2},\"created_at\":\"2017-11-27T16:43:11.984174\"},{\"_key\":\"100000000000000002\",\"event_id\":\"ea7a0992-492d-4a60-b85e-5a3e9bac29ef\",\"event_name\":\"ProophTest\\\\EventStore\\\\Mock\\\\TestDomainEvent\",\"payload\":{\"key1\":\"value1\",\"key2\":2,\"key3\":\"some@mail.com\",\"key4\":\"value4\",\"key5\":true,\"key6\":false,\"key7\":7},\"metadata\":{\"_aggregate_version\":3},\"created_at\":\"2017-11-27T16:43:11.984291\"},{\"_key\":\"100000000000000003\",\"event_id\":\"0d84043b-c4b2-4c84-a9da-e74de94
@sandrokeil
sandrokeil / results.md
Created Oct 2, 2017
prooph-event-store-benchmarks
View results.md

prooph Event Store benchmark

They were running a notebook with Intel(R) Core(TM) i7-Q720 CPU @ 1.6GHz (x8), 20 GB RAM, SAMSUNG SSD 850

ArangoDB event store

arangodb: recreating test-database _system

test 1 create 10 streams with 100 events in each stream, using 1 event per commit

test 1 using arangodb took 1.3396980762482 seconds test 1 using arangodb writes 746.4368410534 events per second

View git-batch-clone
#!/bin/bash
if [ "$#" -ne 2 ]; then
echo "First parameter is a file with a list of repos and second parameter is the git path e.g. git-batch-clone repos.txt git@github.com:sandrokeil/"
fi
cd $(pwd)
cat $1 | while read line
do
if [ ! -d "$line" ]; then
You can’t perform that action at this time.