S******y 发帖数: 1123 | 1 I am running the following on my Windows desktop --
1)I have successfully started a Linux-64-bit instance on Amazon EC2.
2)I have saved my private key file from Amazon EC2.
But I have been UNSUCCESSFUL in logging into my linux instance thru PUTTY on
my PC.
Have anybody here have experience in using Amazon EC2? If so, can anybody
share his/her step-by-step on how to log in to Amazon Linux instance from a
local Windows PC?
Any suggestion/tips would be greatly appreciated.
Thanks!
=============== |
|
C**********y 发帖数: 480 | 2 看这篇文章:
http://www.newyorker.com/magazine/2014/09/01/friends-israel
有点长,一句话总结:胡萝卜加大棒,各议员的竞选经费10~15%来自犹太人,不听话
,下次对手会拿到这钱,差额就是20到30%!
This was a daunting challenge. Jews made up less than three per cent of the
American population, concentrated in nine states, and they voted
overwhelmingly Democratic. How could AIPAC, with such a small base, become a
political force in both parties and in every state?
Dine launched a grass-roots campaign, sending young staff members around the
country to search for ... 阅读全帖 |
|
S*******h 发帖数: 7021 | 3 AUGUST 31, 2016 -
DONALD J. TRUMP: ADDRESS ON IMMIGRATION
Thank you, Phoenix. I am so glad to be back in Arizona, a state that has a
very special place in my heart.
I love the people of Arizona and, together, we are going to win the White
House in November.
Tonight is not going to be a normal rally speech.
Instead, I am going to deliver a detailed policy address on one of the
greatest challenges facing our country today: immigration.
I have just landed having returned from a very important and s... 阅读全帖 |
|
t*****r 发帖数: 4431 | 4 科技进步日新月异,大家学习学习,看看哪个有道理!
1.Cable TV
2.Landline service
3.GPS devices
4.DVD and Blu-ray players
5.Hotel rooms
6.2-year phone contracts
7.Desktop and laptop computers
8.Extra legroom in economy
9.Credit cards with points or miles programs
10.Digital cameras
Cable TV
Cable television’s heyday is over. Subscribers have been declining since
2004, and analysts say there’s no end in sight. Roughly 54.8 million
households currently pay for cable TV, down 3.3 percent from 2012 and down
17.6 percent from ... 阅读全帖 |
|
S*******h 发帖数: 7021 | 5 AUGUST 31, 2016 -
DONALD J. TRUMP: ADDRESS ON IMMIGRATION
Thank you, Phoenix. I am so glad to be back in Arizona, a state that has a
very special place in my heart.
I love the people of Arizona and, together, we are going to win the White
House in November.
Tonight is not going to be a normal rally speech.
Instead, I am going to deliver a detailed policy address on one of the
greatest challenges facing our country today: immigration.
I have just landed having returned from a very important and s... 阅读全帖 |
|
x***k 发帖数: 3311 | 6 BYU 不道歉. 我的回信:
Dear Mr. Marcus Smith:
Got your "politically-correct" or better yet "I-do-what-I-do-and-tough-but-
so-what" explanations to my complaint. Perhaps offending Chinese race (more
than 1 billion of them) is no big deal to you or KBYU.
It's particularly offensive to me because it was the second time the same
program was aired at least I heard of. I could say that I understand the
host's "intent" or Japanese's intent of librating Chinese from the ruling of
westerns during WWII. There... 阅读全帖 |
|
a***n 发帖数: 5665 | 7 比较长。
What bothers me so much about this year's MVP coronation of "The Derrick
Rose Story" is not so much that it's a mistake -- we've had bad award votes
before and will have them again -- but that it's the same mistake, for the
fifth time in 11 years.
This is an inherent risk in the MVP selection process. When you ask people
whose life's work is to seek out and tell great stories to vote on this
award, we shouldn't be surprised when they turn out to vote for the best
story rather than the playe... 阅读全帖 |
|
d*******s 发帖数: 15155 | 8 链接:
http://www.gunfacts.info/
---
So far I've found the following... (I'll add more as I have time to go
through more)
- Only 0.1% (1 in a thousand) of the defensive uses of guns results in the
death of the
predator.150 This means you are much more likely to prevent a crime without
bloodshed
than hurt a family member.
- Every year, people in the United States use guns to defend themselves
against
criminals an estimated 2,500,000 times – more than 6,500 people a day, or
once every 13
seconds.151 ... 阅读全帖 |
|
b***u 发帖数: 12010 | 9 这次回国三星期,深刻体会了GFW的不便。不能直接用facebook, mitbbs不说,google,
gmail还时不时随机性被盾。即使是非敏感网站,许多页面到浏览器时竟然被处理了,
整个页面被破坏的支离破碎,几乎不可读。例子有tomshardware, dealsea, aws。
回国几天后,忍不住弄了个securitales服务。但这个完全基于web,只能用browser。
凑合了几天,试了试在aws上起vpn。装daemon设iptables搞了半天没搞定,放弃。昨天
发现了个叫openvpn的东东,试了试无比好用。
步骤很简单。
1。起一个aws micro instance,分一个elastic ip。我用一个新加坡的。
2。aws里dkpg -i安装了,admin下设一下user access,hostname改成elastic ip
3。客户端可以直接连接了。windows, mac, iphone, android都有app。
连接成功后,facebook, mitbbs, youtube什么的app都能直接用。youtube标清很流畅
,hd跟不上。我家带宽估计本来... 阅读全帖 |
|
h******y 发帖数: 3501 | 10 99%可能只是心理作用。PATCH里没提到INGAME PLAY IMPROVEMENT,只是修复了几个死
机的BUG
http://forum.ea.com/uk/posts/list/2669986.page
Hello FIFA 14 Fans,
You may have noticed that the third title update for FIFA 14 is currently
live on PC. (Please note: the FIFA team’s aim is to have this update live
on console later this week and we will update our channels as soon as we get
confirmed deploy times for both, Xbox 360 and PS3.)
Thanks to everyone that has provided their feedback on Twitter, Facebook,
and the EA Forums. We’... 阅读全帖 |
|
z*********n 发帖数: 94654 | 11 哈哈,这个周末电视台,电台老听到大家在讲这个最新的study,
结论是:科学无法验证有机蔬菜比普通蔬菜对人更好
最多可能农药残余更小,但是这个差别也无证据显示有啥重要影响
最后一个法宝,就是全人类的角度了,organic gardening,对环境影响比较小,run
off农药化肥比较少,对周围的大江大河有好处...
所以,农友们,改用化肥就用吧,哈哈哈,特别责任感强的,关注全人类的,少用点吧
:D
http://www.npr.org/blogs/thesalt/2012/09/04/160395259/why-organ
Yes, organics is a $29 billion industry and still growing. Something is
pulling us toward those organic veggies that are grown without synthetic
pesticides or fertilizers.
But if you're thinking that organic produce will help you stay... 阅读全帖 |
|
b*s 发帖数: 82482 | 12 居然找到了:
这个Surowiecki老是写经济专栏的……
http://www.newyorker.com/arts/critics/books/2010/10/11/101011cr
Later
What does procrastination tell us about ourselves?
by James Surowiecki October 11, 2010
Procrastination interests philosophers because of its underlying
irrationality.
Some years ago, the economist George Akerlof found himself faced with a
simple task: mailing a box of clothes from India, where he was living, to
the United States. The clothes belonged to his friend and colleague Joseph
Stiglitz, w... 阅读全帖 |
|
b*s 发帖数: 82482 | 13 参见一个homage单词的OED词条:
homage, n.
View as:
Outline |
Full entry
Quotations:
Show all |
Hide all
Pronunciation: Brit. /hmd/ , U.S. /(h)ɑmd/ (also, chiefly in sense 3b)
Brit. /mɑ/ , U.S. /omɑ/
Forms: ME homoge, ME omage, ME umage, ME ummage, ME–15 hommage, ME–
homage; Sc. pre-17 homadge, pre-17 homag, pre-17 homege, pre-17 omage, pre-
17 ymage (perhaps transmission error), pre-17 17– homage. (Show Less)
Etymology: < Anglo-Norman homaige, humage, Anglo-Norman and Old French
omage, A... 阅读全帖 |
|
a*******u 发帖数: 6324 | 14 嗐!轩哥,那不就是叫做Vibrato嘛。
就抖啊,就震啊,就一个词根啊。
http://en.wikipedia.org/wiki/Vibrato
http://zh.wikipedia.org/wiki/%E9%A1%AB%E9%9F%B3_(%E9%9F%B3%E6%A
颤音 (音乐)
维基百科,自由的百科全书
颤音是一种乐器技巧。
Vibrato
From Wikipedia, the free encyclopedia
Vibrato is a musical effect consisting of a regular, pulsating change of
pitch. It is used to add expression to vocal and instrumental music. Vibrato
is typically characterised in terms of two factors: the amount of pitch
variation ("extent of vibrato") and the speed with which the p... 阅读全帖 |
|
|
p*****t 发帖数: 3824 | 16 http://www1.asknlearn.com/ri_Ilearning/English/631/elang-ilearn
Love is a Fallacy
by Max Shulman
Cool was I and logical. Keen, calculating, perspicacious, acute and astute—
I was all of these. My brain was as powerful as a dynamo, precise as a
chemist’s scales, as penetrating as a scalpel. And—think of it!—I only
eighteen.
It is not often that one so young has such a giant intellect. Take, for
example, Petey Bellows, my roommate at the university. Same age, same
background, but dumb as an ox. A ... 阅读全帖 |
|
r***u 发帖数: 1272 | 17 效率极低人群之七大习惯(牛津大学通过对1050名在校大学生最新调查研究结果,后附
英文原版!!超值分享)
与通常所列举的应该培养的有益习惯不同,本文在此举出的是我们最好避免的7种习惯。
就像寻找对你有益的习惯一样,寻找妨碍你的习惯同样重要。这7种习惯中大多数
都可能会轻易成为你日常生活的一部分,使你难以察觉它的存在(或者它如何影响到你
)。我曾经略微尝试了这些习惯,结果毫无疑问,那些重要的事情没有几个可以完成。
同时我也要添加说明的是,这只是在生活中你可能形成的影响效率的主要的7个习惯,
我很确定绝不仅仅是这些。
1、缺席。
也许你曾经听过伍迪·艾伦所说的这句话:
“百分之八十的成功来自于出席。”
更多的出席——这是在生活中你可以保证更多成功所做的最大也是最简单的事情之
一,无论是在你的社交生活中,你的事业上还是你的健康方面。如果你想要改善你的健
康状况,一个最重要也是最有效的事情就是在每次你该出席时出现在健身房里。
也许天气会不好,也许你会不想出门,也许你有一大堆其他必须要做的事情。但是
,如果即使你在积极性不高时仍然继续出现在健身房里,那将比你呆在... 阅读全帖 |
|
d**********o 发帖数: 1321 | 18 实习(17)
盛夏的花期正好,而我学习用python编程的干劲正足,花不醉人人自醉。最开始熟悉这
样一门语言,学着debug一些小毛病还是稍微费了一点时间的,最开始完全不开窃的时
候,D和A都有帮助过我,B自己不会python,她也还想学来着。D帮我解决问题时给我更
多的是鱼,而A则是授人以渔。
很快单图的,就是一个图只画同一个文件里的两个变量的图的代码就写好了,要不了几
个小时,但当我从多个文件来读同样两个变量,再把这多个文件的图形放到一个里面的
时候,脑袋就有点儿转不过来了。这个可就不是简简单单的程序语言的bug了,这就涉
及到理论基础了。前面讲到过,我的CS120、CS121分别是一个TA学生和硕士学历的讲师
讲的,讲得并不深入,而面试时虽然我近似于背答案答出了问题,但在这 code里,我
的object与instance之间就变成了一片混乱。
因为我请教了A,那天傍晚A坐在我的cube里,在我的笔记本上帮我写了个例子。几个不
同的 object,几个不同的member function,几个不同的instance,通过一些不同的
操作,A帮我稍微讲解了几句之后,要我回答哪些in... 阅读全帖 |
|
d**********o 发帖数: 1321 | 19 第一个项目report
这时偶刚到CSAC工作不久,与小A同学还不熟,我用的还是latex。随着贴的作业越来越
多,应该是用有共同爱好的小伙伴更亲密些。这次贴latex,下次才再org-mode。
\documentclass[b5paper,11pt, abstraction, titlepage]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{listings}
\usepackage{geometry}
\geometry{b5paper}
\usepackage{graphicx,floatrow}
\usepackage{graphicx,subfigure}
\newsavebox{\abstractbox}
\renewenvironment{abstract}
{\begin{lrbox}{0}\begin{minipage}{\t... 阅读全帖 |
|
d**********o 发帖数: 1321 | 20 实习(17)
盛夏的花期正好,而我学习用python编程的干劲正足,花不醉人人自醉。最开始熟悉这
样一门语言,学着debug一些小毛病还是稍微费了一点时间的,最开始完全不开窃的时
候,D和A都有帮助过我,B自己不会python,她也还想学来着。D帮我解决问题时给我更
多的是鱼,而A则是授人以渔。
很快单图的,就是一个图只画同一个文件里的两个变量的图的代码就写好了,要不了几
个小时,但当我从多个文件来读同样两个变量,再把这多个文件的图形放到一个里面的
时候,脑袋就有点儿转不过来了。这个可就不是简简单单的程序语言的bug了,这就涉
及到理论基础了。前面讲到过,我的CS120、CS121分别是一个TA学生和硕士学历的讲师
讲的,讲得并不深入,而面试时虽然我近似于背答案答出了问题,但在这 code里,我
的object与instance之间就变成了一片混乱。
因为我请教了A,那天傍晚A坐在我的cube里,在我的笔记本上帮我写了个例子。几个不
同的 object,几个不同的member function,几个不同的instance,通过一些不同的
操作,A帮我稍微讲解了几句之后,要我回答哪些in... 阅读全帖 |
|
d**********o 发帖数: 1321 | 21 第一个项目report
这时偶刚到CSAC工作不久,与小A同学还不熟,我用的还是latex。随着贴的作业越来越
多,应该是用有共同爱好的小伙伴更亲密些。这次贴latex,下次才再org-mode。
\documentclass[b5paper,11pt, abstraction, titlepage]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{listings}
\usepackage{geometry}
\geometry{b5paper}
\usepackage{graphicx,floatrow}
\usepackage{graphicx,subfigure}
\newsavebox{\abstractbox}
\renewenvironment{abstract}
{\begin{lrbox}{0}\begin{minipage}{\t... 阅读全帖 |
|
m****a 发帖数: 9485 | 22 请看经文证据。
http://www.harvestherald.com/onehundred.html
Originally Published
by the
American Unitarian Association
1827
Unitarian Christians believe Jesus Christ to be the Son of God and the
Saviour of men. They believe in the divinity of his mission and in the
divinity of his doctrines. They believe that the Gospel, which he proclaimed
, came from God; that the knowledge it imparts, the morality it enjoins, the
spirit it breathes, the acceptance it provides, the promises it makes, the
prospects it... 阅读全帖 |
|
m****a 发帖数: 9485 | 23 请看经文证据。既然原来发过的被设置为不可回复,再发一次吧。
http://www.harvestherald.com/onehundred.html
Originally Published
by the
American Unitarian Association
1827
Unitarian Christians believe Jesus Christ to be the Son of God and the
Saviour of men. They believe in the divinity of his mission and in the
divinity of his doctrines. They believe that the Gospel, which he proclaimed
, came from God; that the knowledge it imparts, the morality it enjoins, the
spirit it breathes, the acceptance it provides, the promises it m... 阅读全帖 |
|
D*****r 发帖数: 6791 | 24 A SPEECH OF Mr. JOHN MILTON
For the Liberty of VNLICENC'D PRINTING,
To the PARLAMENT of ENGLAND.
______________________________________________________________
This is true Liberty when free born men
Having to advise the public may speak free,
Which he who can, and will, deserv's high praise,
Who neither can nor will, may hold his peace;
What can be juster in a State then this?
... 阅读全帖 |
|
l*****a 发帖数: 38403 | 25 这种情况并不稀少吧, 你看这个能解释得通么?
Psychological
Various psychological processes have been offered to explain experiences of
apparent precognition.
Cognitive failure/distortion models
Suited to explaining at least naturalistic occurrences of apparent
precognition are several more or less hypothetical unconscious cognitive
processes. These include:
Selection bias where people remember the "hits" and forget the "misses,"
remember coincidences more often than other non-coincidences, or when they
were correct a... 阅读全帖 |
|
c**********h 发帖数: 496 | 26 Euthyphro. Why have you left the Lyceum, Socrates? and what are you doing in
the Porch of the King Archon? Surely you cannot be concerned in a suit
before the King, like myself?
Socrates. Not in a suit, Euthyphro; impeachment is the word which the
Athenians use.
Euth. What! I suppose that some one has been prosecuting you, for I cannot
believe that you are the prosecutor of another.
Soc. Certainly not.
Euth. Then some one else has been prosecuting you?
Soc. Yes.
Euth. And who is he?
Soc. A young... 阅读全帖 |
|
Y**u 发帖数: 5466 | 27 ☆─────────────────────────────────────☆
TrueStory (不是幸福的坑不挖) 于 (Fri Oct 14 11:10:12 2011, 美东) 提到:
This talk is about the chemical, Dopamine, that people feel in ecstasy.
http://www.youtube.com/watch?v=axrywDP9Ii0
It makes people want, without even knowing what is to be wanted. It is a
major chemical that people show in infatuation or new relationships. The
speaker also mentions its similar effect in some people's religious
pursuit.
When this chemical fades, the rosy glasses fall, and then t... 阅读全帖 |
|
J******s 发帖数: 7538 | 28 http://www.abundancetapestry.com/how-to-love-yourself-in-17-way
I have compiled a list on “how to love yourself” for readers who are
facing difficulty knowing what to do in embracing themselves. When I first
began to be aware that I need to love myself first prior to developing any
meaningful relationships with others, I realized that I did not know where
to start.
This was a surprise to me then as I would have thought I’d be an expert on
love and relationships by then. After all, as I recalled,... 阅读全帖 |
|
z**********e 发帖数: 22064 | 29 http://cn.nytimes.com/china/20140604/c04elite/print/dual/
New York Times ChinaFor One Tiananmen-Era Student, a Very Different Path to
Power
By DAVID BARBOZA and MICHAEL FORSYTHE June 04, 2014
DAVID BARBOZA, 傅才德 2014年06月04日
BEIJING — A few days after the crackdown on the Tiananmen Square protests
25 years ago, the Chinese government filled the airwaves with a list of the
21 most wanted student leaders accused of stirring up an antigovernment
rebellion. At the top of the list was a 20-year-old stu... 阅读全帖 |
|
v*********n 发帖数: 3983 | 30 Why web browser opened XML instead of relator content Functions
I have two content type definitions. One is called A and another is B. B is
relator relation of A. On the web page I first display content instance of
A, meanwhile my code calls linkbuilder.buildlink(request, vcmoid) to
generate the page URL for content of B. However when I click the URL link on
page A, it opens the XML of content instance of A in the web browser
instead of opening content instance of B. I checked request and vcm... 阅读全帖 |
|
b*******r 发帖数: 9 | 31 RDS不是必须的 你的linux instance就是个linux环境 你装mysql用就行
AWS的free tier应该只限了一个t2.micro instance如果再加instance 就要付费我现在
用Ops Works在PHP App Server Layer........ |
|
c********e 发帖数: 7 | 32 Thanks, I found it. With SQL 2005 ENV, I wasn't able to create an Instance.
So what I was trying to attach to is still the old instance on 2000, that is
why. So, I had to install an express version to get a new 2005's instance.
Thank you so much! |
|
m*********y 发帖数: 389 | 33 Here are some questions I copied from online.. Obviously LouZhu is a lazy
ass... these questions are everywhere... :-)
SQL Interview questions
Below is a list of questions in this blog post so you can test your
knowledge without saying answers. If you would like to see questions and
answers please scrool down.
Question: What type of joins have you used?
Question: How can you combine two tables/views together? For instance one
table contains 100 rows and the other one contains 200 rows, have exac... 阅读全帖 |
|
g***l 发帖数: 18555 | 34 俺现在用的就是CLUSTERED的MULTI-INSTANCE的SERVER,效果很差,瓶颈在IO和DISK,
而STOREAGE是SHARE的,效果不是一般的差,MULTI-INSTANCE基本是得不偿失,除非有
的INSTANCE基本不用或者IDLE |
|
g***l 发帖数: 18555 | 35 俺现在用的就是CLUSTERED的MULTI-INSTANCE的SERVER,效果很差,瓶颈在IO和DISK,
而STOREAGE是SHARE的,效果不是一般的差,MULTI-INSTANCE基本是得不偿失,除非有
的INSTANCE基本不用或者IDLE |
|
w*********r 发帖数: 2095 | 36 下面是我从网上找到的。问题是如何export the ORACLE_SID=orcl1 for node1?
----------
This means that the ORACLE_SID is set to orcl - and that would be invalid
for a RAC instance as there are multiple instances per database and
identified by an instance number in addition (e.g. orcl1, orcl2 and so on).
Fix the ORACLE_SID in the environment, prior to firing up a sqlplus session.
Great! I just exported the ORACLE_SID=orcl1 for node1 and it worked.
Thanks a ton for the quick reply. |
|
YW 发帖数: 46 | 37 Really appreciate if someone can help me with my questions.
1. I have Oracle version 11.2.0.2.0 installed into linux server, There is
an instance running before I created second instance. I connected it using
SQL developer for development purpose. Everything was working properly until
recently. I found I can’t connect it with SQL developer anymore (the
other instance can connect without problem).
When I test the connection, it gave me error as below:
Status: Failure - Test failed:Listener re... 阅读全帖 |
|
L*******r 发帖数: 1011 | 38 My words: I have tested what the paper said with my own programs. It is true
that simple WinForms will const you more than 10M. And when you start two
instances of a same program, it will cost double memory, which is 20M.
I know the way to save memory for 2-instances case. Provide your own loader of
IL classes and let those two instances share libraries. This is the way I used
in Java, which will save you lots of memory. But this way sacrifice security
feature of "sandbox". So use this trick car |
|
c******o 发帖数: 26 | 39 A situration like this:
1) Application A has 2 threads running
2) Each thread is running a public method of class B,
3) in the public method of class B, it is using an instance
of Class C to do some parsing work which takes a long time ( a few seconds)
instance of C is labeled ThreadStatic
When running on a single-CPU computer, since only one thread can run
concurrently, there is no problem. Issue comes in when running on a
quad-CPU box and 2 threads are running concurrently. The instances of
cl |
|
b********5 发帖数: 12 | 40 I am trying to develop my own class library for all my web projects.
I created a class project using C# .NET and this project is included the
NHiberniate framework. This class is doing couple very simply think.
1. Create and return the ISessionFactory as a new instance
2. Close the ISessionFactory
And then I include this custom class into my web project and create the
NHiberniate instance and close the instance in the Global.asa file. Also the
NHiberniate configuration file and the database mapp |
|
n*****e 发帖数: 115 | 41 如果软件设计的好,并且你有计划长期用的话,跑计算用aws的spot instance还是不错
的,价格通常只有On demand instance的1/10。其他的webhosting好像没有这种类型的
服务。
另外,如果我记得没错的话,到64G那种的Instance,resource应该都是dedicated,和
普通vps还不同。 |
|
W******c 发帖数: 23 | 42 First, you need to understand the initialization sequence of a Java program
1.static initialization
All static vars and static floating blocks are run first AS IN THE SAME ORDER AS WRITTEN
in the source java program.
2.instance initialization
All instance vars and instance floating blocks are run next AS IN THE SAME ORDER AS
WRITTEN in the source java program.
3.constructor is run
The below example shows all. I am sure it will appear in SCJP:
class Test {
//case 1
final int instFin |
|
n*****k 发帖数: 123 | 43
Are you using servlet? if do, you may first use
HttpServletRequest.getSession(false) to check if there is a session associated
with the request, then you can either create a new instance of this class and
then using HttpSession.putValue() method to store this new instance within the
session, or just retrive the instance from the session object.
Hope this will help. |
|
m******t 发帖数: 2416 | 44
OK, would you agree that whether access to a static member should
be synchronized is orthogonal to whether this access happens in
some instance method from the same class? In other words, if
access to a static member needs to be synchronized, it needs to be
synchronized regardless the access is made by an instance method
or by some code from somewhere else.
If you are suggesting that a "synchronized" modifier on an instance
method should also apply to this class's class object, I think while
it |
|
w******f 发帖数: 620 | 45 For example, If I run multiple instances in the a dual quard core CPU server
will be fater than I just run one instance in that server, right? If so,
how many instances should I run? |
|
l*****b 发帖数: 82 | 46 Background: I have one Java webservice instance, including two app servers
and one DB server running with MS SQL server 2005. I have a project to build
a new instance for other region customer.
The extra requirements are: 1. consolidate report data in one DB (a new
report DB). 2. each service instance holds transaction data in its own DB. 3
. All DB data must be synchronized at run time.
It will be great appreciated if you could advise me your ideas. Thank you in
advance. |
|
c**o 发帖数: 186 | 47 thanks.
我就觉得题目比较模糊.不知道它是不是想考概念.
而且我觉得用instance variable.改变的永远是instance,跟c没关系啊.c的instance永远不能直接用ab
的功能. |
|
m******g 发帖数: 516 | 48 The Java compiler must be very smart now. It create a String object instance
"abc", say S, then s1="abc" interpreted as assign the viarable s1 to
reference to S. The compiler sees another "abc" in the same {} scope (and
its parenting scope?), it must have searched its stack before creating a new
instance using String.equal() function, and found "abc" exists, s2="abc"
assigned viarable s2 to reference same instance S.
It will be really smart (or stupid) for the compiler to say "true".
String s1=" |
|