knightliao / pikaq Goto Github PK
View Code? Open in Web Editor NEW分布式可靠消息组件
分布式可靠消息组件
@knightliao,感谢提供pikaQ组件来实现分布式可靠消息(虽然还没有release)。我的问题是,是否考虑过IMDG的一些技术来达到这个手段(下述是我的一些理解,不足之处请斧正)
我的想法(不知是否可行):
上面的考虑是考虑引入针对hazelcast等transactionManager支持(看可否不考虑AOP方式)
我看了一下实现代码,消息的持久化要和业务事物域用同一个数据库事物? 是否可以持久化和rabbitmq抽取出来,这样消息数据独立存储、独立伸缩、降低业务系统与消息系统间的耦合
根据您“基于RMQ的可靠消息系统设计(设计图)”中理解,应该是“pikaQ”会回调业务系统的接口“判断是否业务处理服务”成功,这里面有两个问题:
1、这个接口的判断一般是在消息发送之前(入MQ队列)前发送,还是在消息发送后由消息消费者使用?
2、由于该接口是业务相关的,在“pikaQ”中是否有做封装?我并未从测试用例中找到判断“业务处理服务成功”的逻辑,能否帮忙提供下具体程序位置吗?
另外,我理解按照pikaQ设计,所有的消息都应该存储在一个数据库中,那未来业务量很大的时候,数据库是否会存在瓶颈?
非常感谢!
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.