问题
Does anyone have any pointers to good resources concerning mesh networks?
Maybe I'm not even using the correct terminology. I need to write an app that has multiple agents on various machines, and each agent must have knowledge of and be able to communicate with others. A type of P2P application perhaps?
I'm really looking for some architecture-level stuff to get me started on the planning.
回答1:
I think you're talking about writing a multi-agent system. What language are you using? Jade is an example of a mature agent communication framework for Java. The basic idea is that you give your agents 'behaviours', and these are triggered when particularly events are notified. Jade provides a publish/subscribe framework for sending and receiving such messages.
Note that your agents don't have to implement advanced AI algorithms or anything like that. They can be simple producers and consumers of data if that suits your problem.
来源:https://stackoverflow.com/questions/1339812/resources-on-mesh-networks