Difference between revisions of "Infrastructure"
Line 66: | Line 66: | ||
The OpenCellID backend uses Kafka queuing system in order to be able to handle periodic peaks. Kafka producers embedded into the web application send all incoming data to Kafka brokers. Kafka consumers pull data from brokers, process measurements and store them in MongoDB. | The OpenCellID backend uses Kafka queuing system in order to be able to handle periodic peaks. Kafka producers embedded into the web application send all incoming data to Kafka brokers. Kafka consumers pull data from brokers, process measurements and store them in MongoDB. | ||
− | The database backend, with a current | + | The database backend, with a current 7 million cell towers and about 1.2 billion measurements (1.1.2015), is a MongoDB database cluster with six servers: |
*three servers are serving as MongoDB configuration servers and Zookeeper instances | *three servers are serving as MongoDB configuration servers and Zookeeper instances | ||
*the other three servers are serving as the database backend with one replication set spread across the three servers and Kafka brokers | *the other three servers are serving as the database backend with one replication set spread across the three servers and Kafka brokers |
Revision as of 19:00, 3 January 2015
ContentsServers
Software stackOperating SystemAll OpenCellID servers are running with Ubuntu Linux 12.04 LTS. Frontend
Database BackendThe OpenCellID backend uses Kafka queuing system in order to be able to handle periodic peaks. Kafka producers embedded into the web application send all incoming data to Kafka brokers. Kafka consumers pull data from brokers, process measurements and store them in MongoDB. The database backend, with a current 7 million cell towers and about 1.2 billion measurements (1.1.2015), is a MongoDB database cluster with six servers:
Challenges and solutionsThe OpenCellID community is very strong and continuously provides a high number of measurements.
The current solutions are based on Kafka queuing system and MongoDB with its features:
The brainKrzysztof Ociepa (email: [email protected]) has designed the big-data infrastructure as well as the new OpenCellID server software based on Java, Kafka queuing system and MongoDB, and has also implemented most of the current features after two other developers failed to do so. Details about the implemented software and infrastructure can be found above. There are plans to publish the entire server software as open source for stimulating the contribution of software features of other community members of the OpenCellID project. This will most likely happen before the end of 2014. |