You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Garnet uses different approaches to persist data, Therefore you should use Aspire.Hosting.Garnet.
And I was wondering if Aspire.Hosting.Garnet has any plans to add dashboard options like RedisInsight or RedisCommander.
I'm not sure RedisInsight is compatible with Garnet. Have you tried using RedisInsight to connect to Garnet (outside of Aspire, e.g., using docker-compose)?
I could send PR for that if RedisInsight is compatible with Garnet.
@Alirexaa , First of all, thank you for your answer.
Why do you use Aspire.Hosting.Redis instead of Aspire.Hosting.Garnet?
The answer to the above question is as follows.
I watched the tutorial uploaded to YouTube and followed it. He used Garnet images while using Aspire.Hosting.Redis
After that, I found out that Aspire.Hosting.Garnet exists. But as I asked above, I wanted to use Dashboard, so I wanted to use Aspire.Hosting.Redis
I'm not sure RedisInsight is compatible with Garnet. Have you tried using RedisInsight to connect to Garnet (outside of Aspire, e.g., using docker-compose)?
I'm not exactly sure about this question. I haven't tested it outside of Aspire by connecting Garnet and RedisInsight. However, I applied the Garnet image to Aspire.Hosting.Redis and WithRedisInsight. When I used commands like set and get on the Dashboard, it worked fine and I don't think Garnet and RedisInsight were exactly compatible because it was a very simple test.
In conclusion, I'm not arguing that "Aspire.Hosting.Redis should support Garnet." I found a problem with a situation found during the testing process, and I wanted to communicate this situation.
Now I know that if I have to use Garnet, I have to use Aspire.Hosting.Garnet.
I tried to use Garnet image on Aspire.Hosting.Redis as follows.
It runs normally and well. However, if you try to set the volume or mount for persistence, it will cause problems.
I refer to the execution log and the source code, I think the cause of the problem is that Garnet does not support the
-- save
optionsrc/Aspire.Hosting.Redis/RedisBuilderExtensions.cs
Of course, the above issue will be easily resolved by
not using Garnet images
or byusing Aspire.Hosting.Garnet
instead of Aspire.Hosting.Redis.But I think I can face the above problem situation because I know garnet is compatible with redis.
Anyway, if I want to use Garnet for now, would it be best to use Aspire.Hosting.Garnet?
And I was wondering if Aspire.Hosting.Garnet has any plans to add dashboard options like
RedisInsight
orRedisCommander
The text was updated successfully, but these errors were encountered: