Sorting pages on larger sites and unicorn

32 views
Skip to first unread message

Marc

unread,
Mar 14, 2013, 4:39:02 AM3/14/13
to alche...@googlegroups.com
Hi!

When sorting pages on larger sites using unicorn, after 31 anything seconds the request times out with
502 Proxy Error

I know that unicorn kills requests that takes longer than 30 seconds to finish. 
And of course I could set the threshold to a higher value but I think in this case we should think about the way page sorting is handled in general.

Any ideas on this?

Putting it in a background process? Only send vectors instead of the whole position dump?

Best
Marc


Marc

unread,
Mar 21, 2013, 12:30:59 AM3/21/13
to alche...@googlegroups.com
Solved by updating alchemy to version 2.5.2 and increasing unicorn timeout to 60s...

tvdeyen

unread,
Mar 22, 2013, 8:02:00 AM3/22/13
to alche...@googlegroups.com
I just found this in the awesome-nested-set wiki:


Self claimed the best nestes set sortable tree gem.

Claims to handle 2000 pages/sec!!!

Will you give it a try?

Marc

unread,
Mar 23, 2013, 8:25:05 AM3/23/13
to alche...@googlegroups.com
Sounds quite promising!

I'll try to implement it. But let me work on that resource-namespacing-thing first!

Best
Marc
Reply all
Reply to author
Forward
0 new messages