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
# Redis configuration file example | |
# Note on units: when memory size is needed, it is possible to specifiy | |
# it in the usual form of 1k 5GB 4M and so forth: | |
# | |
# 1k => 1000 bytes | |
# 1kb => 1024 bytes | |
# 1m => 1000000 bytes | |
# 1mb => 1024*1024 bytes | |
# 1g => 1000000000 bytes |
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
2494438 440345048 [main] redis-server 5908 fhandler_base::lseek: setting file pointer to 0 | |
42 440345090 [main] redis-server 5908 lseek64: 0 = lseek (3, 0, 0) | |
4208 440349298 [main] redis-server 5908 writev: writev (3, 0x22C714, 1) | |
40 440349338 [main] redis-server 5908 fhandler_base::write: binary write | |
216 440349554 [main] redis-server 5908 writev: 315 = write (3, 0x22C714, 1), errno 0 | |
227 440349781 [main] redis-server 5908 fhandler_base::lseek: setting file pointer to 0 | |
31 440349812 [main] redis-server 5908 lseek64: 0 = lseek (3, 0, 1) | |
2465430 442815242 [main] redis-server 5908 fhandler_base::lseek: setting file pointer to 0 | |
45 442815287 [main] redis-server 5908 lseek64: 0 = lseek (3, 0, 0) | |
2525 442817812 [main] redis-server 5908 writev: writev (3, 0x22C714, 1) |
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
3048514 421393139 [main] redis-server 5908 readv: readv (8, 0x22C654, 1) blocking, sigcatchers 0 | |
166 421393305 [main] redis-server 5908 fhandler_base::read: returning 65536, binary mode | |
28 421393333 [main] redis-server 5908 readv: 65536 = readv (8, 0x22C654, 1), errno 0 | |
3118409 424511742 [main] redis-server 5908 readv: readv (8, 0x22C654, 1) blocking, sigcatchers 0 | |
112 424511854 [main] redis-server 5908 fhandler_base::read: returning 65536, binary mode | |
26 424511880 [main] redis-server 5908 readv: 65536 = readv (8, 0x22C654, 1), errno 0 | |
2811564 427323444 [main] redis-server 5908 readv: readv (8, 0x22C654, 1) blocking, sigcatchers 0 | |
105 427323549 [main] redis-server 5908 fhandler_base::read: returning 65536, binary mode | |
24 427323573 [main] redis-server 5908 readv: 65536 = readv (8, 0x22C654, 1), errno 0 | |
573753 427897326 [main] redis-server 5908 fhandler_base::fstat: here |
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
31 727493 [main] redis-server 5908 fstat64: 0 = fstat (8, 0x22C758) | |
55 727548 [main] redis-server 5908 readv: readv (8, 0x22C774, 1) blocking, sigcatchers 0 | |
213 727761 [main] redis-server 5908 fhandler_base::read: returning 65536, binary mode | |
33 727794 [main] redis-server 5908 readv: 65536 = readv (8, 0x22C774, 1), errno 0 | |
1176 728970 [main] redis-server 5908 fhandler_base::lseek: setting file pointer to 65536 | |
27 728997 [main] redis-server 5908 lseek64: 65536 = lseek (8, 0, 1) | |
2583254 3312251 [main] redis-server 5908 readv: readv (8, 0x22C654, 1) blocking, sigcatchers 0 | |
108 3312359 [main] redis-server 5908 fhandler_base::read: returning 65536, binary mode | |
23 3312382 [main] redis-server 5908 readv: 65536 = readv (8, 0x22C654, 1), errno 0 |
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
while (true) { | |
var o = Math.floor(Math.random() * 100) | |
var oo = Math.floor(Math.random() * 100000) | |
if (typeof this[o] === 'undefined') this[o] = {} | |
if (typeof this[o][oo] === 'undefined') this[o][oo] = {} | |
var k = Math.random() * 100000000000 | |
this[o][oo][k] = 'valueeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee' | |
} |
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
var self = this | |
, c = 0 | |
, dels = [] | |
, o | |
, k | |
, tim = new Date() | |
var free = function() { | |
var t = new Date() | |
if (t - tim > 10000) { |
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
$ node test.js | |
null { socket: | |
{ fd: 5 | |
, type: 'tcp4' | |
, secure: false | |
, _writeImpl: [Function] | |
, _readImpl: [Function] | |
, _shutdownImpl: [Function] | |
, _outgoing: [ [Object] ] | |
, __destroyOnDrain: false |
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
HTTP/1.1 401 Unauthorized | |
Cache-Control: no-cache, no-store, max-age=0, must-revalidate | |
Pragma: no-cache | |
Date: Sat Oct 23 22:53:25 EEST 2010 | |
Content-Type: text/plain | |
Server: OrientDB Server v.0.9.22 | |
Connection: Close | |
WWW-Authenticate: Basic realm="OrientDB db-testttt" | |
Set-Cookie: OSESSIONID=-; Path=/; HttpOnly | |
CONTENT-LENGTH: 17 |
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
Receive: Return Code: 0x00000000 | |
00000000 47 45 54 20 2F 64 61 74 61 62 61 73 65 2F 74 65 GET /database/te | |
00000010 73 74 74 74 74 20 48 54 54 50 2F 31 2E 31 0D 0A stttt HTTP/1.1.. | |
00000020 43 6F 6E 6E 65 63 74 69 6F 6E 3A 20 63 6C 6F 73 Connection: clos | |
00000030 65 0D 0A 0D 0A e.... | |
Send: Return Code: 0x00000000 | |
00000000 48 54 54 50 2F 31 2E 31 20 34 30 31 20 55 6E 61 HTTP/1.1 401 Una | |
00000010 75 74 68 6F 72 69 7A 65 64 0D 0A 43 61 63 68 65 uthorized..Cache |
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
var sys = require('sys'); | |
var self = this; | |
this.hey = function() { | |
sys.puts('hey'); | |
setTimeout(self.hey, 2000); | |
}; | |
this.hey(); |