1

Go 游戏后端微服务后端求推荐

 2 years ago
source link: https://www.v2ex.com/t/798778
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Go 游戏后端微服务后端求推荐

V2EX  ›  Go

Go 游戏后端微服务后端求推荐

  Rooger · 10 小时 22 分钟前 · 1568 次点击

游戏部分服务是有状态的,目前使用的是 go-micro V1 版本,但是只支持到 go1.14 。而 Go 已经更新到了 1.17 ,求游戏同行推荐靠谱的微服务框架。

16 条回复    2021-08-30 18:51:39 +08:00

dcoder

dcoder   10 小时 1 分钟前

你们是做啥游戏, 卡牌回合制的话, 用啥都行
real-time 的话 (e.g. ACT, FPS, MOBA), 就麻烦多了

777777

777777   9 小时 59 分钟前   ❤️ 1

建议 k8s 一把梭,不需要框架。

cxytz01

cxytz01   9 小时 46 分钟前

为什么要用微服务框架呢,go 这门语言不用微服务框架不行吗? 你使用框架是需要框架提供的什么能力?
你的游戏服务是有状态的,和微服务有什么关系呢?

目前公司微服务的项目,都是基于 go,但是就没用微服务框架。

lesismal

lesismal   9 小时 43 分钟前

网络层可以用我这个:
https://github.com/lesismal/arpc

微服务就是多个服务,他们之间怎么管理,自己设计实现接口就行了。

KickAssTonight

KickAssTonight   9 小时 18 分钟前

框架随意吧。。server 自己维护下 session 是不是就可以了?

sunny352787

sunny352787   9 小时 3 分钟前

我这边就是 grpc 一把,有状态的服务单独处理,redis 记录客户端对应的状态服务地址就好了

HUNYXV

HUNYXV   8 小时 59 分钟前

go-micro 不是都已经 v3 版本了吗?
go 1.16

hellodudu86

hellodudu86   8 小时 58 分钟前

用 v3 版本

ArJun

ArJun   8 小时 54 分钟前

flycloud

flycloud   8 小时 37 分钟前

我是自己撸了一套 RPC,基于 nats,用于 web 、app 的那些 RPC 其实不太适用于游戏后端,因为很难做到所有的服务都是无状态的(不追求实时性、业务简单的弱联网游戏除外)。

e7

e7   6 小时 4 分钟前

不是游戏行业,但听说游戏核心逻辑都是单体,分区服务

nash

nash   5 小时 17 分钟前

go-zero

zyxdut

zyxdut   3 小时 46 分钟前

可以看下 Google 的 agones

zyxdut

zyxdut   3 小时 46 分钟前

这个是基于 k8s 的游戏服务器框架,还挺好使

wellsc

wellsc   3 小时 41 分钟前

游戏后端,erlang/elixir 或者 c/c++ 更加合适,go 的锁和 gc 太慢了

c88155745

c88155745   2 小时 16 分钟前

gonet zinx agones goworld

关于   ·   帮助文档   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   2389 人在线   最高记录 5497   ·  

创意工作者们的社区

World is powered by solitude

VERSION: 3.9.8.5 · 28ms · UTC 13:07 · PVG 21:07 · LAX 06:07 · JFK 09:07
♥ Do have faith in what you're doing.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK