Real-time statistics tracking and analysis system in Python

This question is related to an older question: MySQL tracking system . In short, I have to implement a tracking system that will have heavy loads using Python. For the database part, I settled on mongoDB (which sounds like the right tool for this job). The development language will be Python.

I was thinking of using multiple instances of the CherryPy app for nginx. The rationale for this is that I do not want to process the entire part of wsgi myself, but, on the other hand, I do not need a full-fledged web infrastructure, since the application will be simple and there is no need for ORM.

My questions:

  • Should I use the built-in CherryPy server, or should I use Apache with modwsgi (or another server in general)?

  • Does this sound like a reasonable approach (nginx, mongoDB)? If not, what would you recommend?

Thanks in advance.

+5
source share
2 answers

MongoDB seems to be well suited for this - fast updates with advanced operators and M / R for batch offline processing. I think CherryPy for Nginx will work well too. If you are following the mod_wsgi route, just follow this issue .

+1
source

All Articles