sinatra: All content tagged as sinatra in NoSQL databases and polyglot persistence
Salvatore antirez Sanfilippo has published on GitHub Lamer News a Hacker News like social site built on top of Redis, Sinatra, and jQuery—when writing this I’ve already checked out the code. For a long time Twitter-related and blog-related projects have been the favorite demos for NoSQL solutions, so its nice to see more serious applications featured.
The project is also running live at lamer news.com. It could benefit of a bit of UI liftup though.
Original title and link: Lamer News: A Redis-Sinatra-JQuery HN-like News Site ( ©myNoSQL)
The workshop takes you through creating a Sinatra application using sample code from here . Once the Sinatra application which leverages Twitter is working, the workshop then takes you through adding Redis to your application. Finally the workshop ends after taking you through scaling your application instances up and then back down.
Only 15 minutes to get it up and running:
Update: Jan Lehnardt was quick to point me to a CouchDB-based URL shortner on ☞ GitHub.
Update 2: Mathias Meyer shared with us ☞ Relink: a solution built on top of Redis with Sinatra
Update 3: Aaron pointed out ☞ little, another solution using Redis and Node.js
I’m pretty sure there are many more such projects so please post a link to the project in the comment section and I’ll update the post.
I’m starting to forget how many Twitter NoSQL-enabled apps I’ve mentioned on the NoSQL blog — fortunately the consistent tagging helps, so you can find them all under the tag Twitter — but every time I’m finding a new one I feel like posting about it.
The author concludes with some Tokyo Cabinet lessons learned:
Lack of auto-expiration when using as mostly a key-value cache is annoying
Would definitely use it again for this type of task