hedis
hedis copied to clipboard
Hedis can retrieve data from **ANY** database directly via Redis
To test the compile result, I try reduce the hedis.yml as follow. > mysqltest: > type: mysql > username: root > password: MY_PASSWORD > host: localhost > database: hedistest >...
Would you like to add more error handling for return values from functions like the following? - [fclose](http://pubs.opengroup.org/onlinepubs/9699919799/functions/fclose.html) ⇒ [parse_hedis_config](https://github.com/hedisdb/hedis/blob/1a2ca7b4231fd8c3aa1db20f680c8ebe00100e26/src/hedis.c#L250) - [malloc](http://pubs.opengroup.org/onlinepubs/9699919799/functions/malloc.html) ⇒ [build_connector](https://github.com/hedisdb/hedis/blob/1a2ca7b4231fd8c3aa1db20f680c8ebe00100e26/src/hedis.c#L46)
The function "[exit](http://pubs.opengroup.org/onlinepubs/9699919799/functions/exit.html)" does not belong to the list of [async-signal-safe functions](https://www.securecoding.cert.org/confluence/display/c/SIG30-C.+Call+only+asynchronous-safe+functions+within+signal+handlers). I guess that a different program design will be needed for your function "[sigShutdownHandler](https://github.com/hedisdb/hedis/blob/1a2ca7b4231fd8c3aa1db20f680c8ebe00100e26/src/redis.c#L3534)".
If I use `SET "cdh1://User@kewang" "{\"cf:token\": \"001token001\"}"`, it would put JSON value to DB. Pay attention to various DB data format
Let users easy to use hedis
When I ran benchmark over 10000 current connections, it maybe has memory leak situation.
Hedis is based on Redis unstable branch. I think that should support old Redis version.
If I load same type twice or more, always become latest variables. Like `cdh1` and `cdh2`: ``` yaml cdh1: type: hbase zookeeper: localhost:2181 extra: aaa cdh2: type: hbase zookeeper: localhost:2181...