Laurence Rozier is optimistic that Google Gears (GG) can be extended to include "mesh" and "peers" based on security page for Google Gears:
Sometimes web applications on different origins may want to share resources. We are investigating ideas for granting permissions across origins.
I must say that Laurence and I must have different understanding of "mesh" and "peers".
There are several types of collaborations:
1. A website which acts as a post master and relay data among users log on to its server(s), a star-collaborative model, e.g. discussion forum. GG can certainly helps increase the concurrent users log into a system by caching some previous data local to the users.
3. This is similar to 1 above, but this time the user will arbitrarily select star-model collaborative services (1) to connect AND enable users from different collaborative services to exchange data. That's what I refer to as "peers-to-peers" service. Currently, I know of no pure browser-based service of this type.
4. Extending from (3), if user A can, via connected to user B, further support data exchange from those connected A (such as A1, A2,...) with those connected to B (such as B1, B2,...) AND truly enable a mesh, then I call this "mesh".
Web is basically a client-server structure, (3) and (4) above are definitely pushing the web model to its limits.
Going back to collaboration type (2) above, the client-side implementation is already posing a serious security threat. Firefox 2.0 trusted extensions cannot help in this case without the use of extensions or chrome code. Current GG only use the "same origin" policy. I hope the clever guys at Google can come up with something to enable granting permissions across origins in a scalable way.