Skip to content

Instantly share code, notes, and snippets.

View qpfiffer's full-sized avatar
馃敋

Quinlan Pfiffer qpfiffer

馃敋
View GitHub Profile
Feb 17 23:42:34 [-] Dumped 8193 records
Feb 17 23:42:34 [-] Error: Couldn't free all records.
Feb 17 23:42:34 [-] Records freed: 8488
Feb 16 23:58:56 [-] Dumped 131072 records
Feb 16 23:58:56 [-] Loading DB from disk.
Feb 16 23:58:57 [!] Not all records present after rehash!Rehashed: 4610 rcrd_cnt: 8192 Orphans: 3582
Feb 16 23:58:57 [!] Not all records present after rehash!Rehashed: 9246 rcrd_cnt: 16384 Orphans: 7138
Feb 16 23:58:57 [!] Not all records present after rehash!Rehashed: 18746 rcrd_cnt: 32768 Orphans: 14022
Feb 16 23:58:58 [!] Not all records present after rehash!Rehashed: 38091 rcrd_cnt: 65536 Orphans: 27445
Feb 16 23:59:00 [x] Not all records were loaded. 131071
(master)
位:~/src/wrk ./wrk -t4 -c400 -d30s http://localhost:8080/test
Running 30s test @ http://localhost:8080/test
4 threads and 400 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 16.67s 7.51s 28.00s 70.12%
Req/Sec 115.12 221.26 1.33k 87.18%
13317 requests in 30.01s, 2.31MB read
Socket errors: connect 213, read 504, write 0, timeout 4979
Requests/sec: 443.78
2014-01-28 14:38:19 Hamcha Wally, are you an experienced database developer that used to work at Oracle?
2014-01-28 14:39:34 Hamcha ...gotta go, the joke was "because that'd explain why your database looks so unappealing"
@dx | Wally: it's okay your database looks pretty sexy 10/10 would fuck
2014-01-28 14:39:40 vhost- I think the key to C apps is to have a good logger, debugging, and memory checking macros so you can focus on the datastructures and algorithms
2014-01-28 14:40:30 vhost- you can quote that and add it to the side for more marketing
PrestonM | Wally will you build a database that embeds love into my heart <3
(feature/erlang_server)
位:~/src/project-oleg erl -pa build/bin/
Erlang R16B03 (erts-5.10.4) [source] [64-bit] [smp:2:2] [async-threads:10] [kernel-poll:false]
Eshell V5.10.4 (abort with ^G)
1> ol_database:start().
Jan 27 23:53:40 [-] Hello, world!
true
2>
位:~/Downloads/rabbitmq-server-3.2.3/src cloc ./
135 text files.
135 unique files.
0 files ignored.
http://cloc.sourceforge.net v 1.60 T=0.39 s (343.7 files/s, 111422.5 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Erlang 135 5692 7488 30590
@qpfiffer
qpfiffer / gist:8641452
Created January 27, 2014 00:39
example post data
curl -X POST -H "Content-Type: application/json" -d '{"url": "data", "person":"alkjsdDecember"}' http://localhost:8080/test
位:~ mkdir /tmp/fuggen_postgres
位:~ ls /tmp/fuggen_postgres
information_schema meta pg_catalog pg_temp_1 pg_temp_2 pg_toast pg_toast_temp_1 pg_toast_temp_2 public
位:~ ls /tmp/fuggen_postgres/public/
ten_hour_videos videos
位:~ ls /tmp/fuggen_postgres/public/videos/
1 112 126 14 153 167 180 194 207 220 234 248 261 275 289 301 315 329 342 356 37 383 397 41 423 437 450 464 478 491 504 518 531 545 56 7 83 97
位:~/src/survey-demo/server/templates/registration fab vagrant package_android_dev
[localhost] local: vagrant ssh-config
[localhost] local: vagrant ssh-config
[vagrant@127.0.0.1:2222] run: cd /vagrant/server && /usr/local/venv/geosurvey/bin/python manage.py package http://demo.pointnineseven.com '../mobile/www'
[vagrant@127.0.0.1:2222] out: Packaging for http://demo.pointnineseven.com
[vagrant@127.0.0.1:2222] out: IOError: [Errno 2] No such file or directory: u'/vagrant/server/../mobile/www/index.html'
[vagrant@127.0.0.1:2222] out:
Fatal error: run() received nonzero return code 1 while executing!
位:~ ls -al /tmp/quinlan
total 4
drwxr-xr-x 0 root root 0 Jan 17 14:49 .
drwxrwxrwt 16 root root 4096 Jan 17 14:49 ..
drwxr-xr-x 0 root root 0 Jan 17 14:49 information_schema
drwxr-xr-x 0 root root 0 Jan 17 14:49 pg_catalog
drwxr-xr-x 0 root root 0 Jan 17 14:49 pg_temp_1
drwxr-xr-x 0 root root 0 Jan 17 14:49 pg_toast
drwxr-xr-x 0 root root 0 Jan 17 14:49 pg_toast_temp_1
drwxr-xr-x 0 root root 0 Jan 17 14:49 public