GoEdge CDN v0.3.5 发布,实现缓存 LFU 算法、优化 IP 名单、增加迁移功能

Release, realize the cache LFU algorithm, optimize the IP list, and increase the migration function. It is a tool that can help you quickly build a CDN & WAF platform, supporting HTTP, HTTPS, TCP, TLS, UDP, IPv6, WAF and other features.
Realize the cache LFU algorithm, optimize the IP list, and increase the migration function. On the whole: faster: easily support millions of domain names, write cache using memory Buffer + regular flush to disk Save more: node configuration supports compressed transmission, saving more than 80% of bandwidth ; Node configuration generation is faster and easier: Provide a migration guide program to make the migration more easy and less anxious. The public IP list can be selected whether to be global or not, if it is global, it will be automatically applied to all services to increase view and retrieve all IP list function The IP in the IP list is added with information such as date, service, WAF policy, rule set, etc.?
Supports batch deletion of IPs in the IP list to achieve migration assistance (system settings-advanced settings-migration)
When the management platform is migrated, it will automatically jump to the confirmation page for confirming the API node address. SSH login supports domain name resolution. It can be deleted and restored. When a domain name has only one available API node, it is not allowed to delete to prevent system errors caused by accidental deletion. The certificate is not allowed to be deleted when it is used by the API node or user node. If you try to delete it, you will be prompted to automatically check during installation and fill in the compile-time deletion installed on the server. js.map file Bug fix and fix time Input component timestamp is always 1 second longer. Bug function Compress transmission when generating node configuration, reduce at least 80% configuration transmission bandwidth, optimize node configuration generation speed, and save 50% time on average for SSH login Support IP list API increase IP add time API cancel the check of the node clock, which means that if the node clock is inconsistent with the API node clock, you need to proofread by yourself. Delete the WAF policy and delete the service. Also delete the associated IP list. Add several API open source The node monitoring data is no longer running when the version is compiled, only 7 days (previously 100 days)
Bug fixes and fixes the list of services that cannot use digital search. Fixes the bug function that returns other certificates when users query certificates. The cache strategy implements the LFU algorithm. It can clean up cold data in time as needed. In the case of hard disk + memory cache, the memory cache is automatically flushed. To the disk, in some cases, the reason for skipping the cache is added. The IP list is recorded in the local database (sqlite), and it will not be read from the API the next time it is started. Increase the maximum number of elements in the IPSet to the IP range in the IPSet. Only D segment is supported. This is to prevent ipset from being filled up quickly. When an IP in the IP list is deleted, the WAF will also delete the IP in the IP list in the memory. The related nodes, services, and WAF policies will be saved when the IP is created. When the information is received, the extra slash (/) in the URL path is reserved. For example, // in the new version, it will not be automatically redirected to greatly improve the domain name matching performance, and support millions of domain names to easily match the corresponding service node configuration support The compressed format adds the task execution time tracking tool. You can use the bin/edge-node trackers to display the task execution time. Optimize the running log upload function. Recently, the N duplicates will not be uploaded. The running log shows the package name in the development environment to modify the API node. The address instruction, that is, the administrator can remotely modify the node’s API address access log through the instruction to simplify the requestId generation method, shorten the length from the previous 70-bit length to about 19-bit length, temporarily do not delete the redundant *.cache.tmp, just in case Optimized performance issues that occurred when the node was started. Optimized multiple error prompts when the reverse proxy source site is wrong. The complete URL is displayed. Some error prompts are only displayed once. Fixed a bug with multiple duplicate records, and fixed the problem that the RPC client management was not locked. Download: Document:

GoEdge是一款可以帮你快速构建 CDN & WAF 平台的工具,支持HTTP、HTTPS、TCP、TLS、UDP、IPv6、WAF等特性。

v0.3.5 实现缓存LFU算法、优化IP名单、增加迁移功能,整体上:
更快:轻松支持上百万域名、写缓存使用内存Buffer+定期Flush到磁盘
更省:节点配置支持压缩传输,节省80%以上的带宽;节点配置生成速度更快
更轻松:提供一个迁移引导程序,让迁移更多轻松,更少焦虑

EdgeAdmin

  • 功能
    • 公用IP名单可以选择是否为全局,如果是全局,则自动应用于所有服务
    • 增加查看、检索所有IP名单功能
    • IP名单中的IP增加添加日期、服务、WAF策略、规则集等信息
    • 支持批量删除IP名单中的IP
    • 实现迁移辅助功能(系统设置 – 高级设置 – 迁移)
    • 当迁移了管理平台后,自动跳转到确认API节点地址确认页
    • SSH登录支持Passphrase
    • 域名解析中可以删除和恢复某个域名
    • 只有一个可用的API节点时不允许删除,防止误删而导致的系统错误
    • 当证书被API节点或者用户节点使用时不允许删除,试图删除时将给予提示
    • 安装时自动检查并填入服务器上安装的MySQL
    • 编译时删除.js.map文件
  • Bug修复
    • 修复时间输入组件时间戳总是多1秒的Bug

EdgeAPI

  • 功能
    • 生成节点配置时进行压缩传输,至少减少80%的配置传输带宽
    • 优化节点配置生成速度,平均节约50%的时间
    • SSH登录支持Passphrase
    • IP名单API增加IP添加时间
    • API取消对节点时钟的检查,意味着如果节点的时钟和API节点时钟不一致,需要自行校对
    • 删除WAF策略和删除服务时同时也删除关联的IP名单
    • 增加若干个API
    • 开源版本编译时不再运行sql.sh
    • 节点监控数据只保留7天(先前是100天)
  • Bug修复
    • 修复服务列表无法使用数字搜索的Bug
    • 修复用户查询证书时返回其他证书的Bug

EdgeNode

  • 功能
    • 缓存策略实现LFU算法,可以根据需要及时清理冷数据
    • 实现在硬盘+内存缓存的情况下,自动将内存缓存Flush到磁盘
    • X-Cache Header在有些情况下加入跳过缓存的原因
    • IP名单记录在本地的数据库(sqlite)中,下次启动的时候不再全部从API读取
    • 增加IPSet中最大元素数量为1000000
    • 在IPSet中的IP范围现在只支持D段,这是为了防止ipset很快被填满
    • 删除IP名单中某个IP时,也会删除WAF保存在内存中的名单中的IP
    • IP名单中IP创建时保存相关节点、服务、WAF策略信息
    • 接收请求时保留URL路径中多余的斜杠(/),比如新版本中///hello,将不会被自动跳转到/hello
    • 大幅提升域名匹配性能,支持上百万域名轻松匹配到对应服务
    • 节点配置支持压缩格式
    • 增加对任务的执行时间追踪工具,可以使用bin/edge-node trackers显示任务执行时间
    • 优化运行日志上传功能,最近N条重复的不再上传
    • 在开发环境下运行日志显示包名
    • 实现修改API节点地址的指令,即管理员可以通过指令远程修改节点的API地址
    • 访问日志简化requestId生成方法,从先前的70多位长度缩短到19位左右的长度
    • 暂时不删除多余的*.cache.tmp,以防在节点启动的时候产生的性能问题
    • 优化多个错误提示
    • 反向代理源站错误时提示完整的URL
    • 有些错误提示只显示一次
  • Bug修复
    • 修复firewalld无法删除规则的Bug
    • 修复IPTables+IPSet组合时在IPTables中生成了多个重复记录的Bug
    • 修复RPC客户端管理没有加锁的问题

下载:https://goedge.cn/downloads
文档:https://goedge.cn/docs

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注