mikecmpbll

Activity Graph

« Prev | Page 2 of 185 | Next »

2019-05-04

[07:45:37] mikecmpbll: has joined #ruby
[07:46:07] mikecmpbll: has joined #ruby-offtopic
[07:46:11] mikecmpbll: has joined #RubyOnRails
[08:10:02] mikecmpbll: Read error: Connection timed out
[08:10:35] mikecmpbll: has joined #ruby-offtopic

2019-05-03

[01:00:42] mikecmpbll: Quit: inabit. zz.
[07:50:53] mikecmpbll: has joined #RubyOnRails
[07:50:53] mikecmpbll: has joined #ruby
[07:51:09] mikecmpbll: has joined #ruby-offtopic
[15:13:29] mikecmpbll: Quit: inabit. zz.
[16:38:55] mikecmpbll: has joined #ruby
[16:39:10] mikecmpbll: has joined #ruby-offtopic
[16:39:12] mikecmpbll: has joined #RubyOnRails
[17:38:45] mikecmpbll: old_relik : just depends what you want to happen. usually the advice is to make a job idempotent.
[17:39:24] mikecmpbll: so, for each id it should only send the sms if the database record doesn't already exist?
[17:39:26] mikecmpbll: then a job can retry and not cause duplication.
[17:44:51] mikecmpbll: not sure in what way you mean. perhaps would benefit from an example :)
[18:10:00] mikecmpbll: cek : i'm an expert
[18:10:04] mikecmpbll: on everything
[18:11:34] mikecmpbll: pretty much makes SMSScheduler irrelevant
[18:11:43] mikecmpbll: just schedule the SMSSender jobs off the bat
[18:14:09] mikecmpbll: you'd be surprised how little job overhead actually is.
[18:14:31] mikecmpbll: in fact. you'll likely get speed benefit due to job parallelism ..
[18:14:57] mikecmpbll: unless you know each job is going to be consistently large, in which case there's an argument for that.
[18:15:35] mikecmpbll: and you're running many at a time?
[18:15:57] mikecmpbll: do you need it to retry if one item in the job fails?
[18:16:39] mikecmpbll: but if item 14,000/100k fails
[18:16:49] mikecmpbll: 86k items will be missed ..
[18:17:26] mikecmpbll: ok, so you don't mind if item 14,000 never succeeds?
[18:17:36] mikecmpbll: or if it fails, it's never likely to suceed?
[18:18:01] mikecmpbll: oh fine. so just do that :D
[18:18:40] mikecmpbll: yeah, well that's the design answer.
[18:18:58] mikecmpbll: if a failure is absolute and expected, then rescue and skip.
[18:19:51] mikecmpbll: it should be idempotent anyway, regardless of this discussion.
[18:20:05] mikecmpbll: because the failure might not be because the item failure
[18:20:29] mikecmpbll: (the predictable, absolute failure)
[18:22:20] mikecmpbll: batched/unbatched isn't particularly important. unbatched is cleaner, as adam illudes to, but there's good reasons to do batched too.
[18:22:24] mikecmpbll: very much depends on the workload.
[18:24:13] mikecmpbll: are you dealing with something where you have an Active Record representation and an external API call?
[18:24:22] mikecmpbll: best to have some status in the Active Record, if that's the case
[18:24:51] mikecmpbll: it gets updated in the job, and you skip ones that are already x status .. which i think is probably what you were getting at with paste
[18:25:52] mikecmpbll: not sure what you mean about leaking. if Model is always a specific Model, then there's no worry about coupling the sidekiq job to that.
[18:26:42] mikecmpbll: unless you store whether or not send_sms has happened yet, you'll never be able to make the job idempotent.
[18:29:36] mikecmpbll: i can't really comprehend how those conditions could differ if it's the same model, but if so then you'd expect them to have a unified interface at least
[18:30:27] mikecmpbll: a `sent?` method that behaves correctly for the different cases? for example
[20:07:55] mikecmpbll: Quit: inabit. zz.
[20:12:52] mikecmpbll: has joined #RubyOnRails
[20:13:03] mikecmpbll: has joined #ruby-offtopic
[20:13:19] mikecmpbll: has joined #ruby
[22:36:16] mikecmpbll: Quit: inabit. zz.

2019-05-02

[08:15:47] mikecmpbll: has joined #ruby
[08:15:54] mikecmpbll: has joined #ruby-offtopic
[08:15:56] mikecmpbll: has joined #RubyOnRails
[16:36:12] mikecmpbll: Quit: inabit. zz.
[18:32:53] mikecmpbll: has joined #RubyOnRails
[18:32:59] mikecmpbll: has joined #ruby
[18:33:05] mikecmpbll: has joined #ruby-offtopic

2019-05-01

[08:09:55] mikecmpbll: has joined #RubyOnRails
[08:10:10] mikecmpbll: has joined #ruby
[08:10:20] mikecmpbll: has joined #ruby-offtopic
[08:39:09] mikecmpbll: Read error: Connection reset by peer
[08:39:35] mikecmpbll: has joined #RubyOnRails
[08:39:45] mikecmpbll: has joined #ruby
[08:39:59] mikecmpbll: has joined #ruby-offtopic
[10:28:45] mikecmpbll: views on squashing vs not squashing?
[10:28:50] mikecmpbll: merge requests
[17:17:06] mikecmpbll: Quit: inabit. zz.
[18:22:19] mikecmpbll: has joined #ruby
[18:22:19] mikecmpbll: has joined #RubyOnRails
[18:22:36] mikecmpbll: has joined #ruby-offtopic
[22:34:27] mikecmpbll: Quit: inabit. zz.

2019-04-25

[08:00:57] mikecmpbll: has joined #ruby-offtopic
[08:01:14] mikecmpbll: has joined #RubyOnRails
[08:01:24] mikecmpbll: has joined #ruby
[15:33:55] mikecmpbll: Quit: inabit. zz.
[15:39:45] mikecmpbll: has joined #RubyOnRails
[15:40:14] mikecmpbll: has joined #ruby
[15:40:16] mikecmpbll: has joined #ruby-offtopic
[15:48:32] mikecmpbll: Ping timeout: 250 seconds
[15:49:45] mikecmpbll: has joined #RubyOnRails
[15:50:22] mikecmpbll: has joined #ruby-offtopic
[15:50:30] mikecmpbll: has joined #ruby
[16:44:19] mikecmpbll: Quit: inabit. zz.
[17:08:58] mikecmpbll: has joined #ruby
[17:09:00] mikecmpbll: has joined #ruby-offtopic
[17:09:07] mikecmpbll: has joined #RubyOnRails
[21:16:22] mikecmpbll: Quit: inabit. zz.

2019-04-24

[07:41:36] mikecmpbll: has joined #ruby-offtopic
[07:41:36] mikecmpbll: has joined #RubyOnRails
[07:41:45] mikecmpbll: has joined #ruby
[07:53:54] mikecmpbll: has joined #RubyOnRails
[07:54:09] mikecmpbll: has joined #ruby
[07:54:19] mikecmpbll: has joined #ruby-offtopic
[16:41:54] mikecmpbll: Quit: inabit. zz.
[17:01:25] mikecmpbll: has joined #ruby
[17:01:27] mikecmpbll: has joined #RubyOnRails
[17:01:31] mikecmpbll: has joined #ruby-offtopic
[21:04:21] mikecmpbll: Quit: inabit. zz.
[21:17:54] mikecmpbll: has joined #ruby
[21:18:22] mikecmpbll: has joined #RubyOnRails
[21:18:22] mikecmpbll: has joined #ruby-offtopic
[21:53:03] mikecmpbll: Quit: inabit. zz.
[22:16:38] mikecmpbll: has joined #ruby-offtopic
[22:17:06] mikecmpbll: has joined #RubyOnRails
[22:17:06] mikecmpbll: has joined #ruby
[22:25:00] mikecmpbll: Quit: inabit. zz.
[22:41:11] mikecmpbll: has joined #ruby-offtopic
[22:41:39] mikecmpbll: has joined #ruby
[22:41:43] mikecmpbll: has joined #RubyOnRails
[22:51:02] mikecmpbll: Quit: inabit. zz.
[22:56:44] mikecmpbll: has joined #ruby-offtopic
[22:56:54] mikecmpbll: has joined #ruby
[22:56:58] mikecmpbll: has joined #RubyOnRails
[23:04:37] mikecmpbll: Quit: inabit. zz.
[23:06:12] mikecmpbll: has joined #ruby

2019-04-23

[16:14:54] mikecmpbll: has joined #RubyOnRails
[16:15:08] mikecmpbll: has joined #ruby-offtopic
[16:15:16] mikecmpbll: has joined #ruby
[16:37:49] mikecmpbll: Quit: inabit. zz.
[19:21:08] mikecmpbll: has joined #RubyOnRails
[19:21:14] mikecmpbll: has joined #ruby
[19:21:40] mikecmpbll: has joined #ruby-offtopic
[20:47:56] mikecmpbll: Quit: inabit. zz.

2019-04-08

[07:52:59] mikecmpbll: has joined #ruby-offtopic
[07:53:27] mikecmpbll: has joined #RubyOnRails
[07:53:28] mikecmpbll: has joined #ruby

2019-04-07

[11:32:58] mikecmpbll: has joined #ruby-offtopic
[11:33:07] mikecmpbll: has joined #ruby
[11:33:17] mikecmpbll: has joined #RubyOnRails
[21:03:44] mikecmpbll: Quit: inabit. zz.

2019-04-06

[03:16:14] mikecmpbll: Quit: inabit. zz.
[08:35:05] mikecmpbll: has joined #ruby-offtopic
[08:35:17] mikecmpbll: has joined #ruby
[08:35:31] mikecmpbll: has joined #RubyOnRails
[09:59:23] mikecmpbll: Quit: inabit. zz.
[11:20:13] mikecmpbll: has joined #ruby
[11:20:29] mikecmpbll: has joined #ruby-offtopic
[11:20:43] mikecmpbll: has joined #RubyOnRails
[16:51:27] mikecmpbll: Quit: inabit. zz.
[18:13:46] mikecmpbll: has joined #ruby
[18:14:10] mikecmpbll: has joined #RubyOnRails
[18:14:26] mikecmpbll: has joined #ruby-offtopic
[22:44:24] mikecmpbll: Quit: inabit. zz.

2019-04-05

[11:01:58] mikecmpbll: has joined #ruby-offtopic
[11:02:04] mikecmpbll: has joined #ruby
[11:02:12] mikecmpbll: has joined #RubyOnRails
[16:02:53] mikecmpbll: Quit: inabit. zz.
[18:59:04] mikecmpbll: has joined #ruby-offtopic
[18:59:08] mikecmpbll: has joined #RubyOnRails
[18:59:28] mikecmpbll: has joined #ruby

2019-04-03

[07:59:36] mikecmpbll: has joined #ruby
[13:06:54] mikecmpbll: Remote host closed the connection

2019-04-02

[01:54:44] mikecmpbll: Quit: inabit. zz.
[08:07:58] mikecmpbll: has joined #ruby
[16:41:23] mikecmpbll: Quit: inabit. zz.
[17:16:28] mikecmpbll: has joined #ruby
[21:28:47] mikecmpbll: Quit: inabit. zz.

2019-04-01

[00:45:44] mikecmpbll: Quit: inabit. zz.
[07:43:11] mikecmpbll: has joined #ruby-offtopic
[07:43:51] mikecmpbll: has joined #ruby
[07:43:55] mikecmpbll: has joined #RubyOnRails
[08:38:58] mikecmpbll: Read error: Connection reset by peer
[23:14:49] mikecmpbll: has joined #ruby

2019-03-31

[10:43:49] mikecmpbll: Quit: inabit. zz.
[11:48:11] mikecmpbll: has joined #ruby-offtopic
[11:48:18] mikecmpbll: has joined #RubyOnRails
[11:48:26] mikecmpbll: has joined #ruby

2019-03-30

[00:46:46] mikecmpbll: has joined #ruby-offtopic
[00:47:28] mikecmpbll: has joined #RubyOnRails
[00:47:34] mikecmpbll: has joined #ruby
[01:23:28] mikecmpbll: Quit: inabit. zz.
[09:54:27] mikecmpbll: has joined #RubyOnRails
[09:54:29] mikecmpbll: has joined #ruby-offtopic
[09:54:55] mikecmpbll: has joined #ruby

2019-03-29

[00:30:42] mikecmpbll: Quit: inabit. zz.

2019-03-28

[08:49:17] mikecmpbll: has joined #ruby-offtopic
[08:49:34] mikecmpbll: has joined #RubyOnRails
[08:49:42] mikecmpbll: has joined #ruby
[17:36:33] mikecmpbll: Quit: inabit. zz.
[21:16:25] mikecmpbll: has joined #ruby-offtopic
[21:16:37] mikecmpbll: has joined #ruby
[21:16:45] mikecmpbll: has joined #RubyOnRails

2019-03-27

[00:33:13] mikecmpbll: Quit: inabit. zz.
[09:12:19] mikecmpbll: has joined #ruby-offtopic
[09:12:24] mikecmpbll: has joined #ruby
[09:12:44] mikecmpbll: has joined #RubyOnRails
[16:42:57] mikecmpbll: Quit: inabit. zz.
[16:46:32] mikecmpbll: has joined #RubyOnRails
[16:46:36] mikecmpbll: has joined #ruby-offtopic
[16:46:56] mikecmpbll: has joined #ruby
[18:35:06] mikecmpbll: Quit: inabit. zz.
[19:27:39] mikecmpbll: has joined #ruby-offtopic
[19:27:43] mikecmpbll: has joined #RubyOnRails
[19:27:59] mikecmpbll: has joined #ruby
[23:39:16] mikecmpbll: Quit: inabit. zz.

2019-03-26

[01:01:18] mikecmpbll: Quit: inabit. zz.
[08:50:39] mikecmpbll: has joined #ruby
[08:51:07] mikecmpbll: has joined #ruby-offtopic
[08:51:13] mikecmpbll: has joined #RubyOnRails
[17:40:03] mikecmpbll: Quit: inabit. zz.
[18:32:24] mikecmpbll: has joined #ruby-offtopic
[18:32:42] mikecmpbll: has joined #ruby
[18:32:58] mikecmpbll: has joined #RubyOnRails

2019-03-25

[08:13:17] mikecmpbll: has joined #RubyOnRails
[08:13:28] mikecmpbll: has joined #ruby-offtopic
[08:13:39] mikecmpbll: has joined #ruby
[10:30:12] mikecmpbll: Ping timeout: 250 seconds
[11:09:09] mikecmpbll: has joined #ruby-offtopic
[11:09:17] mikecmpbll: has joined #ruby
[11:09:29] mikecmpbll: has joined #RubyOnRails
[17:36:41] mikecmpbll: Quit: inabit. zz.
[18:45:48] mikecmpbll: has joined #ruby
[18:46:01] mikecmpbll: has joined #ruby-offtopic
[18:46:02] mikecmpbll: has joined #RubyOnRails
[19:37:35] mikecmpbll: Quit: inabit. zz.
[23:38:52] mikecmpbll: has joined #RubyOnRails
[23:38:56] mikecmpbll: has joined #ruby-offtopic
[23:39:34] mikecmpbll: has joined #ruby

2019-03-24

[10:08:16] mikecmpbll: Quit: inabit. zz.
[10:09:12] mikecmpbll: has joined #RubyOnRails
[10:09:12] mikecmpbll: has joined #ruby
[10:09:38] mikecmpbll: has joined #ruby-offtopic
[10:17:45] mikecmpbll: Quit: inabit. zz.
[14:00:56] mikecmpbll: has joined #ruby-offtopic
[14:00:57] mikecmpbll: has joined #ruby
[14:01:34] mikecmpbll: has joined #RubyOnRails
[23:22:30] mikecmpbll: Quit: inabit. zz.

2019-03-23

[11:58:03] mikecmpbll: Quit: inabit. zz.
[11:59:07] mikecmpbll: has joined #ruby
[11:59:11] mikecmpbll: has joined #ruby-offtopic
[11:59:33] mikecmpbll: has joined #RubyOnRails
[12:54:46] mikecmpbll: has joined #RubyOnRails
[12:54:58] mikecmpbll: has joined #ruby-offtopic
[12:55:02] mikecmpbll: has joined #ruby

2019-03-22

[12:36:08] mikecmpbll: has joined #RubyOnRails
[12:36:20] mikecmpbll: has joined #ruby
[12:36:42] mikecmpbll: has joined #ruby-offtopic
[17:06:57] mikecmpbll: Quit: inabit. zz.
[18:00:36] mikecmpbll: has joined #RubyOnRails
[18:00:54] mikecmpbll: has joined #ruby-offtopic
[18:01:00] mikecmpbll: has joined #ruby