/srv/irclogs.ubuntu.com/2012/08/19/#ubuntu-us-mi.txt

rick_h_jcastro: how do you do a "Show HN"? I only see ask/jobs/submit04:20
Blazeixrick_h_: pretty sure you prefix the title with "Show HN"04:24
Blazeixhttp://www.hnsearch.com/search#request/all&q=SHow+HN&sortby=create_ts+desc04:24
rick_h_ok yea, I found a big thread discussing making it a tab04:27
rick_h_but looks like it's shot down04:27
rick_h_well, don't want to submit and go to bed, so maybe for tomorrow04:27
snap-lGood morning13:36
rick_h_morning13:54
rick_h_49914:29
rick_h_views on your busiest day, August 18, 201214:29
rick_h_lol, damn one short14:29
snap-lrick_h_: Did the API url change or something?14:33
snap-lI can't seem to bookmark14:34
snap-lvia the extension14:34
snap-lI'm getting a 502 error when bookmarking from the site14:35
rick_h_snap-l: no, 502 from the site? using 'add bookmark'?14:36
snap-lYes14:36
rick_h_k, sec will look14:36
snap-lbbl14:41
brouschI found my old 1 gallon aquarium in the basement and got some fish for it14:44
rick_h_wtf it works locally14:46
brouschHm, yeah 502 for me too14:47
rick_h_ok yea saw the error that time14:48
rick_h_whoosh file lock error because I've got import going I bet14:48
rick_h_there's a huge import going on that's killing me14:49
brouschso add doesn't go through celery?14:56
rick_h_the import does14:56
rick_h_but it's throwing new bookmarks at whoosh like no tomorrow14:56
rick_h_and the web site gets locked out14:56
brouschright, so the normal add doesn't get put in the same way?14:57
rick_h_I just killed celery and got it to work14:57
rick_h_still slow14:57
brouschIt seems like all adds would go through the same process to be added14:57
rick_h_no, normal add happens in request. Because just saving a bookmark hits whoosh to index the page title, description, and extended description14:57
rick_h_they do, sqlalchemy events, but two people are talking now14:57
rick_h_the web site and the celery importer14:57
rick_h_so they're fighting over who has lock access to the whoosh index14:57
rick_h_and this is when you get fun with file based data stores14:58
brouschYeah, I'm probably just showing my ignorance14:58
rick_h_so when the website is adding all is well. It's sharing a single lock for all of it's threads14:59
brouschI figured the importer would throw each add into celery, then that add would be processed by whoosh as it has resources14:59
rick_h_whoosh only lets one person hold the lock at a time14:59
rick_h_so the importer starts up, and it's taking over 30min (keep having to kill/restart his import)14:59
rick_h_and it grabs the lock14:59
rick_h_and the website says "hey, I need that..."14:59
brouschSo the web site add would throw it's stuff into celery and it would be processed in the queue with the import14:59
rick_h_but the web site doesn't toss a single new bookmark to celery, you want to have that stored now15:00
brouschSounds like maybe it should15:00
rick_h_the proper thing to do would be to catch the whoosh index lock exception, and file a background celery process for later15:00
rick_h_or move fulltext off to something that works with multiple users/locks15:00
brouschThat sounds like extra code. Why not just always do it in celery?15:01
rick_h_most imports take 2min15:01
jrwreni was afk until now. congrats rick_h_15:01
rick_h_and most people aren't saving new bookmarks every 2min so it's not been an issue15:01
jrwrenexcellent work.15:01
brouschBut as you scale15:01
rick_h_jrwren: heh, well it's blowing up in places :)15:01
rick_h_brousch: yea, as I scalethe right thing to do is move fulltext off of whoosh15:01
brouschOnto what?15:02
rick_h_every db actoin can't have to go through celery15:02
rick_h_brousch: elasticsearch, lucense/blah15:02
brouschWhy not? I thought that was the new hotness15:02
rick_h_heh15:02
brouschasync all the things!15:06
rick_h_dammit, something is up. I don't get what.15:08
jrwrenbmark.us feels faster.15:09
jcastrorick_h_: where you hosting this btw?15:10
rick_h_jcastro: pair os ec2 instances15:11
rick_h_/os/of15:11
rick_h_I think the add new bookmark issue isn't all the whoosh as well. I shut down everything, restarted services, and still getting an issue.15:16
rick_h_heh, guess I need an account delete button15:21
rick_h_someone is going through and deleting all their imported bookmarks one by one15:21
rick_h_yea, whoosh index is melted15:28
rick_h_there goes that15:28
rick_h_but adding should work again15:28
rick_h_snap-l: brousch ^15:32
snap-lrick_h_: Will check. Thanks!17:25
snap-l"Xubuntu is not a refugee camp"17:36
snap-lOh, this is going to be a good blog post.17:36
rick_h_.lol17:37
snap-lhttp://open.knome.fi/2012/08/19/xubuntu-is-not-a-refugee-camp/17:37
snap-lEvening (at least, in 35 minutes)21:26
rick_h_party21:53
brouschRidiculous http://twitter.com/N165Mars23:32
Blazeixbrousch++23:42
brouschIt's kind of cool to send Shawn Powers a personal invite to BarCampGR23:45
rick_h_lol23:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!