scheduled tasks - Programming language for developing multi platform daemon -


i developing application needs perform lots of batch processing (for example whois request). ensure best performance, split job between different computers. this, planning write program query job queue on main server, fetch 1 job, processes , updates main server result. actual processing done php. program need poll job queue , invoke local php script. job needs run every few seconds, hence cannot use cron.

can suggest programming language can create such daemon easily? there program available this?

thanks

a few notes

  1. you can use cron run every few seconds(using hacks though)
  2. you need sort of distributed queue hold jobs (rabbitmq 1 or can use zookeeper)
  3. depending on queue pick, there api's in many programming languages remove jobs queue.

there many open source tools similar things, depend on how sophisticated needs are.

  1. hadoop complex product let implement this
  2. workerpool python library simple use, multithreaded , run single machine. on simple end of spectrum.

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -