Hello to All
I have a PHP website that should use some cached data (stored in Memcache, for example).
The data should be stored in cache by daemons fetching it from web services and some of it should be stored in MySQL server too.
The daemons should do the following:
- Fetch foreign exchange rates, parse them and store them in database as well as in two seperated memcaches in seperate machines.
- Fetch financial indices and store it in seperated memcaches.
- Fetch large XML data and store it in two seperated memcaches.
I am capable of writing these daemons in C/C++/Perl/PHP/Python.
I have to decide in which language/script I should choose in order to implement these daemons. The advantage of using PHP for this is that I can use API used by the website application itself. Another advantage is that PHP is easy and everyone knows it so I won't be tied up to maintaining these daemons but on the other hand PHP is slower and consumes much more resources.
The main disadvantage of using other language than PHP is that it's harder to maintain code written in C/C++/Perl. Nowadays, I guess it's not common to do these kind of tasks using C/C++/Perl. Am I wrong in saying that ?
What would you recommend me to do in this case ?