1. Spring : Framework - > layer: ①cloud platform;②Big Data application;③machine algorithm - > cooperation
2. Hadoop(Cluster):
①copy
②burst
3. Cloud Computing:
①SAOS(software as a service): app;
②:PAOS(platform as a service):Alibaba Cloud; M - health and smart healthcare;
③IAOS(infrastructure as a service):Tencent
4. Middle-ware is an independent system software or service program that allows distributed applications to share resources among different technologies.
5.
User
Data
DB
10t -- 100t
GB
mysql(cluster)
100t -- 5000t TB
mongoDB(cluster)
5000t -- 1b
PB
hadoop(cluster)
6. System performence:
①T
hroughput capacity = concurrency / response
7.
Jason:{"name":"Eason","sex":"M",.....}
Jason(array):{{"name":"Eason"},{"sex":"M"},.....}
Jason to Java Object:
<script type="text/javascript" src="js/prototype-
1.6.0.3.js"></script>
<script type="text/javascript">
function f1(){…
var txt = xhr.responseText;
// 将json 字符串转换成javascript 对象或者数组
var arr = txt.evalJSON();
// 或
var json = eval('(' + txt + ')');
};
}
</script>Arrays to Jason:
List<Student> list= new ArrayList<Student >();
for(int i=0;i<3;i++){
Student s = new Student ();
s.setId(i+1);
s.setName(“ 张" + i);
s.setGender(“ 女”);
list.add(s);
}
JSONArray jsonArr = JSONArray.fromObject(list);
String jsonStr = jsonArr.toString();Java Object to Jason:
Student s1 = new Student (1,“念念”,”
女”);
JSONObject obj =
JSONObject.fromObject(s1);
String jsonStr = obj.toString();
8.Observer pattern:
As long as a system send message, and received by several systems, it called Observer pattern.
3753

被折叠的 条评论
为什么被折叠?



