摘要: gps行业内最难是服务器网关稳定性以及数据库入库能力 行业内单台服务器能同时在线三万台设备算可以了。一般水平的开发五千到一万台设备服务器就扛不住了。 本人 C# 采用成熟框架开发 单台服务器十万(已真实环境验证 网关接收 入库毫无压力) 分布式服务器群组百万(虚拟环境模拟测试无压力) 1.808 接 阅读全文
posted @ 2020-12-04 10:08 bug123456 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 命令: cmd cd nginx 目录 start nginx 启动nginx -s quit 有序停止nginx -s stop 强制停止nginx -s reload 重新加载配置文件 #user nobody;worker_processes 1; #error_log logs/error. 阅读全文
posted @ 2019-07-16 10:20 bug123456 阅读(1496) 评论(0) 推荐(0) 编辑
摘要: USE BKMGPS; --指定要生成数据字典的数据库GOSELECT 表名 = CASE WHEN a.colorder = 1 THEN d.name ELSE '' END , 表说明 = CASE WHEN a.colorder = 1 THEN ISNULL(f.value, '') EL 阅读全文
posted @ 2019-07-15 19:03 bug123456 阅读(257) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,u 阅读全文
posted @ 2019-07-05 14:13 bug123456 阅读(534) 评论(0) 推荐(0) 编辑
摘要: select 'drop table '+name+';' from sys.tables where name like 'B111%' select 'BKM'+SystemNo from b.[dbo].[b] where 'BKM'+SystemNo not in (select name 阅读全文
posted @ 2019-06-12 09:46 bug123456 阅读(189) 评论(0) 推荐(0) 编辑
摘要: ///验签绑定公众号的时候,有回复信息的入口<br>public void ProcessRequest(HttpContext context) { string postString = string.Empty; if (HttpContext.Current.Request.HttpMeth 阅读全文
posted @ 2019-06-11 14:22 bug123456 阅读(195) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Web; using TalentCloud.Base.Utils; using System.IO; using System.Text; 阅读全文
posted @ 2019-06-11 14:17 bug123456 阅读(941) 评论(0) 推荐(0) 编辑
摘要: SQL优化方法: 1、查看连接对象 SELECT TOP 10[session_id],[request_id],[start_time] AS '开始时间',[status] AS '状态',[command] AS '命令',dest.[text] AS 'sql语句', DB_NAME([da 阅读全文
posted @ 2019-05-29 12:02 bug123456 阅读(355) 评论(0) 推荐(0) 编辑
摘要: [Required(ErrorMessage ="用户名称不能为空")]--必须输入 [StringLength(50),MinLength(3)]--最大长度50最小长度3 [RegularExpression(@"")]--正则表达式 [Compare("Age")]--验证2个属性值一样 // 阅读全文
posted @ 2019-04-23 14:03 bug123456 阅读(160) 评论(0) 推荐(0) 编辑
摘要: /** * 各地图API坐标系统比较与转换; * WGS84坐标系:即地球坐标系,国际上通用的坐标系。设备一般包含GPS芯片或者北斗芯片获取的经纬度为WGS84地理坐标系, * 谷歌地图采用的是WGS84地理坐标系(中国范围除外); * GCJ02坐标系:即火星坐标系,是由中国国家测绘局制订的地理信 阅读全文
posted @ 2019-04-17 13:24 bug123456 阅读(665) 评论(0) 推荐(1) 编辑