Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-11 Thread Marius Petria
Hi, I would add another use case in the same area, even if it is more problematic from the point of view of security. To better support load spikes an application could return 302 redirects to (signed) S3 urls such that binaries are fetched directly from S3. (if this can already be done or yo

Re: API proposal for - Expose URL for Blob source (OAK-1963)

2016-05-09 Thread Marius Petria
Hi, Can the uses cases presented by Chetan be solved the other way around? Instead of exposing implementation details via JCR/OAK API maybe it is possible to include the blobid in the S3 id/filename (a prefix?), such that external applications can identify external resources based on their oak

Re: [Observation] Question on local events reported as external

2015-06-25 Thread Marius Petria
/apache/jackrabbit/oak/spi/commit/BackgroundObserver.java#L278 On 6/25/15, 9:49 PM, "Chetan Mehrotra" wrote: >On Thu, Jun 25, 2015 at 10:49 PM, Marius Petria wrote: >> AFAIU because the local events are changed to external events it means that >> they can also be dro

Re: [Observation] Question on local events reported as external

2015-06-25 Thread Marius Petria
- CommitRateLimiter >2. Have a non limiting queue - Then you end up with OOM if gap in >processing rate is large >Chetan Mehrotra > > >On Thu, Jun 25, 2015 at 8:47 PM, Marius Petria wrote: >> Hi, >> >> I understand that under high load local events can be report

[Observation] Question on local events reported as external

2015-06-25 Thread Marius Petria
Hi, I understand that under high load local events can be reported as external. My question is why does this happen also for tarmk, where there is a single instance active (receiving external events on a single instance seems odd)? Also, is there a way to disable this functionality, meaning on

Re: svn commit: r1663526 - in /jackrabbit/oak/trunk/oak-core/src: main/java/org/apache/jackrabbit/oak/plugins/document/ main/java/org/apache/jackrabbit/oak/plugins/document/memory/ main/java/org/apach

2015-03-03 Thread Marius Petria
Hi Chetan, I commented also on the issue. Probably the best approach would be to register a String[] such that it can be read by PropertiesUtil.toMap (key=value). I think is the “standard” way to represent maps in OSGI properties. Marius On 3/3/15, 8:52 AM, "Chetan Mehrotra" wrote: >On

Re: Exposing mongo and db versions for reporting purposes

2015-02-10 Thread Marius Petria
On 2/10/15, 4:11 PM, "Chetan Mehrotra" wrote: >@Marius - Can you open an issue for there we can work out the details? Here it is, thanks. https://issues.apache.org/jira/browse/OAK-2499

Exposing mongo and db versions for reporting purposes

2015-02-10 Thread Marius Petria
Hi, For reporting purposes I need to find out from java the MK type and also for mongo version and the info about used DB make/version? Chetan suggested that such information can be exposed "when we register a {{NodeStore}} instances within OSGi we can also add a service property which capture

Re: ObservationManager's userData in Oak

2014-10-08 Thread Marius Petria
On 10/7/14, 11:27 PM, "Michael Dürig" wrote: > > >On 7.10.14 10:30 , Tommaso Teofili wrote: >> 2014-10-07 18:15 GMT+02:00 Rob Ryan : >> >>> I'm not so sure about the conclusion that because the events of >>>interest >>> are local you can safely use userData. IIUC under heavy load local >>>event