Hi Srikanth, Many people use Celery for background tasks (delayed or scheduled):
Raw barebone Celery integration: https://github.com/sontek/pyramid_celery More in-depth: https://websauna.org/docs/narrative/misc/task.html Celery has procedures for launching background worker processes, managing schedules and interprocess communications. -Mikko On 14 April 2017 at 06:32, Srikanth Bemineni <bemineni.srika...@gmail.com> wrote: > Hi, > > Is there a way I can start a background process in pyramid, where a > certain non-important work can be pushed to this process. I don't need to > wait for this to complete to return my request. This can be implemented in > a different way, but just checking if there is already a convenient way to > do this in pyramid. > > The background process needs to be started as soon as the first instance > of the app is started. Other instances of the app just check if the > background process is already started and does nothing. If the background > process has crashed or stopped, it will start an instance again. > > > -- Mikko Ohtamaa http://opensourcehacker.com http://twitter.com/moo9000 -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUvP599ugLL0ngzO9jqUQ_M_9ASLkmCJTSTo5U6dcPF4bQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.