Developing lightweight computation at the DSG edge

Commit 7650fc66 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[monitor-fetch-and-upload] An improved monitor-fetch

Forked from monitor-fetch, monitor-fetch-and-upload is able to remove
outdated devices from AntidoteDB with just a single AntidoteDB
connection (using goclidote's RemoveDevicesFromAntidote() function),
a significant improvement compared to the the 4 x len(oldDevices)
connections that were used up to now.

For example, removing the 1131 devices in the Barcelona CNML from
AntidoteDB took this time before:

real	0m25,709s
user	0m2,985s
sys	0m3,473s

and now takes:

real	0m16,664s
user	0m1,951s
sys	0m1,995s
Signed-off-by: Roger Pueyo Centelles's avatarRoger Pueyo Centelles <>
parent dc3372ae
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment