Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Redis on Windows: Getting Started

35 minutes, 21 seconds


Right click “Save as…”

Redis is an open-source in-memory networked key/value store that has been very popular in the Linux community and is now available for Windows developers as well, via a Windows version from Microsoft Open Technologies, Inc. In this screencast, MS Open Tech lead evangelist Doug Mahugh covers how to install Redis on Windows, the basics of key Redis features, and how to write software that takes advantage of Redis on Windows. The demo app is written in Python, using the free download of Python Tools for Visual Studio.

Redis occupies a unique niche in the OSS database landscape, offering high performance (due to its in-memory architecture and its highly optimized code base) combined with a set of simple commands that can be composed to address complex data-modeling scenarios. Common Redis use cases include caching, activity tracking, realtime analytics, and data-driven interactive features such as autocomplete and search histories. At a high level, Redis can be viewed as a technology for sharing memory across the web, so that a server can offer much faster performance than would otherwise be possible using its own RAM alone. For some ideas about how to use Redis, see Salvatore Sanfilippo's blog post How to take advantage of Redis just adding it to your stack.

If you're new to Redis, or didn't know it was available on Windows, this screencast is the place to start. It's the first in a series, and future screencasts will cover working with Redis on Windows Azure and other more advanced topics.

 Related links:

Table of Contents


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • s ms m

    awesome screencast & demo!

  • Thanks for the tutorial, most helpful. I've just got one question with the demonstration right at the end of the pubsub on sine wave. The listening client was quite noisy (some gaps and some unexpected peaks also) even though the example was run locally.

    I'm guessing the issue is that the python script is being run as fast as possible.

    If the loop was run on a timer the machine / python interpreter could sustain, then the listener wouldn't have this problem ? or am I missing something else going on.

  • I'm not sure how to explain those spurious bits of noise in the pattern, actually. I never saw that (they were always a smooth sine wave) the first few times I ran the program. Then it started happening, and I thought it was because I had a few other things running at the same time, but even after shutting down other processes it was still happening. There's a time.sleep(.01) in the loop, so it's only doing 100 reps a second.

    I'll try capturing the output to a Redis list and take a close look at the numbers, will post here what I find.

  • Hi Doug, apologies I could have thought to rewind the video and see the timer you put in python code. Be interesting to know that it performs flawlessly when run very slowly, maybe to help confirm what is happening. Anyway, look forward to the next episode.




Remove this comment

Remove this thread


Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.