This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /trunk/bin/sack.pl
Parent Directory
| Revision Log
Revision
56 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 25 10:05:45 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 7846 byte(s)
Diff to
previous 55
define node just by port, we are using ssh anyway
Revision
53 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 24 20:14:27 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 7747 byte(s)
Diff to
previous 51
re-added $digest->sync so we see data in storableedit.pl
Revision
50 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 24 19:21:55 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 7739 byte(s)
Diff to
previous 46
merge digests from other nodes, version bump [0.04]
Revision
46 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 24 13:46:16 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 7040 byte(s)
Diff to
previous 45
display just unique part of filename, sync digest to disk on end of view
Revision
45 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 24 13:37:53 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 7026 byte(s)
Diff to
previous 41
turn Sack::Digest into normal perl object with new instead of open
Revision
36 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 23 22:22:18 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 7011 byte(s)
Diff to
previous 35
undigest_out, document digest key names, version bump [0.03]
Revision
35 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 23 21:55:08 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 7001 byte(s)
Diff to
previous 33
dump output if smaller than 4k, extracted info_tabs and added files
Revision
33 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 23 20:28:21 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 6840 byte(s)
Diff to
previous 31
extract Sack::Digest into own package and test it
Revision
30 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 23 18:44:08 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 7314 byte(s)
Diff to
previous 28
- added external B-tree using BerkeleyDB::Btree on /dev/shm for efficiat digest to integer
- version bump [0.02]
- cleanup output to always start with $port for easy overview
- display ticks every 1000 and 10000 records while processing view
- don't serialize output with Data::Dump, use Storable instead to save it on disk
- extracted info into sub
Revision
28 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 22 22:28:40 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 6629 byte(s)
Diff to
previous 26
use md5 digest to solve first memory problem with C1, but not with CR yet
Revision
24 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 22 21:27:13 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 6487 byte(s)
Diff to
previous 22
don't parse subfields in WebPAC::Input::ISI for nice memory usage
check if we got anything from client before unserializing it
Revision
21 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 22 17:15:03 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 6306 byte(s)
Diff to
previous 20
- added $VERSION [0.01]
- exit connected nodes on SIGINT
- fix merge when shards produce array of values
- make code display debug option
- listen on 127.0.0.1 (we are using ssh tunnels anyway)
- changed commands a bit and added interactive help on h or ?
Revision
16 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 22 13:32:04 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 5580 byte(s)
Diff to
previous 14
- support send_nodes without content playload
- warn about nodes which go away or can't be connected to (instead of die)
- get_node to fetch data over $connected socket to node (opened by send_nodes)
- send_sock to send data to node over socket
- added info command to get overwiew of sharding
Revision
13 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 22 10:32:59 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 4685 byte(s)
Diff to
previous 12
ship results from node using Storable, merge results
(with support of + in key name to make sum)
Revision
12 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 22 10:00:22 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 3509 byte(s)
Diff to
previous 11
find $prefix of our installation and use it
Revision
11 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 21 23:21:34 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 3294 byte(s)
Diff to
previous 10
implement --listen port and --connect host:port to create master-slave cluster
(err, cloud) of nodes and implement send_nodes to send view to each node
added info to see connected views to commands and allow abbrivitation to single character
Revision
9 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 21 20:05:41 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 2004 byte(s)
Diff to
previous 8
fix offset and limit, rename last out/ dump to out/*.last
Revision
6 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 21 15:41:30 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 1886 byte(s)
Diff to
previous 5
added --view which can be repeated
Revision
5 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 21 15:36:47 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 1835 byte(s)
Diff to
previous 4
display affected records and warning about empty $out
Revision
4 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 20 20:08:11 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 1574 byte(s)
Diff to
previous 3
configurable --path, --offset and --limit
Revision
3 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 20 18:55:34 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 1385 byte(s)
Diff to
previous 1
open out/* in vi with any of commands: vi \e out
Revision
1 -
(
view)
(
annotate)
-
[select for diffs]
Added
Sun Sep 20 18:42:07 2009 UTC
(14 years, 8 months ago)
by
dpavlin
File length: 1287 byte(s)
Sack - in-memory interactive object database in pure perl
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.