1
votes

I am loving Apache Ignite particularly as distributed caching. However I have realised that the tooling is not as good.

I am looking for a simple desktop tool to be able to view and search the cache for values etc something similar to Redis Deskop Manager

I am in WINDOWS environment. My google searches has returned "DBeaver" which I have downloaded and configured but doesn't show my cache key values. The other one has been "Web Console" though this is a web based and I prefer some desktop thing - Not sure if I can install this locally?

Anything else around?

much appreciated.

2
Questions on professional server- or networking-related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. You may be able to get help on Server Fault.tambre

2 Answers

2
votes

I think the closest you can get is LINQPad + .NET Thin Client. Ignite NuGet package actually includes LINQPad sample to get first 5 items from every cache in cluster and display them, you can modify it to your needs.

This approach requires some coding, but is quite flexible with LINQ capabilities and rich API at your disposal, plus LINQPad data display features.

Sample code:

var cfg = new IgniteClientConfiguration { Host = "127.0.0.1" };
using (var client = Ignition.StartClient(cfg))
{
    // Create cache for demo purpose.
    var fooCache = client.GetOrCreateCache<int, object>("thin-client-test").WithKeepBinary<int, IBinaryObject>();
    fooCache[1] = client.GetBinary().GetBuilder("foo")
        .SetStringField("Name", "John")
        .SetTimestampField("Birthday", new DateTime(2001, 5, 15).ToUniversalTime())
        .Build();

    var cacheNames = client.GetCacheNames();
    "Diplaying first 5 items from each cache:".Dump();

    foreach (var name in cacheNames)
    {
        var cache = client.GetCache<object, object>(name).WithKeepBinary<object, object>();
        var items = cache.Query(new ScanQuery<object, object>()).Take(5)
            .ToDictionary(x => x.Key.ToString(), x => x.Value.ToString());

        items.Dump(name);
    }
}
```
0
votes

GridGain has GUI tool which allows you connect to your grid, peek into caches, as well as many more things.

It is a part of commercial offering, but will connect to Apache Ignite grids.