HoneyMap的hpfeeds-cleint命令行使用方法

作者:糖果

hpfeeds-client是一个Python写的客户端程序。

第一种是在世界地图上,点亮一个点:

hpfeeds-client --host localhost  -p 10000 -i honeymap -s cfdd6a68be69464666ae60b66dae69f6 -c geoloc.events publish "{countrycode:'NA', latitude:37.7749, longitude:-122.4194, city:'San Francisco'}"

另一种是在世界地图上,点亮二个点:

hpfeeds-client --host localhost  -p 10000 -i geoloc -s cfdd6a68be69464666ae60b66dae69f6 -c geoloc.events publish 
'{"countrycode":"NA", "latitude":37.7749, "longitude":-122.4194, "city":"San Francisco","countrycode2":"NA", "latitude2":37.7749, "longitude2":50.4194, "city2":"Bei Jing"}'

糖果

糖果
LUA从入门到放弃

服务器大负载情况下客户端出现Connection reset by peer

服务器大负载情况下客户端出现Connection reset by peer Continue reading

Nginx+Lua中文WIKI

Published on March 14, 2019

F5收购Nginx

Published on March 12, 2019