Hi zubair,
 The timings I have shown here are for listing the peers from the peer's
routing table. So protobuf serialization is not involved.

Thanks,
Narendran.

On Thursday, April 26, 2012, Zubair Nabi <[email protected]> wrote:
> Hi Narendran,
> Just for completeness, does this also include the time to serialise a
Protobuf message?
> Best,
> Zubair
>
>
> On 25 Apr 2012, at 20:36, Adriano Marques wrote:
>
> Performance feels reasonable to me... It may grow with more nodes, but I
think we can bear. Nice work Narendran!
>
> On Wed, Apr 25, 2012 at 2:50 PM, Narendran Thangarajan <
[email protected]> wrote:
>>
>> Hi all,
>> The getpeerlist module prints a list of NodeIDs that are present in the
Peer's routing table at that instant.
>>
>> Sample output :
>> Start time is : 1335374120 s 74152 microsecs
>> End time is : 1335374120 s 86800 microsecs
>> Time taken : 12648 microseconds
>> Peers List : 4 contact(s):
>>
wyLf9mx+3E7rKr0TZMDsrj0ALG45QJNKRf5uajMY3EcHVXVW3IObQ1QMua25COiTh45xmloM+zcgmr6DjzJp0Q==
>>
4RkH0fnNR7tCXlYswu8Z2B1hcDBq3FVplvPdIAmvS4K15BFLJ1ZSNZ+MBcCoHqybqnv2fQCdGeVbXebZsOejDw==
>>
+lMiLXfOKNEHXeLffmh4xmm0C9nNLWaviuWo+jDIkJJqXpXoFzKiVv4bSjnsD/VuigQwhbhH5uE6KVdS0MaGrg==
>>
qo8spXR1/eY0E58nVynbftRMZg11cy+VQhgl0QGzHImi739td3sB3uuHimho81WZns2yMcQwL3u5O36ja5ebHg==
>>
>> The last four values are the NodeId values of the peers.
>>
>> Performance study :
>> I set up five nodes and made three calls to getPeers() in each node and
this is the resultant performance I could get. The time is in milliseconds.
>> <Performance.png>
>>
>>
>> Thanks,
>> Narendran.
>
>
> --
> Adriano Monteiro Marques
>
> http://www.openmonitor.org
> http://www.umitproject.org
> http://www.thoughtspad.com
>
> "Don't stay in bed, unless you can make money in bed." - George Burns
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Umit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/umit-devel

Reply via email to