[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [outreachy] progress
vr34> Hi! <vr34> This is Vaishnavi, outreachy applicant <vr34> i found a python implementation for the jwz threading algo <jgbarah> Hi, Vaishnavi < <vr34> so what this does is allots a message id for each of the threads, right? <jgbarah> That's good. Use it as an inspiration if that suits you. But you need to write your code... <vr34> Oh okay <jgbarah> However, since this is a microtask, no problem if you sttart with a version which uses this code <vr34> what i have done till now is written a script that parses cmd line args and parses and uploads mbox json docs to es <jgbarah> the main problem for using it *as such* is that very likely it is suboptimal, since it assumes you have access to all messages <vr34> now what's left is - use the threading algo to get message ids and add this to the json documents and then upload again, am i right? <jgbarah> which is our case is not real, since you have them in the database, and the idea would be to minimize traffic with it <jgbarah> Yes, that is <jgbarah> Wo, if you want, try to do it in two phases: <jgbarah> in one, you can use the coe you found. Forget about efficiency, and just make it work <jgbarah> In a second one, you can check if you can improve performance by using your own code. <jgbarah> The first one will tell about how you reuse code, which is important <jgbarah> The second one would tell about how you code the algorithm in a certain scenario <jgbarah> Both are important... <vr34> okay, got it! <jgbarah> To be transparent to other pursuing for this project, please send a message to the mailing list, <jgbarah> pointing to this implementation you found, and this conversation, please. <jgbarah> A log of it would be enough. <vr34> i had also sent you a mail with a link to my github repo <vr34> Yes sure, will do <jgbarah> Of course, the fact that you looked for, and found, that implmentation, will be credited to you <jgbarah> I saw it (the message) but still didn't look at the code. Thanks. <jgbarah> Are you stumbling on any blocker? <vr34> sure, thanks, i'll mail you if i have any further queries <vr34> i haven't yet started implementing the algo.. will definitely let you know when i have issues.. thanks a lot! <jgbarah> Good. Thanks! Please, keep me updated. <vr34> Sure. <On Fri, Apr 14, 2017 at 11:06 AM, Vaishnavi Ramesh Jayaraman <vaishnavi.ur777@xxxxxxxxx> wrote:
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |