https://github.com/chanran/multithreadpbc
基于多进程、多线程的生产者-缓存消息队列(Redis)-消费者模式
https://github.com/chanran/multithreadpbc
java redis socket
Last synced: 11 months ago
JSON representation
基于多进程、多线程的生产者-缓存消息队列(Redis)-消费者模式
- Host: GitHub
- URL: https://github.com/chanran/multithreadpbc
- Owner: Chanran
- License: mit
- Created: 2016-12-20T08:35:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-26T15:49:43.000Z (about 9 years ago)
- Last Synced: 2025-04-14T09:45:04.938Z (about 1 year ago)
- Topics: java, redis, socket
- Language: Java
- Size: 1.44 MB
- Stars: 7
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Java多线程多进程生产者-缓存队列-消费者模式
## 简介
在自己的PC机上使用多进程,多线程实现生产者-缓存队列-消费者模式,进程间通过socket通信。
## 使用的技术
- 多进程通信:socket
- 多线程:Thread
- 缓存队列:redis (java [jedis](https://github.com/xetorthio/jedis))
## 知识链接
- [简单的java socket 示例](http://www.cnblogs.com/zhoudi/p/6025552.html)
- [Java中的流、字符流和字节流](http://www.cnblogs.com/NickyYe/archive/2012/03/22/2411644.html)
- [jedis github](https://github.com/xetorthio/jedis)
- [redis官网](https://redis.io)
- [http://blog.csdn.net/wuyinggui10000/article/details/46225863](http://blog.csdn.net/wuyinggui10000/article/details/46225863)
- [Java利用Redis实现消息队列](http://www.cnblogs.com/kinglf/p/5972300.html)
- [redis中各种数据类型对应的jedis操作命令](http://www.open-open.com/lib/view/open1385173126448.html)
- [使用Redis做简单的消息队列](http://blog.arganzheng.me/posts/a-simple-message-queue-with-redis.html)
- [超强、超详细Redis数据库入门教程](http://www.jianshu.com/p/7e22ad3a9061)