Re:Performance Improvements Using Judy Arrays
by jknightco on Wednesday May 01, 2013 @01:47PM
(#5639529)
Execution time isn't the only cost in building software however. Building a web application in C may be "cheap" in regards to scaling performance, but it would sure as hell increase development costs a ton.
I think what Github has done is exactly what you're supposed to do: build your product on a platform that allows for quick growth and easy iteration, identify the slow parts, then swap those out for faster "gears" as you said.
Edit: I find it rather humorous that you find algorithmic research to be a magic bullet, but believe switching platforms to be a viable solution when faced with a bottleneck. I believe you have that backwards :)
Re:Performance Improvements Using Judy Arrays
by oinksoft on Wednesday May 01, 2013 @02:14PM
(#5639741)
I don't think parent is suggesting the whole website be written in C. I think parent sees the CS focus as a sideshow, and that a C version of the "escaper," even if not designed ideally, would still smoke the Ruby version that was acting as a bottleneck.
Re:Performance Improvements Using Judy Arrays
by jknightco on Wednesday May 01, 2013 @03:00PM
(#5640067)
"...parent sees the CS focus as a sideshow..."
My point is that the CS is never a sideshow. Improvements gained from changes in algorithmic complexity vastly outpace improvements gained from switching languages/platforms.
Worry about your algorithm first and your platform second.
This just feels like "we have this huge and slow Ruby behemoth here, but using magic Judy arrays we made this little gear turn insanely fast!".