sidekiq job status back to browser

40 views
Skip to first unread message

Ken Paul

unread,
Mar 23, 2014, 2:04:43 AM3/23/14
to rubyonra...@googlegroups.com
Hi,

There was a post in this forum saying it is possible to stream the way
of transition the sidekiq job status back to browser with rails 4, but
it didn't include too much details.

Does anyone know anything about this new technology? What is it and how
to let browser know a job is completed. I don't want to use the live
poll method and send query in a fixed interval from the browser side to
server.

--
Posted via http://www.ruby-forum.com/.

Hassan Schroeder

unread,
Mar 23, 2014, 10:34:09 AM3/23/14
to rubyonrails-talk
On Sat, Mar 22, 2014 at 11:04 PM, Ken Paul <li...@ruby-forum.com> wrote:

> There was a post in this forum saying it is possible to stream the way
> of transition the sidekiq job status back to browser with rails 4, but
> it didn't include too much details.

Is 'ActionController::Live' what you're referring to?

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

Ken Paul

unread,
Mar 24, 2014, 1:23:43 AM3/24/14
to rubyonra...@googlegroups.com
Hassan Schroeder wrote in post #1140691:
>
> Is 'ActionController::Live' what you're referring to?
>

Yes, this is the module/class that pushes notifications back to client
browser side using the server-sent event. That's COOL!
Reply all
Reply to author
Forward
0 new messages