dms
dms copied to clipboard
基于Json Schema的动态Json数据配置平台
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. Commits c74c8af 1.3.7 024b8b5 update deps, add linting 032fbaf Use Object.create(null) to avoid default object property hazards 2da9039 1.3.6 cfea636 better git push script,...
数据的缓存
个人认为单独的数据缓存使用redis是不行的,就像您说的那样如果数据量比较大,redis集群有限的话,就会导致数据库压力比较大,之前我也有写过类似的静态配置平台,也出现相同问题并考虑过数据的缓存方案,总结了一点,可以把数据缓存分类型,分等级去做,可以将数据类型分为多种,界面上可以选择,比如数据量大小,数据请求量是否频繁,如果数据量比较大,并且不频繁就不适合redis, 缓存策略,比如返回304状态,比如做CDN,比如将数据JSON静态化存储,如果数据量小的话存redis没问题,但是要配置适当的缓存时间,还要区分数据是否频繁,是否经常不变动的数据,就可使用浏览器缓存,redis也可以不存储数据,存储数据更新时间,校验数据数据时间返回304状态,还可以做多级换存策略,先判断是否是缓存时间不变返回304,二级是redis数据缓存,如果时间改变redis获取,如果resis没有,json静态获取,如果再没有就数据库读取,但是都需要做数据的区分,数据量大小,数据的频繁性,最好是单个数据可以界面单独配置缓存策略,重点是数据改变一定要清楚缓存,这个只是我个人见解
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.18.0 to 1.18.1. Changelog Sourced from http-proxy's changelog. v1.18.1 - 2020-05-17 Merged Skip sending the proxyReq event when the expect header is present [#1447](https://github.com/http-party/node-http-proxy/issues/1447) Remove node6 support,...
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. Changelog Sourced from websocket-extensions's changelog. 0.1.4 / 2020-06-02 Remove a ReDoS vulnerability in the header parser (CVE-2020-7662, reported by Robert McLaughlin) Change license from...
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.28 to 0.5.37. Release notes Sourced from moment-timezone's releases. 0.5.34 Updated data to IANA TZDB 2021e Release 0.5.33 Updated data to IANA TZDB 2021a Release 0.5.32 Updated...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...
Bumps [qs](https://github.com/ljharb/qs) from 6.9.3 to 6.9.7. Changelog Sourced from qs's changelog. 6.9.7 [Fix] parse: ignore __proto__ keys (#428) [Fix] stringify: avoid encoding arrayformat comma when encodeValuesOnly = true (#424) [Robustness]...
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2. Release notes Sourced from express's releases. 4.18.2 Fix regression routing a large stack in a single route deps: [email protected] deps: [email protected] perf: remove unnecessary...
Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) from 8.5.1 to 9.0.0. Changelog Sourced from jsonwebtoken's changelog. 9.0.0 - 2022-12-21 Breaking changes: See Migration from v8 to v9 Breaking changes Removed support for Node versions 11...