Trickle Up Messages not Sending to Server

Message boards : API : Trickle Up Messages not Sending to Server
Message board moderation

To post messages, you must log in.

AuthorMessage
Thomas

Send message
Joined: 23 Oct 15
Posts: 5
United States
Message 67567 - Posted: 6 Feb 2016, 6:41:08 UTC

Hi all,

I'm not sure how to move forward with this. I wanted to test out the "trickle messages" API, but it looks like trickle up messages are never leaving the client. During computation, when monitoring the "slot" directory, I notice that "trickle_up.xml" is created, but it never seems to be copied over the the "project" directory on the client (as I understand is the normal flow of things). Additionally, no messages reach the handler I wrote on the server, and no messages show up in the database. There isn't any activity in the server-side trickle logs, and I'm not seeing anything relevant in any of the client logs (though it's less clear where to look so I may have missed something / am still looking over everything on that end).

An additional oddity: trickle_up.xml, as it appears in the slots directory, only ever contains the <variety> tag, but does not include the text body of the message.

To implement the trickle up messages I essentially just followed the instructions on this page:
https://boinc.ssl.berkeley.edu/trac/wiki/TrickleApi.

Any help or direction would be greatly appreciated!
ID: 67567 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 67570 - Posted: 6 Feb 2016, 14:36:24 UTC

Just to make sure that your app implementation is correct you can look at the working implementations in vboxwrapper.cpp:346. I vaguely remember that in order to activate it you have to set some specific option in the app. See line 412 in the same file. It seems the vboxwrapper does not do that anymore or in some other place.

In the sched/ directory you find three implementations of the server part for trickle ups (trickle_credit.cpp, trickle_deadline.cpp and trickle_echo.cpp). For the deadline trickle handler I can say that it works.
ID: 67570 · Report as offensive
Thomas

Send message
Joined: 23 Oct 15
Posts: 5
United States
Message 67580 - Posted: 6 Feb 2016, 23:34:19 UTC - in response to Message 67570.  

Thank you Christian. The vboxwrapper.cpp is good reference material and I will continue to use if for other endeavors as well. It turns out that my own test app simply didn't take enough time to execute for the trickle messages to get picked up.

Thanks again!
ID: 67580 · Report as offensive

Message boards : API : Trickle Up Messages not Sending to Server

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.