k*r
2 楼
有几台机器在不同的data center,需要比较准时地在整点向服务器
报告,前后差一两分钟问题不大。但是本机的时间不能保证,而且
不能调整,只能在Application起来的时候从网上拿一个比较准的时
间而不依赖系统时间。有什么NTP component推荐吗?或者有什么
free的报告时间的web service?
报告,前后差一两分钟问题不大。但是本机的时间不能保证,而且
不能调整,只能在Application起来的时候从网上拿一个比较准的时
间而不依赖系统时间。有什么NTP component推荐吗?或者有什么
free的报告时间的web service?
R*G
3 楼
移植的成功率太低,不移为好。
前两天实验了一下,没有移植的5片叶了,移过的死了一大半。
前两天实验了一下,没有移植的5片叶了,移过的死了一大半。
k*r
4 楼
找到一个webservice,奇怪的是getUTCTime只返回时间没有日期
http://www.nanonull.com/TimeService/TimeService.asmx
http://www.nanonull.com/TimeService/TimeService.asmx
g*g
5 楼
Counting on external web service for a task like this is a
bad idea. You may get system time from the same DB server and
most DB servers support that.
【在 k***r 的大作中提到】
: 有几台机器在不同的data center,需要比较准时地在整点向服务器
: 报告,前后差一两分钟问题不大。但是本机的时间不能保证,而且
: 不能调整,只能在Application起来的时候从网上拿一个比较准的时
: 间而不依赖系统时间。有什么NTP component推荐吗?或者有什么
: free的报告时间的web service?
bad idea. You may get system time from the same DB server and
most DB servers support that.
【在 k***r 的大作中提到】
: 有几台机器在不同的data center,需要比较准时地在整点向服务器
: 报告,前后差一两分钟问题不大。但是本机的时间不能保证,而且
: 不能调整,只能在Application起来的时候从网上拿一个比较准的时
: 间而不依赖系统时间。有什么NTP component推荐吗?或者有什么
: free的报告时间的web service?
F*n
7 楼
Try to separate clock synchronization and program synchronization. On each
workstation install a timer synchronized to a timer service. Use the local
timer to synchronize local program.
【在 k***r 的大作中提到】
: 找到一个webservice,奇怪的是getUTCTime只返回时间没有日期
: http://www.nanonull.com/TimeService/TimeService.asmx
workstation install a timer synchronized to a timer service. Use the local
timer to synchronize local program.
【在 k***r 的大作中提到】
: 找到一个webservice,奇怪的是getUTCTime只返回时间没有日期
: http://www.nanonull.com/TimeService/TimeService.asmx
k*r
9 楼
In my case, the DB server isn't exposed. Although I can
provide a web service to wrap the DB time but I'm assuming
using an external web service is even easier, unless it's
not reliable...
【在 g*****g 的大作中提到】
: Counting on external web service for a task like this is a
: bad idea. You may get system time from the same DB server and
: most DB servers support that.
provide a web service to wrap the DB time but I'm assuming
using an external web service is even easier, unless it's
not reliable...
【在 g*****g 的大作中提到】
: Counting on external web service for a task like this is a
: bad idea. You may get system time from the same DB server and
: most DB servers support that.
g*g
10 楼
If it's not a paid service with 99.9% guarranteed up time,
it's not reliable. Anything can break will break.
If it's a critical service for the product and you can't
deliver because a free service you happen to find on Internet
is broken. You'll look very bad.
And I don't get that the DB Server isn't exposed. Can't you
get it through SQL query although it may vary from vendor to
vendor.
【在 k***r 的大作中提到】
: In my case, the DB server isn't exposed. Although I can
: provide a web service to wrap the DB time but I'm assuming
: using an external web service is even easier, unless it's
: not reliable...
it's not reliable. Anything can break will break.
If it's a critical service for the product and you can't
deliver because a free service you happen to find on Internet
is broken. You'll look very bad.
And I don't get that the DB Server isn't exposed. Can't you
get it through SQL query although it may vary from vendor to
vendor.
【在 k***r 的大作中提到】
: In my case, the DB server isn't exposed. Although I can
: provide a web service to wrap the DB time but I'm assuming
: using an external web service is even easier, unless it's
: not reliable...
k*r
11 楼
The reliability of a free service is a concern.
Using a time web service provided by my server is probably
a good idea - it needs to report to my server anyway. Just
a little bit more work to do.
Thanks for the suggestions!
【在 g*****g 的大作中提到】
: If it's not a paid service with 99.9% guarranteed up time,
: it's not reliable. Anything can break will break.
: If it's a critical service for the product and you can't
: deliver because a free service you happen to find on Internet
: is broken. You'll look very bad.
: And I don't get that the DB Server isn't exposed. Can't you
: get it through SQL query although it may vary from vendor to
: vendor.
Using a time web service provided by my server is probably
a good idea - it needs to report to my server anyway. Just
a little bit more work to do.
Thanks for the suggestions!
【在 g*****g 的大作中提到】
: If it's not a paid service with 99.9% guarranteed up time,
: it's not reliable. Anything can break will break.
: If it's a critical service for the product and you can't
: deliver because a free service you happen to find on Internet
: is broken. You'll look very bad.
: And I don't get that the DB Server isn't exposed. Can't you
: get it through SQL query although it may vary from vendor to
: vendor.
g*g
12 楼
It's a DB server, why can't you use oldschool SQL query to get it,
web service sounds overkill for me.
【在 k***r 的大作中提到】
: The reliability of a free service is a concern.
: Using a time web service provided by my server is probably
: a good idea - it needs to report to my server anyway. Just
: a little bit more work to do.
: Thanks for the suggestions!
web service sounds overkill for me.
【在 k***r 的大作中提到】
: The reliability of a free service is a concern.
: Using a time web service provided by my server is probably
: a good idea - it needs to report to my server anyway. Just
: a little bit more work to do.
: Thanks for the suggestions!
k*r
13 楼
Let's say, the servers that need to report back are on customers'
sites and the only interface for it to ping home is HTTP.
By web service I meant it in a generic way. It could be a web
page that simply prints out "11/19/2008 18:24:30".
【在 g*****g 的大作中提到】
: It's a DB server, why can't you use oldschool SQL query to get it,
: web service sounds overkill for me.
sites and the only interface for it to ping home is HTTP.
By web service I meant it in a generic way. It could be a web
page that simply prints out "11/19/2008 18:24:30".
【在 g*****g 的大作中提到】
: It's a DB server, why can't you use oldschool SQL query to get it,
: web service sounds overkill for me.
k*r
16 楼
Some of the machines belong to, let's say, some
customers, that don't guarantee to keep up the time
on the servers. So I can't rely on local time...
【在 r*****l 的大作中提到】
: Is there an operation team in your company that
: maintenance the machine and the OS?
: It's ops responsibility to make the server time
: accurate.
customers, that don't guarantee to keep up the time
on the servers. So I can't rely on local time...
【在 r*****l 的大作中提到】
: Is there an operation team in your company that
: maintenance the machine and the OS?
: It's ops responsibility to make the server time
: accurate.
相关阅读
Any recommendation on starting Hadoop?aspectj question一本用Java进行算法面试的好书 (转载)About Android国内JAVA培训元老张孝祥老师38岁就累死了!!!Senior Java Architect / DeveloperJob Opening, Java EE/Android (转载)Job Opening: ERP engineer in Washington D.C.我觉得新手应该系统学学基本知识第一份工作,C#还是Java区别大吗?java.security.KeyStoreTHE CAREER BENEFITS OF CERTIFICATION全球码农向CCTV春晚宣战?分享一本书: <Java深度历险> (转载)netbeans project导入到eclipse的问题佩服那些懂spring和hibernate的刚刚写完转行学计算机的经历什么应用需要几百个节点的java呢@Override annotation.Senior Java Developer / Senior Java Architect