Posts

Showing posts from September, 2022

Simple In-Memory Caching in .Net with Apache Ignite

Image
  In the Last Post we have seen how to setup Apache Ignite Server as an independent process  . Now we will see how to use the Apache Ignite as an In-Memory Cache in .NET. We will see through an example how to write Clients which knows how to talk with the Apache Ignite Server. Installing Necessary Nuget Packages Before starting off we have to install Apache.Ignite  NuGet package to the Console Application that we have created which is required to enable Apache Ignite functionality. This can be installed through Visual studio "Manage NuGet Packages" tool. Once the NuGet package is installed for the project we have to write clients which can access the Apache Ignite cache store to "Put" and "Get" data. Basically Apache Ignite will store the data as Key Value Pair. Code to access the cache from the client is shown below: Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 using Apache.Ignite.C...

How to Setup Apache Ignite Cache in Windows Easily?

Image
Apache Ignite is a distributed in-memory computing platform that provides high-performance and scalable caching capabilities. It enables users to store large amounts of data in memory, reducing access latency and improving overall system performance. In this blog post, we will guide you through the process of setting up Apache Ignite cache on a Windows machine. Here we are going to see in a step by step manner how to Setup Apache Ignite in a Windows Machine. Setup Apache Ignite Install Java Runtime in the machine if it does not have one from the site  : Java . Once its installed Set the Environment variable JAVA_HOME in Edit Environment Variable Dialog as shown below: Download the latest version of Apache Ignite Binaries from the site : Apache Ignite . For this Demo we will download the version 2.13.0. Binaries will be downloaded in a compressed format. Extract the binaries and navigate to the path :  \apache-ignite-2.13.0-bin\bin. To launch the Apache Ignite Cluster run the...