Better HN
topnewbestaskshowjobs
Log inSign up

ttharma

1 karma · joined May 24, 2014 (12y ago) · 4 submissions

Submissions

comment 12y ago · link · parent

Agreed, and theScore client apps actually use OAuth. We use HTTP Token Authentication for internal services with a limited number of consumers (other internal services). For this purpose, static and shared credentials are fine.

comment 12y ago · link · parent

Both HTTP Basic and Token Authentication are secure when used over HTTPS. I updated the article to include a note about this as well as updated the code examples to use HTTPS.

comment 12y ago · link · parent

Thanks for the feedback and the issue report, Steve. I will take a look at the issues.

By the way, I would really appreciate it if you can answer this as you're in a better position to do so: http://techblog.thescore.com/benchmarking-json-generation-in...

comment 12y ago · link · parent

Including Oj in Gemfile and not using it properly has caused some confusion. The original purpose of the benchmark was to test the relative performance of RABL, AMS, and presenters. In that case, the choice of the JSON library should not matter.

Having said that, it would still be nice to see the best performance we can get out of the 3 tools we're benchmarking. But, we need to get Oj working with all 3 of them in order to avoid unfair comparison of performance.