This library is in active development and is not yet ready for production use.
Highly scalable peer-to-peer spatial publish/subscribe archtecture.
This library is written in TypeScript and is intended to be used in a Node.js environment. It is recommended to have a basic understanding of TypeScript and Node.js before using this library.
Additionally, this library uses modern ECMAScript features and has no intention on supporting legacy Node versions. Therefore, the library is only tested on Node 18 and above (ES2022, specifically private class fields).
This library is based on the work of the following research papers:
-
Hu, S.-Y. & Liao, G.-M. 2004. Scalable peer-to-peer networked virtual environment, in Network and System Support for Games: Proceedings of 3rd ACM SIGCOMM workshop on Network and system support for games; 30-30 Aug. 2004, New York, NY, USA: ACM. 129–133. DOI: 10.1145/1016540.1016552.
-
Hu, S.-Y., Chen, J.-F. & Chen, T.-H. 2006. VON: a scalable peer-to-peer network for virtual environments. IEEE network. 20(4):22–31. DOI: 10.1109/MNET.2006.1668400.
-
Jui-Fa Chen, Wei-Chuan Lin, Tsu-Han Chen & Shun-Yun Hu. 2007. A forwarding model for Voronoi-based Overlay Network, in 2007 International Conference on Parallel and Distributed Systems, IEEE. 1–7. DOI: 10.1109/ICPADS.2007.4447818.
-
Jehn-Ruey Jiang, Yu-Li Huang & Shun-Yun Hu. 2008. Scalable AOI-Cast for Peer-to-Peer Networked Virtual Environments, in 2008 The 28th International Conference on Distributed Computing Systems Workshops, IEEE. 447–452. DOI: 10.1109/ICDCS.Workshops.2008.80.
Contribution of all kinds are welcome.
Make sure to review the aforementioned papers if you're planning to contribute architectural features.
Existing libraries based on the same research is also available:
This project's source code is licensed under the Apache 2.0 license. See the LICENSE file for more information.