Hacker News new | ask | show | jobs
by las_cases 4186 days ago
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".
1 comments

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.

I have stumbled upon Redis a lot in really cool projects so I definitely need to take a deeper look into it.