Comments (3)
不支持的意思是不默认集成~我们团队内部一直使用以下组件:
但是这两个库主要为团队内部服务,够用就好,不一定适应其他的团队。我们内部也没有引入 orm,这个也很有争议。所以,就不在 sniper 项目提供默认集成了。这样,大家可以根据自己的实际情况选用合适的组件。
之前删除的 util/mc
util/db
和 util/redis
都是满足部门内部需求的最小封装。尤其是 util/redis
,仅支持一小部分 redis 的功能~把这一部分开放出来感觉不太好,我们内部又不想把这个个组件做的很臃肿,所以还是考虑不集成了。
from sniper.
感谢回复的这么及时:
-
我觉得你们的db组件做的挺好的。我也基于你们做的这个框架做了一些扩充,db中增加了 构建:create、update、query 三个方法。
-
redis、memcache 够用就好不需要特别复杂。
-
有考虑在框架层增加限流?
from sniper.
其实不打算做。限流这一类服务治理的工作还是让类似 envoy 这类的专业组件来做比较好
不然,每种语言、每个框架都做一套,有点浪费,还不专业
from sniper.
Related Issues (20)
- sniper中dao的model和proto自动生成的model如何映射? HOT 3
- 脚手架使用单独入口之后出现问题 HOT 7
- 实践中dao层如何复用? HOT 2
- 基础类型如何复用? HOT 1
- sniper 跟 kratos 的关系是? HOT 1
- Cannot use 'loginHooks' (type *"github.com/bilibili/twirp".ServerHooks) as type *"github.com/twitchtv/twirp".ServerHooks HOT 3
- 如何获取header头信息? HOT 2
- POST请求解决返回结果,int64类型的返回参数全部变为了string,期望:int64类型返回参数不要转为string HOT 1
- 如何实现文件上传? HOT 1
- service层的作用是什么,rpc参数是推荐传递到dao层吗? HOT 6
- 关于sniper的各层版本命名问题 HOT 2
- 如何更好的区分内外部服务? HOT 1
- 有完整的DEMO吗? HOT 1
- readme 中的 '实现接口' 连接不对 HOT 2
- codahale/hdrhistogram repo url has been transferred under the github HdrHstogram umbrella HOT 3
- 微信讨论群
- 这里的 sniper 是不是应该用脚手架的传入的 pkg 参数替换一下?
- protoc-gen-twirp 链接问题 HOT 11
- 不清楚为什么install一直EOF HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sniper.