3. Cloud Computing
wiki:
Cloud computing is Internet-based computing,
whereby shared resources, software and information
are provided to computers and other devices on-
demand
The term "cloud" is used as a metaphor for the Internet
4. EMC Atmos
Technology EMC2 corporation which provides to build
a cloud infrastructure to efficiently manage and
distribute information
Scaling to a multi-petabyte data
5. Features
Policy-based information management
GeoProtect
Object metadata
Choice of access mechanisms
Versioning
Compression
Deduplication
Programmer friendly API
6. Atmos Online
EMC Atmos Online is a cloud service based on
the EMC Atmos storage product.
Storage Service
Compute Service
7. API
Connecting to the server
esuAPI = new EsuRestApi(HOST, PORT, FULLTOKENID, SECRETKEY)
Creating an Object using an Instance of UploadHelper
UploadHelper uploadHelper = new UploadHelper(esuAPI);
String objID = null;
try {
ObjectId oId = uploadHelper.createObject(new
File(LOCALFILEPATH+fileName), null, null);
objID = oId.toString();
System.out.println("Object ID " + oId); }
catch(EsuException ex) {
System.out.println(ex.getMessage());
return null; }
8. API (2)
Retrieving an Object using an Instance of DownloadHelper
private static String objID =
"4980cdb2a510105c04980d6d30039704b0cb90956513";
EsuApi esuAPI = getEsuApi();
byte[] buff = new byte[5000];
DownloadHelper downloadHelper = new DownloadHelper(esuAPI,buff);
try {
File file = new File(LOCALFILEPATH+fileName);
downloadHelper.readObject(new ObjectId(objId),file);
System.out.println("File: " + file + ", exists = " +
file.exists()); }
catch(EsuException ex) {
System.out.println(ex.getMessage());
}