zinx

A lightweight concurrent server framework based on Golang.

MIT License

Stars
7K
Committers
58

Bot releases are visible (Hide)

zinx - v1.2.6 Latest Release

Published by aceld 2 months ago

What's Changed

  • fix(connection): Move close msgBuffChan to the write side to avoid sending to a closed channel.
    修复(连接): 将关闭 msgBuffChan 的操作移动到写入端,以避免向已关闭的通道发送消息。
    by @GStones in #321

  • 增加kcp-go的 fec配置
    Added FEC configuration for kcp-go
    by @luodaoyi in #322

  • fix(decoder): Move decoder to interceptor head
    修复(解码器): 将解码器移至拦截器头部
    by @GStones in #325

  • Upgrade golang.org/x/net to version 0.23.0
    升级 golang.org/x/net 到版本 0.23.0
    by @aceld in #328

  • Bump google.golang.org/protobuf from 1.26.0 to 1.33.0
    google.golang.org/protobuf 从 1.26.0 升级到 1.33.0
    by @dependabot in #329

  • connection isClose 方法判断,防止 c.ctx 不存在导致程序 panic
    Added isClose method check in connection to prevent program panic when c.ctx is absent
    by @yunxi177 in #330

New Contributors

Full Changelog: https://github.com/aceld/zinx/compare/v1.2.5...v1.2.6

zinx - Zinx v1.2.5 (Stable)

Published by aceld 6 months ago

Update

  • LICENSE:GPL3.0 -> MIT https://github.com/aceld/zinx/commit/692cfcf1f3ee0730f624b8089b34e369ca8d80dc
  • Add a new module called RequestPool. (新增RequestPool模块) #312
  • Refactor verifyLogIsolation() for a more concise expression.(重构 verifyLogIsolation() 以获得更简洁的表达式) #287
  • Change SendBuffMsg() to SendToQueue() #295
  • Add several configuration options for setting up KCP connections. (新增若干配置项用于设置KCP Connection) #299
  • In an independent coroutine, addclosecallback() can add any number of callback methods to conn, and execute them in the order they were added when conn.stop() is called.(独立协程中,addclosecallback()可为conn添加任意个回调方法,并在conn.stop时按添加顺序执行) #301
  • Update the way of cyclically registering HeartBeat routes. (更新循环注册HeartBeat路由的方式) #304
  • The management of Request objects is changed to be handled by a sync pool object pool, and the usage of Request context is enhanced. (Request 对象改由sync pool 对象池管理,并且增强 Request 上下文使用) #305
  • When WebSocket starts, console prompts.(websocket 启动时,控制台提示) #311
  • Remove unnecessary info logs.(去除不必要的info日志) #314

Fix

  • Fix [Panic]: send on closed channel. (修复极端大流量情况偶现写管道Panic错误) #318 #319
  • Fix routerSlice deep copy.(修复routerSlice路由配置深拷贝问题) #294
  • Fix go protobuf v1.26 msg.pb.go compatibility. #306
  • Fix Request read-write lock to the lock itself instead of a pointer, reducing null safety risks. (修正Request读写机制,防止空指针风险) #307
  • Fix htlv MaxFrameLength. https://github.com/aceld/zinx/commit/879a33e3e3f9f1e9c6e8cc85e88bfddc53693cd9
zinx - Zinx V1.2+

Published by aceld 10 months ago

Update

  1. KCP Protocol Support (KCP快速UDP协议支持) https://github.com/aceld/zinx/pull/256
  2. Shard lock Map (部分model 互斥升级为Shard lock) https://github.com/aceld/zinx/pull/250
  3. Connection with CAS (Connection模块部分协程同步采用CAS机制) https://github.com/aceld/zinx/pull/285
  4. Use env replace flag(环境变量ENV模式取代flag模式)https://github.com/aceld/zinx/pull/280
  5. Reduce buffer allocation times to improve efficiency(减少缓冲区分配时间以提高效率) https://github.com/aceld/zinx/pull/258
  6. golangci-lint Support https://github.com/aceld/zinx/pull/237
  7. Make the hash algorithm in shardLock more abstract https://github.com/aceld/zinx/pull/273
  8. Lowest go version 1.17 (兼容最低go版本1.17) https://github.com/aceld/zinx/pull/276 https://github.com/aceld/zinx/pull/278

Fix

  1. Fix userWorker client divide 0 https://github.com/aceld/zinx/pull/263
  2. Fix panic error when writing to an empty channel. (解决connection模块写时,出现往空的channel写的panic错误) https://github.com/aceld/zinx/pull/286
  3. Fix the problem of incompatibility between heartbeat and new routing(修复心跳和新路由不兼容的问题 )https://github.com/aceld/zinx/pull/226
zinx - 新增日志存储策略-压缩

Published by xxl6097 over 1 year ago

1、按照天进行日志分割;
2、也可以按照单个文件大小分割;
3、可以设置日志存储天数,默认31天;
4、日志压缩zip保存

zinx - 新增日志存储策略

Published by xxl6097 over 1 year ago

1、按照天进行日志分割;
2、也可以按照单个文件大小分割;
3、可以设置日志存储天数,默认31天

zinx - v1.1.18

Published by xxl6097 over 1 year ago

新增日志存储机制,按照天数、按大小分割存储并管理删除

zinx - zinx HeartBeat,Interceptor stable version

Published by aceld over 1 year ago

  • 新增Zinx心跳检测机制
  • 新增Zinx拦截器能力
  • 新增Zinx调试tcp工具
  • 新增Zinx自定义报文能力
zinx - v1.1.8

Published by xxl6097 over 1 year ago

v1.1.8

zinx - v1.1.2

Published by xxl6097 over 1 year ago

zinx - v1.1.1

Published by xxl6097 over 1 year ago

  1. Added tlv and htlv+crc protocol en/decode,most protocol can be adapted;
  2. Added example and README.MD to show how to use;
  3. Through tens of thousands of stress tests