[ 
https://issues.apache.org/jira/browse/JAMES-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Trần Tiến Đức updated JAMES-2838:
---------------------------------
    Description: 
Proposal
 Upon default bucket, rely on the existing table (not containing "bucketName")

Introduce some new tables to leverage storage when bucket is specified:

 
{code:java}
BucketedBlobs
 PK BucketName
 PK BlobId
 C chunkCount


BucketedBlobParts
 PK BucketName
 PK BlobId
 CK chunkNumber 
 C data
{code}
 

Benefits: easy to implement

Drawbacks: expensive to delete a Bucket (full blobStore iteration) - Can it be 
mitigated with a timeSerie allowing blob listing? (this looks like too early 
anticipation...)

  was:
Proposal
Upon default bucket, rely on the existing table (not containing "bucketName")


Introduce some new tables to leverage storage when bucket is specified:

 
{code:java}
BucketedBlobs
 PK BucketName
 PK BlobId
 C chunkCount
BucketedBlobParts
 PK BucketName
 PK BlobId
 CK chunkNumber 
 C data
{code}
 


Benefits: easy to implement


Drawbacks: expensive to delete a Bucket (full blobStore iteration) - Can it be 
mitigated with a timeSerie allowing blob listing? (this looks like too early 
anticipation...)


> [New Vault] CassandraBlobStore should deal with buckets
> -------------------------------------------------------
>
>                 Key: JAMES-2838
>                 URL: https://issues.apache.org/jira/browse/JAMES-2838
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Trần Tiến Đức
>            Priority: Major
>
> Proposal
>  Upon default bucket, rely on the existing table (not containing "bucketName")
> Introduce some new tables to leverage storage when bucket is specified:
>  
> {code:java}
> BucketedBlobs
>  PK BucketName
>  PK BlobId
>  C chunkCount
> BucketedBlobParts
>  PK BucketName
>  PK BlobId
>  CK chunkNumber 
>  C data
> {code}
>  
> Benefits: easy to implement
> Drawbacks: expensive to delete a Bucket (full blobStore iteration) - Can it 
> be mitigated with a timeSerie allowing blob listing? (this looks like too 
> early anticipation...)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to