/[Sack]/trunk/lib/Sack/Server.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /trunk/lib/Sack/Server.pm

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 278 - (view) (annotate) - [select for diffs]
Modified Mon Jun 21 13:47:05 2010 UTC (13 years, 10 months ago) by dpavlin
File length: 12547 byte(s)
Diff to previous 277
open details in new window


Revision 277 - (view) (annotate) - [select for diffs]
Modified Fri May 7 09:15:36 2010 UTC (13 years, 11 months ago) by dpavlin
File length: 12532 byte(s)
Diff to previous 276
display currnet and total shards while bulk_load


Revision 276 - (view) (annotate) - [select for diffs]
Modified Fri Apr 30 14:34:49 2010 UTC (14 years ago) by dpavlin
File length: 12434 byte(s)
Diff to previous 275
pass sack_port as second argument to client

bin/split.sh can again start two nodes on localhost

Revision 275 - (view) (annotate) - [select for diffs]
Modified Wed Apr 28 20:20:35 2010 UTC (14 years ago) by dpavlin
File length: 12300 byte(s)
Diff to previous 274
details about node memory usage


Revision 274 - (view) (annotate) - [select for diffs]
Modified Wed Apr 28 19:09:54 2010 UTC (14 years ago) by dpavlin
File length: 11504 byte(s)
Diff to previous 273
collect /proc statistics from nodes


Revision 273 - (view) (annotate) - [select for diffs]
Modified Wed Apr 28 08:08:47 2010 UTC (14 years ago) by dpavlin
File length: 11156 byte(s)
Diff to previous 271
push favicon.ico so we can distinguinsh Sack tabs in browser


Revision 271 - (view) (annotate) - [select for diffs]
Modified Sun Feb 21 15:14:02 2010 UTC (14 years, 2 months ago) by dpavlin
File length: 10973 byte(s)
Diff to previous 270
add IP addresses to node's title


Revision 270 - (view) (annotate) - [select for diffs]
Modified Mon Feb 15 09:40:12 2010 UTC (14 years, 2 months ago) by dpavlin
File length: 10906 byte(s)
Diff to previous 268
sort nodes in display


Revision 268 - (view) (annotate) - [select for diffs]
Modified Thu Feb 4 22:36:05 2010 UTC (14 years, 2 months ago) by dpavlin
File length: 10901 byte(s)
Diff to previous 266
bulk_load all nodes in parallel (20-40Mb/s on my network)


Revision 266 - (view) (annotate) - [select for diffs]
Modified Thu Feb 4 19:08:29 2010 UTC (14 years, 2 months ago) by dpavlin
File length: 9831 byte(s)
Diff to previous 265
- move all pending node status into $info->{pending} and ignore forked for refresh
- do cpio of new version *after* fork for massive speedup


Revision 265 - (view) (annotate) - [select for diffs]
Modified Thu Feb 4 18:15:59 2010 UTC (14 years, 2 months ago) by dpavlin
File length: 9725 byte(s)
Diff to previous 264
add pending class to nodes only if there is anything pending


Revision 264 - (view) (annotate) - [select for diffs]
Modified Mon Feb 1 22:03:02 2010 UTC (14 years, 2 months ago) by dpavlin
File length: 9744 byte(s)
Diff to previous 263
move Results to top of page (plays well with refresh)


Revision 263 - (view) (annotate) - [select for diffs]
Modified Sun Jan 31 18:18:38 2010 UTC (14 years, 3 months ago) by dpavlin
File length: 9744 byte(s)
Diff to previous 262
color nodes based on their state and refresh page if something is pending (load, view)


Revision 262 - (view) (annotate) - [select for diffs]
Modified Sun Jan 31 16:44:56 2010 UTC (14 years, 3 months ago) by dpavlin
File length: 9172 byte(s)
Diff to previous 260
send Refresh: header


Revision 260 - (view) (annotate) - [select for diffs]
Modified Sun Jan 31 16:03:50 2010 UTC (14 years, 3 months ago) by dpavlin
File length: 9085 byte(s)
Diff to previous 254
support loading of single shard


Revision 254 - (view) (annotate) - [select for diffs]
Modified Thu Dec 24 13:06:25 2009 UTC (14 years, 4 months ago) by dpavlin
File length: 9058 byte(s)
Diff to previous 253
fix warning


Revision 253 - (view) (annotate) - [select for diffs]
Modified Fri Nov 27 13:48:54 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 9007 byte(s)
Diff to previous 250
added checkboxes to show just some keys on graph


Revision 250 - (view) (annotate) - [select for diffs]
Modified Thu Nov 26 22:36:27 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 8861 byte(s)
Diff to previous 249
tweak nodes output


Revision 249 - (view) (annotate) - [select for diffs]
Modified Thu Nov 26 22:23:52 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 8863 byte(s)
Diff to previous 248
display shard paths as title

Revision 248 - (view) (annotate) - [select for diffs]
Modified Thu Nov 26 22:18:19 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 8848 byte(s)
Diff to previous 247
refresh shard allocation from view response


Revision 247 - (view) (annotate) - [select for diffs]
Modified Thu Nov 26 22:08:36 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 8708 byte(s)
Diff to previous 245
refactor and extend client server configuration

- load shards only if they are not allready loaded
- collect client responses and return it in repl using . (dot)
- push all unknown repl commands to clients
- eval on client now returns result to server
- save will dump current chards on node to /tmp/sack.data and
  reload it on next startup


Revision 245 - (view) (annotate) - [select for diffs]
Modified Thu Nov 26 19:02:01 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 8458 byte(s)
Diff to previous 241
support multiple url args which collapse into array and use it for filter


Revision 241 - (view) (annotate) - [select for diffs]
Modified Thu Nov 26 15:22:12 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 8366 byte(s)
Diff to previous 237
show results <h1> only if there is reasults and include gnuplot for date, keys


Revision 237 - (view) (annotate) - [select for diffs]
Modified Tue Nov 24 00:55:29 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 7898 byte(s)
Diff to previous 235
sum of all merge counts doesn't make sense
since it contains dumplicate keys from each node


Revision 235 - (view) (annotate) - [select for diffs]
Modified Tue Nov 24 00:46:19 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 7996 byte(s)
Diff to previous 233
display number of merged keys from nodes


Revision 233 - (view) (annotate) - [select for diffs]
Modified Mon Nov 23 23:52:53 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 7612 byte(s)
Diff to previous 232
display first shard leter and show/hide info


Revision 232 - (view) (annotate) - [select for diffs]
Modified Mon Nov 23 23:15:31 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 7412 byte(s)
Diff to previous 222
refactor into run_view and display view overview table


Revision 222 - (view) (annotate) - [select for diffs]
Modified Sun Nov 22 22:57:15 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 6469 byte(s)
Diff to previous 221
improve shards output


Revision 221 - (view) (annotate) - [select for diffs]
Modified Sun Nov 22 22:34:57 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 6290 byte(s)
Diff to previous 219
factor out load_shard and display map in html


Revision 219 - (view) (annotate) - [select for diffs]
Modified Sun Nov 22 21:54:25 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 5958 byte(s)
Diff to previous 213
color code nodes

red = forked
green = ping


Revision 213 - (view) (annotate) - [select for diffs]
Modified Sun Nov 22 15:31:38 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 5719 byte(s)
Diff to previous 212
move table generation in separate package and add sorting


Revision 212 - (view) (annotate) - [select for diffs]
Modified Sat Nov 21 16:34:12 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 5338 byte(s)
Diff to previous 211
load shards and run views over web


Revision 211 - (view) (annotate) - [select for diffs]
Modified Sat Nov 21 16:12:18 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 4488 byte(s)
Diff to previous 210
reogranize $info->{shard} into path => node


Revision 210 - (view) (annotate) - [select for diffs]
Modified Sat Nov 21 15:55:24 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 4431 byte(s)
Diff to previous 209
simple http listener which dumps $info


Revision 209 - (view) (annotate) - [select for diffs]
Modified Sat Nov 21 13:59:41 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 3955 byte(s)
Diff to previous 203
use etc/cloud as default if it exists


Revision 203 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 22:56:46 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 3920 byte(s)
Diff to previous 200
added clean which drops all shards from clients


Revision 200 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 16:46:19 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 3815 byte(s)
Diff to previous 196
merge view results on shards from clients on server


Revision 196 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 16:17:59 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 3535 byte(s)
Diff to previous 192
send views to clients and collect loaded shards


Revision 192 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 14:12:38 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 3132 byte(s)
Diff to previous 189
load shard by shard whole dataset into clients as
they request it


Revision 189 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:44:10 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 2477 byte(s)
Diff to previous 188
report unknown commands from repl


Revision 188 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 13:40:58 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 2418 byte(s)
Diff to previous 181
extract to_all

Revision 181 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 12:54:51 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 2383 byte(s)
Diff to previous 179
start clients from lib/Sack/


Revision 179 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 12:53:15 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 2389 byte(s)
Diff to previous 178
move to package, show usage and rename fork_node to fork_ssh


Revision 178 - (view) (annotate) - [select for diffs]
Modified Sun Nov 8 12:45:43 2009 UTC (14 years, 5 months ago) by dpavlin
File length: 2362 byte(s)
Copied from: trunk/experiments/protocol-v3/server.pl revision 177
Diff to previous 176
begin integration of protocol v3


Revision 176 - (view) (annotate) - [select for diffs]
Modified Fri Nov 6 10:48:19 2009 UTC (14 years, 5 months ago) by dpavlin
Original Path: trunk/experiments/protocol-v3/server.pl
File length: 2362 byte(s)
Diff to previous 175
push whole /srv/Sack/ to nodes, find absolute client.pl path


Revision 175 - (view) (annotate) - [select for diffs]
Modified Tue Nov 3 18:02:33 2009 UTC (14 years, 5 months ago) by dpavlin
Original Path: trunk/experiments/protocol-v3/server.pl
File length: 2341 byte(s)
Diff to previous 174
added info command


Revision 174 - (view) (annotate) - [select for diffs]
Modified Tue Nov 3 17:51:27 2009 UTC (14 years, 5 months ago) by dpavlin
Original Path: trunk/experiments/protocol-v3/server.pl
File length: 2279 byte(s)
Diff to previous 173
ping all clients


Revision 173 - (view) (annotate) - [select for diffs]
Modified Tue Nov 3 17:28:57 2009 UTC (14 years, 5 months ago) by dpavlin
Original Path: trunk/experiments/protocol-v3/server.pl
File length: 2057 byte(s)
Diff to previous 170
deduce client path from server's


Revision 170 - (view) (annotate) - [select for diffs]
Modified Tue Nov 3 17:19:12 2009 UTC (14 years, 5 months ago) by dpavlin
Original Path: trunk/experiments/protocol-v3/server.pl
File length: 2022 byte(s)
Diff to previous 169
take cloud path from CLOUD


Revision 169 - (view) (annotate) - [select for diffs]
Modified Mon Nov 2 16:09:40 2009 UTC (14 years, 5 months ago) by dpavlin
Original Path: trunk/experiments/protocol-v3/server.pl
File length: 2007 byte(s)
Diff to previous 166
copy files using cpio, use ssh config and read cloud nodes from file


Revision 166 - (view) (annotate) - [select for diffs]
Modified Sun Nov 1 21:17:36 2009 UTC (14 years, 5 months ago) by dpavlin
Original Path: trunk/experiments/protocol-v3/server.pl
File length: 1707 byte(s)
Diff to previous 165
collect interesting $info and send it to repl


Revision 165 - (view) (annotate) - [select for diffs]
Modified Sun Nov 1 21:03:26 2009 UTC (14 years, 5 months ago) by dpavlin
Original Path: trunk/experiments/protocol-v3/server.pl
File length: 1368 byte(s)
Diff to previous 164
make server resiliant to repl disconnect


Revision 164 - (view) (annotate) - [select for diffs]
Modified Sun Nov 1 21:00:30 2009 UTC (14 years, 5 months ago) by dpavlin
Original Path: trunk/experiments/protocol-v3/server.pl
File length: 1370 byte(s)
Diff to previous 163
added external read-eval-loop readline interface


Revision 163 - (view) (annotate) - [select for diffs]
Added Sun Nov 1 20:30:48 2009 UTC (14 years, 5 months ago) by dpavlin
Original Path: trunk/experiments/protocol-v3/server.pl
File length: 1342 byte(s)
new client-server protocol based on IO::Select


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.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26