由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - High Availability DB question
相关主题
java SOAP比restful难学吗?Can Java thread return a value?
netflix的用hdtv看它的电影,如果1000用户同时登录看同一个影片,怎么处理的?如何快速处理上万个文件?
cloud computing最重要的特性是elasticJAVA 面世题.
find all tables used in a hibernate/jdbc project?〔请勿置顶〕Java/Flex工作职位 (转载)
请推荐一下RESTful WS FrameworkC# is light-years ahead of Java now (转载)
soa变成rest,大家公司在用哪个?C# is light-years ahead of Java now (转载)
请问高手:thrift 要通过什么连database 比如 mysql ?最近node.js real time web 很火
看了下storm,大概明白了怎么做real time系统了向能人请教
相关话题的讨论汇总
话题: replicated话题: db话题: high话题: data
进入Java版参与讨论
1 (共1页)
F****n
发帖数: 3271
1
If my master server failed how to handle data that have NOT been replicated
to the slave servers?
g*****g
发帖数: 34805
2
Depends on how the master server fails, if the data is available in commit
log, restarting the server can fix it.
If it's harddisk failure, however, obviously data is lost.

replicated

【在 F****n 的大作中提到】
: If my master server failed how to handle data that have NOT been replicated
: to the slave servers?

F****n
发帖数: 3271
3
有啥应对办法

【在 g*****g 的大作中提到】
: Depends on how the master server fails, if the data is available in commit
: log, restarting the server can fix it.
: If it's harddisk failure, however, obviously data is lost.
:
: replicated

w**z
发帖数: 8232
4
你是怎么ack写的, master node, 写了,就ack?

【在 F****n 的大作中提到】
: 有啥应对办法
g**e
发帖数: 6127
5
http://en.wikipedia.org/wiki/Paxos_(computer_science)

commit

【在 F****n 的大作中提到】
: 有啥应对办法
F****n
发帖数: 3271
6
Right, asynchronous replication.
I know it is not possible to have strict atomic consistency.
It is called "eventual consistency", right:)
But I would like to know what is the best practice to deal with (not solve)
this kind of situations.

【在 w**z 的大作中提到】
: 你是怎么ack写的, master node, 写了,就ack?
F****n
发帖数: 3271
7
Good read, thanks!

【在 g**e 的大作中提到】
: http://en.wikipedia.org/wiki/Paxos_(computer_science)
:
: commit

g*****g
发帖数: 34805
8
In principle, you need multiple nodes to ack on a transaction if the data is
super critical. Obviously there's a performance penalty here.

【在 F****n 的大作中提到】
: Right, asynchronous replication.
: I know it is not possible to have strict atomic consistency.
: It is called "eventual consistency", right:)
: But I would like to know what is the best practice to deal with (not solve)
: this kind of situations.

w**z
发帖数: 8232
9
as goodbug said, and C* way of handling, it is written in commit log every
10 secs and replicated to other nodes. if the hard drive doesn't fail, you
could lose up to 10 secs of writes. if your HD is gone, you will lose all
unreplicated data.

【在 F****n 的大作中提到】
: Right, asynchronous replication.
: I know it is not possible to have strict atomic consistency.
: It is called "eventual consistency", right:)
: But I would like to know what is the best practice to deal with (not solve)
: this kind of situations.

g*****g
发帖数: 34805
10
The fsync interval can be configured though.

every

【在 w**z 的大作中提到】
: as goodbug said, and C* way of handling, it is written in commit log every
: 10 secs and replicated to other nodes. if the hard drive doesn't fail, you
: could lose up to 10 secs of writes. if your HD is gone, you will lose all
: unreplicated data.

b*******s
发帖数: 5216
11
有什么好的js framework推荐?要能很容易配置restful的,和可以轻松scale out
谢谢

【在 g*****g 的大作中提到】
: The fsync interval can be configured though.
:
: every

g*****g
发帖数: 34805
12
我不懂js,node上面不是有啥Express之类的。

【在 b*******s 的大作中提到】
: 有什么好的js framework推荐?要能很容易配置restful的,和可以轻松scale out
: 谢谢

b*******s
发帖数: 5216
13
好,谢谢

【在 g*****g 的大作中提到】
: 我不懂js,node上面不是有啥Express之类的。
W***o
发帖数: 6519
14
do not use master to store data, if master fails, have the slaves elect a
new master

replicated

【在 F****n 的大作中提到】
: If my master server failed how to handle data that have NOT been replicated
: to the slave servers?

1 (共1页)
进入Java版参与讨论
相关主题
向能人请教请推荐一下RESTful WS Framework
Java NIO 问题求教soa变成rest,大家公司在用哪个?
美国做市商招:Python Developer – Akuna Capital- 波士顿请问高手:thrift 要通过什么连database 比如 mysql ?
问一个版权的问题 (转载)看了下storm,大概明白了怎么做real time系统了
java SOAP比restful难学吗?Can Java thread return a value?
netflix的用hdtv看它的电影,如果1000用户同时登录看同一个影片,怎么处理的?如何快速处理上万个文件?
cloud computing最重要的特性是elasticJAVA 面世题.
find all tables used in a hibernate/jdbc project?〔请勿置顶〕Java/Flex工作职位 (转载)
相关话题的讨论汇总
话题: replicated话题: db话题: high话题: data