Redis Pub Sub, somehow may sound weird that it provides such a functionality since when you think of Redis the first thing that comes to mind is of a cache key value store. But indeed Redis does allow us to use the messaging paradigm by using channels to publish messages and for subscribers to listen […]
I was invited to Sprott School of Business – Carleton University for an introduction to the class on Xamarin what Microsoft platform offers for mobile development. Below you will see my sides that were present by me and Ahmed Al-Assad a fellow MVP. A special thanks to Alex Ramirez for the invitation to speak to […]
Docker for .NET Developers Last week I was presenting at the Ottawa IT User Group for .NET Developers on Docker for .NET Developers. We covered what docker is, how it fits into microservices, overview of using docker as a .NET Developer etc Topics that we covered were What is Docker Images and Containers Docker vs […]
Redis HyperLogLog is used for calculating the cardinality of a set or non mathematically speaking it is a probabilistic data structure used to count unique values. Basically it is an algorithm that use randomization such that it can provide an approximation of the number of unique elements in a set by just using a constant […]
Json Web Token JWT have performance overhead? I wanted to find out if using jwt token during authentication of a web application creates any performance issue. But what are Jwt Tokens you may ask? JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information […]
I wanted to cover some security aspect of Redis, using Redis Password feature. Redis uses config file to provide a password for it. The config file is usually located at /etc/redis/redis.conf if you are using linux. Look for the SECURITY section.
1 |
requirepass taswar-foobared |
If you are using docker you can set the option when you start […]
I wanted to go through the process of Redis running in AWS ElastiCache, since we have already covered Docker, Azure and plain vanilla Redis on Linux Server. Redis in AWS is under the umbrella of ElastiCache, where they offer Redis and Memcached. There are different type of nodes offered by AWS ElastiCache: Standard Memory Optimized […]
In this post I wanted to go through the process of Redis running in Azure. Redis in Azure is called Azure Redis Cache. Azure offers a secure access to a dedicated Redis cache, which allows you to connect from any Azure applications. There are certain tiers that are offered in Azure Redis: Basic Standard Premium […]
Redis Hash Datatype are similar in C# world as Dictionary e.g Dictionary<string, string>. Just like in C# redis stores map of attributes using key value pair. One thing to note is in Redis a Hash both the field name and the value are strings. Therefore, a Hash Datatype is a mapping of a string to […]