Dell DX6004S DX Object Storage Application Guide - Page 17

Application Best Practices

Page 17 highlights

Chapter 3. Application Best Practices The following topics in this chapter discuss advanced HTTP features for special purposes or to achieve better performance: • Section 3.1, "Using the Software Development Kit (SDK)" • Section 3.2, "Dynamically Locating DX Storage Nodes" • Section 3.3, "Optimizing Bucket and Domain Operations" • Section 3.4, "Using HTTP Client Libraries" • Section 3.5, "Handling Redirects" • Section 3.6, "Using Range Headers" • Section 3.7, "Multi-Threading" • Section 3.8, "Using Persistent Connections " 3.1. Using the Software Development Kit (SDK) The DX Storage Software Development Kit (SDK) simplifies integration with DX Storage by providing client library support that includes handling for specific SCSP behaviors to programmers developing DX Storage applications. It describes a consistent set of features using a common API in each of several popular programming languages. Please reference the Software Development Kit Overview for additional details. 3.2. Dynamically Locating DX Storage Nodes The ProxyLocator class, available with the SCSP Proxy, enables you to get a list of DX Storage cluster nodes. This list is updated as redirects and other responses are received directly from DX Storage nodes. For more information, see the SDK Overview. 3.3. Optimizing Bucket and Domain Operations DX Storage is optimized for SCSP operations on individual objects. If SCSP operations are performed on domains or buckets, which are centralized resources, you should not make bucket POST or DELETE calls on the high availability code path of your client application. Instead, Dell recommends you perform POST and DELETE on buckets using a separate initialization or setup routine that runs less frequently. 3.4. Using HTTP Client Libraries Since SCSP is a proper subset of HTTP/1.1, application programmers not using the Software Development Kit are encouraged to take advantage of the myriad existing code libraries and frameworks for building HTTP clients. Popular examples include the Java Apache Commons client library (open source), the Microsoft .NET framework, and libCURL (open source). Depending on your choice of hardware architecture and programming language, there are many, many more examples as well. Copyright © 2010 Caringo, Inc. All rights reserved 12 Version 5.0 December 2010

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81

Copyright © 2010 Caringo, Inc.
All rights reserved
12
Version 5.0
December 2010
Chapter 3. Application Best Practices
The following topics in this chapter discuss advanced HTTP features for special purposes or to
achieve better performance:
Section 3.1, “Using the Software Development Kit (SDK)”
Section 3.2, “Dynamically Locating DX Storage Nodes”
Section 3.3, “Optimizing Bucket and Domain Operations”
Section 3.4, “Using HTTP Client Libraries”
Section 3.5, “Handling Redirects”
Section 3.6, “Using Range Headers”
Section 3.7, “Multi-Threading”
Section 3.8, “Using Persistent Connections ”
3.1. Using the Software Development Kit (SDK)
The DX Storage Software Development Kit (SDK) simplifies integration with DX Storage by
providing client library support that includes handling for specific SCSP behaviors to programmers
developing DX Storage applications. It describes a consistent set of features using a common API
in each of several popular programming languages. Please reference the Software Development Kit
Overview for additional details.
3.2. Dynamically Locating DX Storage Nodes
The
ProxyLocator
class, available with the SCSP Proxy, enables you to get a list of DX Storage
cluster nodes. This list is updated as redirects and other responses are received directly from DX
Storage nodes.
For more information, see the SDK Overview.
3.3. Optimizing Bucket and Domain Operations
DX Storage is optimized for SCSP operations on individual objects. If SCSP operations are
performed on domains or buckets, which are centralized resources, you should not make bucket
POST or DELETE calls on the high availability code path of your client application.
Instead, Dell recommends you perform POST and DELETE on buckets using a separate
initialization or setup routine that runs less frequently.
3.4. Using HTTP Client Libraries
Since SCSP is a proper subset of HTTP/1.1, application programmers not using the Software
Development Kit are encouraged to take advantage of the myriad existing code libraries and
frameworks for building HTTP clients. Popular examples include the
Java Apache Commons
client
library (open source), the
Microsoft .NET
framework, and
libCURL
(open source). Depending on
your choice of hardware architecture and programming language, there are many, many more
examples as well.