David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
David Kimura PRO said over 9 years ago on Periodic Tasks with sidekiq-cron :

I do plan on doing some testing. However, I think week after next, I'll be focusing on searchkick/elasticsearch.

I've updated the episode with the schedule.yml file. That was definitely an oversight, so thank you.


David Kimura PRO said over 9 years ago on Periodic Tasks with sidekiq-cron :

I don't think that sidekiq-pro offers recurring jobs.

For terminology sake, a scheduled job would be the result of an action telling the background processor to schedule the job for a later time. For example, if a new user signs up for your application, you can set a scheduled job to thank the user for signing up and give some tips about your application 24 hours after they sign up.

A recurring job or periodic task, would be something where you are wanting to perform a task every x intervals. For example, if you have a ToDo list application and you want to send a notification to your users every morning with an overview of what they still need to do or have completed the previous day, sidekiq-cron would be a good fit for the job.

You should be able to use sidekiq-cron along side sidekiq-pro. However, if you're using sidekiq-enterprise, there is no need for sidekiq-cron since this functionality is built into sidekiq-enterprise.


David Kimura PRO said over 9 years ago on Periodic Tasks with sidekiq-cron :

Thanks! Sounds good to me!


David Kimura PRO said over 9 years ago on Client Side Encryption :

SSL Doesn't really protect against a MitMA. In hindsight, this method really doesn't either. However, this method does provide some level of obscurity to your password which is good, but in no means does it replace the need for SSL certs.

A VPN tunnel or something similar would be a much safer bet. I really should have made the episode more around the ability to have a secure communicate between two users or something. Yes, a  trusted Certificate Authority does issue SSL certificates to someone when they can verify a level of ownership to a domain.


David Kimura PRO said over 9 years ago on Bar Code Reader with Rails :

Nothing more universal and low cost like a WiFi equip mobile phone with a camera on it. I've been looking around at this and think I'll cover this soon. More for fun than anything else.