jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Pfister (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3729) S3 Datastore optimizations
Date Wed, 12 Mar 2014 09:18:43 GMT

    [ https://issues.apache.org/jira/browse/JCR-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13931567#comment-13931567

Dominique Pfister commented on JCR-3729:

[~shgupta], there are a couple of issues with your patch:

- Apparently, you restructured the files you touched, so e.g. S3Backend looks like it completely
changed, while instance variables and methods (e.g. write) only moved to another location.
This makes it very hard to review the changes, so please try to change as few lines as possible,
and avoid
changing existing code such as:
-                if (!prevObjectListing.isTruncated()) {
-                    break;
-                }
+                if (!prevObjectListing.isTruncated()) break;
for the latter version doesn't adhere to the coding conventions.
- Then you deleted a couple of production (InMemoryBackend) and test files (TestCaseBase,
TestInMemDs, TestInMemDsCacheOff), are they no longer required?
- Finally, you're adding a system property in TestAll:
+        System.setProperty(
+            TestCaseBase.CONFIG,
+            "C:/sourceCodeGit/granite-modules/temp-crx-ext-s3/crx-ext-s3/src/test/resources/aws.properties");
I doubt this will work in a Non-Windows environment.

> S3 Datastore optimizations
> --------------------------
>                 Key: JCR-3729
>                 URL: https://issues.apache.org/jira/browse/JCR-3729
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: 2.7.4
>            Reporter: Shashank Gupta
>             Fix For: 2.7.5
>         Attachments: JCR-3729.patch
> Following optimizations can be done on S3 Datastore based on customer's/S3 engineers
> *  Use object keys to create partitions in S3 automatically.
> *  Multi-threaded migration of binary files from FileSystem to S3 datastore
> *  Externalize S3 endpoints.
> *  Asynchronous upload file to S3
> *  Slow Startup Of Instance

This message was sent by Atlassian JIRA

View raw message