peopledoc / insight-reloaded

**DEPRECTATED** A full async docsplit previewer server based on Tornado and Redis
Other
1 stars 0 forks source link

Priority queue #9

Closed gregtap closed 11 years ago

gregtap commented 11 years ago

We need a way to give a high priority to uploaded docs VS distributed docs.

You could either have dedicated workers or having your workers listening to two queues, switching from Qlow to Qhigh every second.

Natim commented 11 years ago

I think the best way to do that an keep insight as simple as possible would be to serve the API on two urls.

http://urgent-insight.yourdomain.com and http:/normal-insight.yourdomain.com.

Natim commented 11 years ago

Ok so I change a little bit my proposition : https://github.com/novagile/insight-reloaded/commit/69f04376499f84c14a5b187fcc07acc7a58d983c