Snapchat / KeyDB

A Multithreaded Fork of Redis
https://keydb.dev
BSD 3-Clause "New" or "Revised" License
11.27k stars 570 forks source link

Do you need GUI? #12

Closed topilski closed 3 years ago

topilski commented 5 years ago

Hi, do you need gui for KeyDB?

JohnSully commented 5 years ago

You create FastoRedis right?

We have some new features in the pipe that definitely could use a GUI. The obvious first one is an image data type we are working on - would be great to actually see a thumbnail.

We could also expose data on load and threads if that makes sense to visualize.

topilski commented 5 years ago

Yes, FastoRedis it is part of FastoNoSQL , it simple to add driver based on hiredis. Yes i think it is possible, how to receive threads count? Or get threads info from server?

JohnSully commented 5 years ago

I've added the following information to the INFO command in change ac80a5c6a.

Under the CPU section

server_threads: Pretty straight foward, the number of threads server threads from the configuration file.

long_lock_waits: This is used to diagnose cases where CPU cycles are being wasted in locks (e.g. if KeyDB is configured with too many threads). A large value here suggest the number of server threads should be reduced. This number increments monotonically from the start of the process.

Under the Clients Section thread_N_clients:[Num clients] e.g. thread_0_clients:2 thread_1_clients:0

This shows the distribution of clients to threads.

As I mentioned before - when we get our image feature up this will be improved with proper GUI support so I'm really interested in working with you on that one. If you think of any other stats that might be interesting let me know and I can add support for them.

topilski commented 5 years ago

To start implementation i need logo for your db, and list of command which KeyDB support.

topilski commented 5 years ago

I think can be used Redis driver, but need to change icon and remove modules support, KeyDB have sentinels, clusters?

Screenshot from 2019-03-19 22-31-07

JohnSully commented 5 years ago

Yes KeyDB supports every Redis feature and is fully compatible with everything that supports Redis 5 including modules, sentinels, clusters, etc. Our goal is to add more features not take any away :)

HiRedis will work, however the version compiled in our tree will begin to have support for new features as we add them. I guess we'll have to rename it at some point to HiKeyDB.

KeyDB's logo is currently this cloud logo

JohnSully commented 5 years ago

Also we have a wider logo: logo

topilski commented 5 years ago

@JohnSully thank you for description. You have cool project!

topilski commented 5 years ago

Hey @JohnSully why default port is 6379?

JohnSully commented 5 years ago

It’s inherited from Redis. In general keyDB is a superset of Redis.

topilski commented 5 years ago

Ok, here branch where i start development for KeyDB https://github.com/fastogt/fastonosql_core/tree/keydb_api

topilski commented 5 years ago

Done: keydb_first

I need to do some tests and merge it to master.

topilski commented 5 years ago

@JohnSully i released FastoNoSQL with KeyDB support.

JohnSully commented 5 years ago

This is awesome! I can't wait to get this image feature out, its going to work great with your GUI.

topilski commented 5 years ago

@JohnSully you are welcome, will wait your feedback. Also we added links on our website. Thank you for great project!