在redis.c的initServerConfig()方法中,通过调用dictCreate方法初始化server端的命令表.这个命令表是一个hashtable,可以通过key找到相关的命令: /* Command table -- we initiialize it here as it is part of the* initial configuration, since command names may be changed via* redis.conf using the renam…