News for hackers. Stuff that matters.
Re:Show HN: WordsAPI by las_cases on Tuesday January 06, 2015 @11:17AM (#8845051)
It is blazing fast for me. I see from another response that this is a Node.js app but perhaps caching might also explain how fast this is. Also, today I have learned that jazz also means "have sexual intercourse with".
Re:Show HN: WordsAPI by impostervt on Tuesday January 06, 2015 @11:36AM (#8845208)
Got a great speedup when I added Redis. When a word is first requested, the JSON is put together from the Postgres database tables, then just stuff it in Redis for subsequent requests.

Since there have been so many requests, most common words are in Redis at this point.

Re:Show HN: WordsAPI by las_cases on Tuesday January 06, 2015 @12:46PM (#8845742)
I have stumbled upon Redis a lot in really cool projects so I definitely need to take a deeper look into it.