In one embodiment, a method and apparatus for a mechanism for data
migration across networks is disclosed. The method includes: randomly
selecting a template from a local cache at an agent, the template
indicating one or more characteristics of event data entities the agent
is searching for; querying, via random connections from the agent, one or
more other connected agents for the event data entities matching the
template; if a matching event data entity for the template is found,
returning the matching event data entity to the local cache of the agent;
and if a matching event data entity for the template is not found,
diffusing the template to the one or more other connected agents via a
data diffusion process. Other embodiments are also disclosed.