GoKit or grpc-go
polaris · 2016-01-30 21:07:07 · 1031 次点击 这是一个分享于 2016-01-30 21:07:07 的资源,其中的信息可能已经有所发展或是发生改变。Hi all
I want to use microservice architecture and I am thinking about to use grpc-go or gokit.
Which one of them would you recommended to use? Any good experience of them?
Thanks
评论:
TheMerovius:
They aren't really in the same category. grpc is an RPC-transport, gokit is a collection of helpers to plug different parts of microservice plumbing together using different transports.neoasterisk:
... or micro?pievendor:
Micro over kit any day. Micro is much more in line with idiomatic go, whereas I consider go kit to be the over engineered Revel of service libraries.jesus_7in:
I'm not sure if this statement is accurate.zero_coding:
micro looks very promise, but now a lot of choices, which one should I use?chuhnk:
Your choices are.
https://github.com/grpc/grpc-go
https://github.com/go-kit/kit
https://github.com/uber/tchannel-go
https://github.com/hailocab/h2
https://github.com/mondough/mercury
https://github.com/goadesign/goa
https://github.com/nytimes/gizmo
https://github.com/micro/micro
zero_coding:
but which should I choose please help me. Which one is good to start?chuhnk:
Well I'm biased since I wrote micro but I quite honestly believe that if you're struggling to choose a "framework" then you should just use net/http or net/rpc and construct the bare minimum for what you're trying to do.
It comes down to.. why do you want to use a microservice architecture? Why do you think that would be beneficial to you? If you cannot answer that question then you do not need microservices. What features do you need for microservices? What do you need out of a development framework? What do you need out of a runtime or platform? You have to be able to answer these questions to make the choices. If you cannot then I truly believe sticking to the basics is key. When I build side projects I still begin with net/http or net/rpc and build monolithic software.zero_coding:
I want to write microservices based application because of scability. In my opinion, it would be better to maintain and testing using microservice architecture.
But first of all, I want only configure out, if microservice architecture is suitable for my requirements. Just make a prototype and discover, what microservice really means.
Which framework is good for starting, maybe micro?pievendor:
If your answer to microservices is so simply scalability, you don't need microservices. This model comes only when running a monolith or a few larger applications becomes untenable due usually to organizational scale issues. Trying to solve the scalability issue of infrastructure before you have problems here will typically only lead you down a path of sadness.zero_coding:
When I want to discover how microservices work. I am very interesting in it.Ploobers:
Check out http://goa.design/, it's awesome. You get performant idiomatic code generated off of your design docs.zero_coding:
Why is gokit is over engineered?
1031 次点击 加入收藏 微博 赞
grpc
github
net
rpc 0 回复 暂无回复 添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码` - 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传
用户登录
今日阅读排行
Go语言实现的轻量级UUID - 26 阅读
《Go编程基础》视频教程 - 11 阅读
HTML5 Multiplayer Game with Go Server - 10 阅读
- 4golang书籍大全,觉得不错的可以给我star下 - 8 阅读
- 5GoLand: I tried running a hello world, got the error "runnerw.exe: CreateProcess failed with error 216 (no message available)" - 8 阅读
- 6justforfunc #31: gRPC Basics - 7 阅读
- 7How to write Go middleware - 7 阅读
- 8Create versatile Microservices in Golang - part 8 of 10 - Kubernetes - 5 阅读
- 9Proposal: Versioned Go Modules - 5 阅读
- 10Some common traps while using defer - 5 阅读
一周阅读排行
Go语言实现的轻量级UUID - 451 阅读
【推荐】雨痕Go语言学习笔记 - 242 阅读
Go官方文档【中文版】 - 214 阅读
- 4《Go编程基础》视频教程 - 210 阅读
- 5比特币(Bitcoin)的Go语言实现 - 176 阅读
- 6≡ Get golang https://git.io/getgo - 84 阅读
- 7Engiy一个基于Go写的磁力搜索,BT资源搜索引擎 - 84 阅读
- 8《Go语言编程入门》视频课程开课了 - 70 阅读
- 9golang书籍大全,觉得不错的可以给我star下 - 68 阅读
- 10GoLand: I tried running a hello world, got the error "runnerw.exe: CreateProcess failed with error 216 (no message available)" - 60 阅读