thkhxm / tgf Goto Github PK
View Code? Open in Web Editor NEW tgf框架是使用golang开发的一套游戏分布式框架,支持全球一服.项目采用了rpcx做为底层rpc的通讯,consul提供服务注册发现.定义了一整套的模块开发规范.
Home Page: https://thkhxm.github.io/tgf_writerside/starter-topic.html
License: Apache License 2.0
tgf框架是使用golang开发的一套游戏分布式框架,支持全球一服.项目采用了rpcx做为底层rpc的通讯,consul提供服务注册发现.定义了一整套的模块开发规范.
Home Page: https://thkhxm.github.io/tgf_writerside/starter-topic.html
License: Apache License 2.0
使用db.Set函数的时候,如果类型是string的话,会使用json的反序列化操作.
例如存储字符串 abcd
, 最终存入Redis中的数据为 "abcd"
, 会多出双引号.
基于第三方ui工具,开发一套针对框架的管理工具
我们将服务器分为有状态节点和无状态节点.
有状态节点,表示会记录用户的请求.保证用户在周期内的每次请求都会请求相同的节点
无状态节点,表示用户每次请求,都会重新进行路由分配,请求到不同的节点
目前框架实现了在rpc请求操作的时候,可以指定是否重新路由节点,可以参考源码中的NewBindRPCContext函数.它的作用域是单次rpc请求,并不是以整个逻辑节点为作用域.即针对的是单次,单接口的请求.而不是整个逻辑节点都或所有请求.
通过服务器管理工具,进行api接口的动态路由规则设置
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.