为什么`memcached_servers`在地址前面没有`http://`?

时间:2017-06-30 02:40:19

标签: openstack openstack-glance

/etc/glance/glance-api.conf中,为什么memcached_servers在地址前没有http://,您会看到auth_uriauth_url都有。{ / p>

[keystone_authtoken] 
#... 
auth_uri  =  http:// controller:5000 
auth_url  =  http:// controller:35357 
memcached_servers  =  controller:11211 
auth_type  =  password 
project_domain_name  =  default 
user_domain_name  =  default 
project_name  =  service 
username  =  glance 
password  =  GLANCE_PASS

1 个答案:

答案 0 :(得分:0)

大概是因为他们不通过http进行交流?

https://github.com/memcached/memcached/blob/master/doc/protocol.txt

Memcache似乎通过TCP通过自定义协议进行通信。

https://github.com/memcached/memcached/wiki/BinaryProtocolRevamped