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
library (open source), the
your choice of hardware architecture and programming language, there are many, many more
examples as well.
Copyright © 2010 Caringo, Inc.
All rights reserved
Microsoft .NET
framework, and
12
Java Apache Commons
libCURL
(open source). Depending on
client
Version 5.0
December 2010