issues Search Results · repo:doocs/advanced-java language:Java
Filter by
147 results
(81 ms)147 results
indoocs/advanced-java (press backspace or delete to remove)如何保证消息队列的高可用?#镜像集群模式高可用性
上面这篇文章中,总结 RabbitMQ 缺点的时候提到:
第一,这个性能开销也太大了吧,消息需要同步到所有机器上,导致网络带宽压力和消耗很重!
不知道这一点从何说起呢?
虽然 Kafka 的 topic 有分区,但是要实现这个 topic 的高可用,也是要把整个 topic 的所有分区同步到其它机器上,需要的网络传输并不会比 RabbitMQ ...
linweichao
- 6
- Opened 4 days ago
- #323
【拼多多集团-PDD实习生招聘】内推链接:https://careers.pddglobalhr.com/campus/intern?t=T892YJGZ03
,内推码:T892YJGZ03。期待你的加入!我们一起,无拼不青春!(通过此链接投递计入内推,内推简历优先筛选~)
jonathenzc
- Opened on Mar 27
- #318
关于缓存一致性部分我看举了这样一个例子,就先删除缓存,再更新,在还没更新成功的时候来了一个读请求,因为缓存为空所以去读库,结果读到了旧数据并缓存了下来,此时更新操作也成功了,就可能导致缓存不一致的问题。然后我看给的解决方案是用内存列队,等专门用一个线程去更新缓存,感觉这有些复杂了。
我就想知道这里可不可以删两次缓存,第一次删除缓存,然后更新库,更新成功之后再删除一次缓存。这样就算上面说的库还没更新成功来了一个读请求更新了缓存也无所谓,因为马上会被再次删掉,这样不就不会导致不一致的问题了吗?也不知道这种方式有没有其他问题。 ...
CaoChunfang
- 4
- Opened on Mar 13, 2024
- #298
This is an automated pull request to sync changes between the public and private repos. Our bot will merge this pull
request automatically. To preserve continuity across repos, do not squash this pull ...
Smiley23b
- Opened on Oct 11, 2023
- #295
Smiley23b
- Opened on Oct 11, 2023
- #293
Add the Translation of English so that it becomes benificial for more people.
help wanted
amantank
- 2
- Opened on May 24, 2023
- #287
There is an error in the code about delayed-double-deletion in the article 如何保证缓存与数据库的双写一致性
public void set(key, value) {
putToDb(key, value);
deleteFromRedis(key);
// ... a few seconds later ...
alanchenggang
- 14
- Opened on Jan 3, 2023
- #282

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.