Skip to content
  • Blog
  • Events
  • Help
  • Careers
  • Contact
New Signature
  • About
      • Company

        Cognizant Microsoft Business Group is dedicated to changing the way businesses innovate, transform and run based on a unique cloud operating model. You will now be redirected to our new microsite to learn more.

        View Company

      • Awards

        As a company, we are regularly recognized within the IT industry as well as the communities we serve.

        View All Awards
      • News

        Read the most up-to-date corporate announcements, Microsoft technology updates, innovative business solutions and learn more about how the Cognizant Microsoft Business Group can take your business even farther.

        View News

      • Partners

        New Signature works with a number of outstanding technology companies to deliver the best experiences to our customers.

        View Partners
      • Leadership

        Cognizant Microsoft Business Group’s executive team is comprised of innovative leaders with proven experience and deep industry expertise. You will now be redirected to our new microsite to learn more.

        View Leadership

      • Industries

        Our solutions are tailored to empower organizations across a wide range
        of industries.

        View Industry Experience
    Close
  • Solutions
      • Intelligent Enterprise
        Solutions

        Going Digital
        Unleash cloud capability, deliver change and compete at speed with a Microsoft digital operating model, enabling you to work more efficiently as you transform your IT environment. Learn More

      • Featured Solution

        Secure Cloud
        In a world of constant threat, ensuring that your underlying cloud platform is protected is the first step on your organization’s journey towards a secure, compliant operating environment. Learn More
      • Intelligent Workplace
        Solutions

      • Secure Workplace

        Work Anywhere

        Endpoint Health

        Identity Health

        Teamwork Support



        VIEW WORKPLACE SOLUTIONS
      • Intelligent Cloud
        Solutions

      • App Factory

        Azure Accelerator

        Azure Launchpad

        Azure Launchpad for DevOps

        Application Health

        Platform Health

        VIEW ClOUD SOLUTIONS
    Close
  • Services
      • Begin your journey towards becoming a digital business with GO, our unique end-to-end framework based on the Microsoft Cloud Adoption Framework.

        GO DIGITAL OPERATING MODEL
      • Intelligent Enterprise

      • Consulting

        We go beyond just technology to help your organization understand how digital can help you uniquely differentiate and better serve your employees and customers.

        VIEW ENTERPRISE SERVICES
      • Intelligent Workplace

        • Identity

          Identity is your new first-line-of-defense. It’s vital to your users and clients that your identity platform is properly configured and secured.

          Endpoint

          Whether your devices are on-premises or remote, personal or business-owned, we can ensure they are properly managed and protected.

          Teamwork

          Today’s workforce is collaborating than ever before.  We can empower your current teams with tomorrow’s progressive technologies.

          VIEW WORKPLACE SERVICES
        • Intelligent Cloud

          • Platform

            The cloud is no longer some future-state. It’s the here and now. Adopting a cloud-first platform is one of the best ways to maintain a future-proofed competitive advantage.

            Applications

            We build cloud-native apps and modernize legacy systems with the power of Azure to give your organization a competitive edge.

            Data

            We can help your organization create secure, scalable data platforms to deliver simpler and more sophisticated insights to your business.

            VIEW CLOUD SERVICES
        Close
      • Client Stories
          • Case Studies

            Browse a comprehensive list of companies who have created successful partnerships and experienced transformative solutions with New Signature.

            View All Case Studies

          • Featured Case Study TalkTalk Modern Workplace

            New Signature worked with TalkTalk to define a new Modern Workplace solution based on Microsoft 365, which kept the user firmly at the center of the transformation.
            View Case Study

          • Testimonials

            We love transforming our customers businesses, take a look at what they have to say about New Signature.

            View Testimonials

          • Featured Testimonial Davis Construction

            With New Signature’s help, Davis was able to take a progressive step forward by migrating their private branch exchange (PBX) phone system to a Voice of Internet Protocol (VoIP) system.
            View Testimonial

        Close
      • Explore
          • Guides & Ebooks

            Dive deeper into education with your team by leveraging our expert-developed guides and eBooks.

            View All Guides & Ebooks

          • Infographics

            Rich with statistics and information, our infographics are great tools for quick but insightful learning.

            View All Infographics
          • Podcast: Office Explorers

            Join Kat and Rob monthly as they chat with New Signature experts and explore the world of O365.

            Listen to Podcasts

          • Videos

            Visit our videos stream to access recorded webinars, service information and to learn more about us.

            WATCH ALL VIDEOS
          • Flyers

            Searching for information about our services? Our flyers are a great takeaway for all those details.

            VIEW ALL FLYERS

          • Featured Stream

            Learn more about the tooling and expertise required to unlock productivity and mobilize your teams.

            MODERN WORKPLACE
        Close
        Close
      Blog

      Redis Cache On Azure and Why

      New Signature / Blog / Redis Cache On Azure and Why
      February 1, 2017| Brian Hall
      • Facebook
      • Twitter
      • LinkedIn
      • Print
      Azure Portal

      In today’s world of distributed applications, having a cache solution that can scale with an application is a prerequisite for success. Caching in the AspNet world has typically been tied to the Application Pool and accessed through the HttpContext.Current.Cache object. When the Application Pool was recycled, so too was the cache. When moving a web application to the cloud (be it Azure or any other cloud vendor) this can be problematic due to the transient nature of cloud applications. When you move your web application to a different Azure App Service or virtual machine, be it for deployment purposes or otherwise, that cache is no longer there and, in many cases, it can be vital for the cache to survive that transition to ensure no downtime.

      Enter Redis

      Redis is an advanced key-value store which runs as a stand alone application/service on either Linux or Windows. It runs completely from memory and has the ability to persist the data to a separate permanent storage location. Clients, such as your web application, connect to it over HTTP/HTTPS and leverage it as a cache solution or a general data store. Since Redis is a separate stand-alone service it does not rely on the availability of your web application for its life-cycle management.

      More Than a Cache

      The “advanced” part of the description is speaking to the ability of Redis to hold the values as complex types. Redis has the ability to hold values for the several data types. These data types allow for advanced scenarios of caching while keeping the interaction with this data very fast. The data types most often used are as follows:

      • String (Binary Safe – meaning that they are consistently stored whether being encoded on a Windows machine or a Linux machine)
      • Hash (a set of name-value pairs – think of it as a cache within Redis but it lives within one single Redis key/value entry)
      • List (Implemented as a Linked List – great for adding and removing to the beginning or end of the list but not for accessing directly by index like a random access would allow)
      • Sets (an unordered collection of strings which allow operations to be applied between different Sets in Redis, like unions, intersections, or differences)
      • Sorted Set (Just like a Set but with an added “score” property which allows for the collection to be ordered)

      Something that isn’t necessarily a data type but lends itself to the “advanced” moniker is the fact that Redis also has a built-in Pub/Sub mechanism.

      Works Across Network and Device Boundaries

      Since Redis is a stand-alone service, it can be leveraged across several different network boundaries and device topologies. This is great for web applications that have the need to be scaled out (i.e. multiple web servers behind a load balancer). It’s also beneficial when used with an application that has been deployed as a collection of micro-services. All the individual micro-services can share the same cached data which allows for a more consistent real-time data sharing experience. Also, since Redis has a built-in Pub/Sub mechanism, the individual micro-services can leverage Redis for fast, inter-service communication.

      Persisting Data

      While Redis runs completely in memory it has the ability to persist that data to disk or some other persistent data store location. This allows for data to be available after events such as a server failure or restart. You can also take that data and restore it to another Redis instance somewhere else.

      Running During Development

      Redis can be installed locally on Windows, Mac, or Linux. This allows for developers to have a local instance to develop against and limit the need for a centralized Redis server for developers.

      Availability on Azure

      monitor-cacheRedis is available as a service on the Azure platform with options for several different usage tiers. You can also setup your own Redis instance on an Azure VM. The advantage of the Azure Redis-as-a-Service offering is the added management capabilities. Things like revoking or renewing access keys, setting the max-memory policy, data import/export, usage metrics, and much more. When running on a VM, one would have to manually set that up.

      Choosing Redis

      Using Redis as the cache solution for any application is a pretty straight forward choice and an easy one to make at that.

      Categories
      Tips and Tricks
      Contact New Signature

      Events

      May 05

      How to Modernize Your Business Process Automation – Webinar

      May 5 @ 10:00 am - 11:00 am EDT

      View More

      New Signature
      New Signature HQ
      901 K Street NW, Suite 450
      Washington, DC 20001
      Phone: 202-452-5923
      New Signature Canada HQ
      7th Floor, 5140 Yonge Street
      Toronto, ON M2N 7J8
      Phone: 416-971-4267
      New Signature UK HQ
      57 Bermondsey Street
      London SE1 3XJ
      Phone: +44 (0) 845-402-1752

      About

      • Company
      • Awards
      • News
      • Leadership
      • Partners
      • Industries

      Solutions

      • Intelligent Enterprise Solutions
      • Intelligent Workplace Solutions
      • Intelligent Cloud Solutions

      Services

      • GO
      • Intelligent Enterprise
      • Intelligent Workplace
      • Intelligent Cloud

      Client Stories

      • Client Stories
      • Testimonials

      Explore

      • Guides & Ebooks
      • Podcasts
      • Flyers
      • Infographics
      • Videos
      Copyright © 2021 New Signature
      • Blog
      • Events
      • Careers
      • Help
      • Anti Slavery
      • Privacy Policy
      • Contact
      • About
        • Company
        • Awards
        • News
        • Leadership
        • Partners
        • Industries
      • Services
        • GO
        • Intelligent Enterprise
        • Intelligent Workplace
        • Intelligent Cloud
      • Client Stories
        • Case Studies
        • Testimonials
      • Technologies
      • Explore
        • Guides & Ebooks
        • Infographics
        • Podcast: Office Explorers
        • Videos
        • Flyers
      • Blog
      • Events
      • Careers
      • Contact
      • Search
      Cookie Settings
      New Signature uses "Required Cookies" to run our website, "Functional Cookies" used by third parties to personalise marketing, including social media features.

      Change your preferences by clicking the “Cookie Settings” link at the bottom of every page. Learn more about cookies in our Cookie Policy and our Privacy Policy. By clicking the “Accept Cookies” button below, you consent to our use of cookies.

      Please note that “Required Cookies” will be set regardless of your consent.
      Cookie SettingsAccept Cookies
      Privacy & Cookies Policy

      Privacy Overview

      This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
      Performance

      Performance Cookies provide Content Delivery Network assets that deliver faster site content delivery capabilities.

      Required

      These cookies are required mainly in order to deliver Multilanguage site capabilities.

      Functional

      Functional Cookies allow us to provided advanced media capabilities including videos, surveys and other multimedia capabilities.

      Disabling Functional cookies will block the playing of videos and other multimedia site components.

      Targeting

      Targeting Cookies are used to capture user information in order for New Signature to deliver better user experiences.

      Save & Accept