The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2016-05-22

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:56 sri strange that nobody has looked into this yet, i think it could work for periodic jobs https://github.com/kraih/minion/issues/24#issuecomment-183792237
00:57 sri we've learned from job dependencies that the repair problem is not really a problem
00:57 sri repair just needs a special check for periodic jobs that didn't get re-enqueued
01:04 sri i'd also really like to see a 3rd party implementation of a scheduler with leader election
01:51 jberger sri: re periodic jobs, what schedules them again?
01:58 sri there are many options
01:59 sri an elected worker, a user adds them once...
02:40 Vitrifur joined #mojo
02:55 noganex joined #mojo
03:23 sri or rather, a user adds them once and then they reschedule themselves until removed
03:25 sri elected worker is just a variant of the separate scheduler daemon
03:25 sri with the advantage of failover
04:26 batman joined #mojo
05:13 kaare joined #mojo
07:16 dod joined #mojo
07:21 dod joined #mojo
08:00 jasanj left #mojo
08:31 Vandal joined #mojo
10:10 dod joined #mojo
11:14 Corion joined #mojo
11:16 Corion Hi all! I have a problem with Mojo::UserAgent not automatically following 302 redirects - is it supposed to be that way? This is against a HTTPDaemon and Google...
11:18 Corion Err -HTTP::Daemon - I guess I'm doing something wrong, I'm using "diag Mojo::UserAgent->new->get('http://google.de?q=foo+bar' => {Accept => '*/*'})->res->body;
11:19 Corion (and the code seems to suggest to me that Mojo::UserAgent should follow 302 and 301 redirects automatically, but for some reason it doesn't)
11:25 Corion This is with v6.62 of Mojolicious
11:34 Corion Ah. I'm stupid - I wasn't passing in the max_redirects parameter from my configuration. No wonder it didn't work. Thanks for listening ;)
12:03 jberger Glad you got it
12:27 dvinciguerra joined #mojo
12:36 dod joined #mojo
12:37 asarch joined #mojo
13:20 mishanti1 Hehe. Even this ancient version of Mojolicious (3.97) is fast enought that Selenium just. can't. keep. up.
13:21 mishanti1 It is almost sad upgrading Mojolicious knowing that speedup of the UI-tests won't benfit from the inherent increase in speeds in the newer Mojolicious.
13:30 kaare joined #mojo
15:27 batman off topic, but does anyone use any hosted server/application service? looking for something that has a cheap plan for small amount of data. the one i'm looking at has support for way too much data and cost like $20/mon
15:28 pink_mist isn't this what things like heroku is for?
15:30 lluad joined #mojo
15:30 batman sorry. i meant "hosted server/application monitioring/logging service"
15:31 pink_mist oh, that I don't know
15:47 dod joined #mojo
15:49 sri this is a weird point https://github.com/kraih/minion/issues/24#issuecomment-220831149
15:49 sri which job scheduler has a higher level of accuracy?
15:50 sri it's odd that unique jobs have not come up again
15:51 sri we had a really good solution already
15:52 mcsnolte joined #mojo
15:53 cpan_mojo Mojolicious-Plugin-PlackMiddleware-0.36 by JAMADAM https://metacpan.org/release/JAMADAM/Mojolicious-Plugin-PlackMiddleware-0.36
16:24 marty joined #mojo
16:25 marty joined #mojo
16:31 PryMar56 joined #mojo
16:36 zivester joined #mojo
17:26 bpmedley https://github.com/kraih/minion/compare/master...brianmed:master <-- How does this look for a sample implementation of using a recurring column?  Or, is the election process more viable?
17:40 sri bpmedley: what do you mean with sample?
17:41 sri the implementation itself is not usable, but i guess if all you wanted was to test the approach it might somewhat work
17:42 * jberger reads about the paxos algo
17:43 sri hehe, just yesterday i've been reading about paxos in the new google book
17:43 jberger wont get to writing anything today, but it is something I've been meaning to learn anyway
17:43 jberger which book?
17:43 jberger sri: seen https://www.citusdata.com/blog/14-marco/411-master-less-distributed-queue-postgres-and-pg-paxos ?
17:43 jberger pg_paxos
17:43 sri a very strange book, current o'reilly bestseller http://shop.oreilly.com/product/0636920041528.do
17:44 sri not sure yet if it's just a fad or going to become a classic
17:44 bpmedley Correct, if support for cron config lines are added, would the approach be viable?
17:45 sri bpmedley: your question is too unspecific, your implementation has huge problems, like you should never do time calculations outside the database
17:45 sri the job_info call is also a big no go
17:46 bpmedley Gotcha, thx for reading the code
17:47 sri you're also ignoring the dead worker case
17:47 sri which is the biggest of all problems in that kind of approach
17:49 sri that's what avkhozov was referring to with lack of accuracy
17:50 sri jberger: the book talks a lot about paxos actually, and how google has paxos as a service
17:55 sri bpmedley: and that's just the implementation problems, next you have to design a way to stop a recurring job again
17:56 sri bpmedley: definitely start with tests, you gotta schedule a job, run it a few times, have it fail, retry, and remove it again
17:58 sri i can find just as many flaws in avkhozovs approach though https://github.com/kraih/minion/issues/24#issuecomment-220842484
17:58 dvinciguerra joined #mojo
18:00 sri the more i look into it, the more i think maybe unique jobs + cron might have been a reasonable approach :D
18:01 sri https://github.com/kraih/minion/pull/22
18:21 sri NOOOOOOOOOOOO
18:21 sri HODOR!
18:21 sri :,(
18:22 sri this episode of game of thrones is brutal
18:48 preaction it's probably for the best. his character was kind of one-dimensional. i mean, c'mon, learn another word...
18:50 sri grrm is a monster
19:00 jberger Is it out already?
19:01 sri leaked
19:02 jberger Well keep it to yourself for a bit
19:02 jberger Not that i think this season has anything to do with the books anymore
19:02 sri don't go on twitter today
19:03 jberger Wow that big of a leak?
19:03 sri today's episode contains the night's king and hodor origin stories, and the whole episode leaked
19:04 jberger I'll watch the show tonight
19:05 sri hodor might be the most tragic figure in the books
19:06 jberger You know nothing
19:07 * jberger tends the yard
19:07 sri GET OFF MY LAWN
19:29 pink_mist <sri> a very strange book, current o'reilly bestseller http://shop.oreilly.com/product/0636920041528.do <-- if only 'engineering' had started with an 'i' :P
20:18 punter joined #mojo
20:20 punter joined #mojo
21:05 Kripton joined #mojo
21:26 disputin joined #mojo
22:20 sri ;p
22:28 dvinciguerra_ joined #mojo
23:34 tchaves joined #mojo

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary