ruote log_2010-08-05

2010-08-05 08:33:20 utc anb_ Hello
2010-08-05 08:33:36 utc anb_ John, you changed the Url scheme for workitems in ruote-kit ?
2010-08-05 08:33:44 utc jmettraux yes
2010-08-05 08:33:48 utc jmettraux hello
2010-08-05 08:34:02 utc anb_ all right
2010-08-05 08:34:21 utc jmettraux sorry, I also changed the rels
2010-08-05 08:34:35 utc jmettraux well
2010-08-05 08:34:55 utc jmettraux I just introduced new rels
2010-08-05 08:37:11 utc anb_ no problem
2010-08-05 08:46:49 utc anb_ do you think it would be hard to limit the number of results when querying ruote-kit ? e.g. http://localhost:9292/_ruote/schedules?max=1000
2010-08-05 08:47:06 utc anb_ or http://localhost:9292/_ruote/schedules?from=0&to=500
2010-08-05 08:47:12 utc jmettraux pagination
2010-08-05 08:47:16 utc anb_ yup
2010-08-05 08:47:24 utc jmettraux I was thinking about that these days
2010-08-05 08:47:53 utc jmettraux it's definitely a must
2010-08-05 08:48:24 utc anb_ yes
2010-08-05 08:49:27 utc anb_ we tried to estimate the number or processes we will have running at the same time and it should in the range of 1-2 thousands
2010-08-05 08:50:53 utc anb_ that could be 1-2 Meg of json payloads when doing a GET on http://localhost:9292/_ruote/processes
2010-08-05 08:51:21 utc jmettraux which storage ?
2010-08-05 08:51:54 utc jmettraux I could add the pagination on the spot at the ruote-kit level
2010-08-05 08:52:04 utc anb_ at the moment fs
2010-08-05 08:52:26 utc anb_ but would love to deploy couchdb
2010-08-05 08:52:35 utc jmettraux but that would be cheating : the whole result would be loaded in memory and then truncated
2010-08-05 08:52:40 utc jmettraux still expensive
2010-08-05 08:53:10 utc jmettraux OK, then I will implement :limit, :offset and co in the storages
2010-08-05 08:53:19 utc jmettraux and in ruote-kit
2010-08-05 08:54:00 utc anb_ that's great
2010-08-05 08:54:18 utc jmettraux sooner or later, I had to do it
2010-08-05 08:54:24 utc anb_ :)
2010-08-05 08:54:34 utc anb_ not the sexiest thing to implement
2010-08-05 08:55:44 utc jmettraux could be fun
2010-08-05 09:06:48 utc jmettraux needed for /processes /schedules /workitems and /errors
2010-08-05 09:57:11 utc anb_ any known issue updating participants registration through ruote-kit ?
2010-08-05 09:57:43 utc anb_ I'm having problems updating or removing participants
2010-08-05 10:06:02 utc jmettraux anb_: sorry nothing know, could you please describe the issue ?
2010-08-05 10:06:27 utc jmettraux known
2010-08-05 10:06:48 utc jmettraux the edge ruote-kit requires you to pass the whole participant list when putting
2010-08-05 11:17:53 utc anb_ all right
2010-08-05 11:18:09 utc anb_ sorry had to go before
2010-08-05 11:56:46 utc jmettraux back
2010-08-05 12:05:18 utc anb_ me too
2010-08-05 12:17:42 utc anb_ when you re_apply an expression, what happens to the current workitem (if there one) on the current expression and you re_apply on another expression ?
2010-08-05 12:19:24 utc jmettraux re_apply(fei) will reuse the workitem as it was when the expression was originally applied
2010-08-05 12:19:46 utc jmettraux re_apply(fei, :fields => f) will replace the fields of the workitems with the f hash
2010-08-05 12:20:09 utc jmettraux re_apply(fei, :merge_fields => f) will merge the hash f into the applied workitem fields and re_apply
2010-08-05 12:20:48 utc jmettraux if the expression getting re_applied is a participant expression, the current workitem (maybe in the storage_participant) will get removed
2010-08-05 12:20:56 utc jmettraux and potentially replaced by a new one
2010-08-05 12:21:03 utc anb_ I see
2010-08-05 12:22:42 utc anb_ in rk it's re_apply(fei, :fields => f) , right ?
2010-08-05 12:22:51 utc jmettraux yes
2010-08-05 12:59:17 utc jmettraux anb_: I've done the initial work on pagination for fs_storage and hash_storage
2010-08-05 12:59:19 utc jmettraux http://github.com/jmettraux/rufus-cloche/commit/5678fe0d5f1178ccc4f4a0ed9a08bd9a19ae1f6c
2010-08-05 12:59:38 utc jmettraux http://github.com/jmettraux/ruote/commit/ef59ced480e2b50fa2cd5c6f6b24b378048f7ca1
2010-08-05 12:59:51 utc jmettraux I'll do the ruote-kit and ruote-couch starting tomorrow
2010-08-05 13:24:49 utc anb_ impressive