摘要: rpm -Uvh http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm yum install postgresql94-server postgresql94-contrib /usr/p 阅读全文
posted @ 2017-12-19 15:56 nicye 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 1、将纯真版ip数据 xxx.data 导入至 redis(整个过程只花费了几秒) 引入nuget包 CSRedisCore,使用方法见:https://github.com/2881099/csredis 2、定义根据ip查询所在地的函数(单次查询效率在1ms以内) 阅读全文
posted @ 2017-12-19 10:23 nicye 阅读(586) 评论(0) 推荐(0) 编辑