You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Osma Suominen <os...@helsinki.fi> on 2016/04/18 19:23:12 UTC

JENA-626 Re: Towards release 3.1.0

Hi Saikat!

I'd love to see this merged. I can do a bit of testing if necessary.

Sorry for my ignorance but I couldn't find answers to these questions 
easily in the PR or on Jira:

How is this configured? Is it always on when compiled in? Can the 
parameters (e.g. cache size, maximum TTL) be configured? Is the cache 
stored in RAM, on disk, or is that selectable?

 From my perspective, I'd like to have a cache with a tunable size (say 
1GB of RAM, preferably in some memory-efficient/compressed form), a LRU 
invalidation policy, and a very long TTL (say 1 week or more) unless the 
underlying data changes and thus the cache has to be invalidated, which 
should happen immediately.

We currently use Varnish for this sort of caching but this feature could 
eliminate that dependency, at least for simple setups.

-Osma

18.04.2016, 18:54, Saikat Maitra kirjoitti:
> Hello Andy
>
> Please let me know if this PR can be accommodated in the release and if any
> further changes required.
>
> https://github.com/apache/jena/pull/95
>
> Regards
> Saikat
>
>
>
> On Mon, Apr 18, 2016 at 5:05 PM, Osma Suominen <os...@helsinki.fi>
> wrote:
>
>> Hi Andy!
>>
>> I'm happy with the current state of Jena and would support a release. This
>> time I've been more diligent in using recent snapshots so there should be
>> less chance of problems that surface only around release time.
>>
>> I have no outstanding work that I want to do for jena-text currently.
>> JENA-1134/AnalyzingQueryParser (which you can consider including in the
>> release notes) was the major item for me since the previous release, plus
>> some bugfixes that were done earlier.
>>
>> -Osma
>>
>>
>> On 18/04/16 13:44, Andy Seaborne wrote:
>>
>>> Version 3.1.0 has quite a few good things in it1
>>>
>>> I think it is about time we released it.
>>>
>>> So this is a first ping for anything you want to get done for it.
>>>
>>> As for timing - I can RM it sometime in the next few weeks though it
>>> will have to fit around other things.
>>>
>>>       Andy
>>>
>>> -------------------------------------------
>>>
>>> * New custom functions and aggregate functions
>>>     Added:
>>>     + afn:sprintf (contribution from Alessandro Seganti)
>>>     + The XQuery/XPath Functions and Operators "math:" functions
>>>     + Custom aggregates for stdev etc. (also STDEV etc as keywords).
>>>
>>> * RC features in 3.0.1:
>>>     + In-memory transactional dataset (Adam Soroka )
>>>     + SPARQL extension for CONSTRUCT Quads (Qihong Lin)
>>>
>>> * OSGi fixes (Jaroslav Pullmann)
>>>
>>> * Upgrades:
>>>     jsonld-java : 2.8.2
>>>       jackson 2.6.3
>>>     slf4j 1.7.20
>>>     dexx collections 0.2 -> 0.6 (OSGi)
>>>
>>> * DatasetGraphs & transactions
>>>
>>> * New module jena-cmds
>>>
>>> * Logging - log4j marked <optional>
>>>
>>> * Fuseki: Multiple service per file, shared datasets
>>>
>>> * JSON result fix type: "literal" not "type": "typed-literal"
>>>
>>> * Space saving when parsing (FactoryRDF)
>>>     Parsing RDF now saves space by partial interning RDFTerms
>>>     created during a each parser run.
>>>
>>
>>
>> --
>> Osma Suominen
>> D.Sc. (Tech), Information Systems Specialist
>> National Library of Finland
>> P.O. Box 26 (Kaikukatu 4)
>> 00014 HELSINGIN YLIOPISTO
>> Tel. +358 50 3199529
>> osma.suominen@helsinki.fi
>> http://www.nationallibrary.fi
>>
>


-- 
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.suominen@helsinki.fi
http://www.nationallibrary.fi

Re: JENA-626 Re: Towards release 3.1.0

Posted by Saikat Maitra <sa...@gmail.com>.
Hi Andy,

No problem at all.

Regards
Saikat

On Wed, Apr 20, 2016 at 2:04 AM, Andy Seaborne <an...@apache.org> wrote:

> Saikat,
>
> Sorry this has taken so long to get looked at.
>
>         Andy
>
>

Re: JENA-626 Re: Towards release 3.1.0

Posted by Andy Seaborne <an...@apache.org>.
Saikat,

Sorry this has taken so long to get looked at.

	Andy


Re: JENA-626 Re: Towards release 3.1.0

Posted by Saikat Maitra <sa...@gmail.com>.
Hello Osma,

Thank you for your reply. Please find my replies inline.

Regards
Saikat

On Mon, Apr 18, 2016 at 10:53 PM, Osma Suominen <os...@helsinki.fi>
wrote:

> Hi Saikat!
>
> I'd love to see this merged. I can do a bit of testing if necessary.
>
> Sorry for my ignorance but I couldn't find answers to these questions
> easily in the PR or on Jira:
>
> How is this configured? Is it always on when compiled in? Can the
> parameters (e.g. cache size, maximum TTL) be configured? Is the cache
> stored in RAM, on disk, or is that selectable?
>

[Saikat] Yes, it is always on and running in Fuseki2 jvm. As of now the
cache size and TTL is not configurable and it is configured with maximum
size of 10000. The cache is store in RAM.

>
> From my perspective, I'd like to have a cache with a tunable size (say 1GB
> of RAM, preferably in some memory-efficient/compressed form), a LRU
> invalidation policy, and a very long TTL (say 1 week or more) unless the
> underlying data changes and thus the cache has to be invalidated, which
> should happen immediately.
>

[Saikat] The cache try to evict entries which are not used recently. In
case of update the cache entry is invalidated immediately.

>
> We currently use Varnish for this sort of caching but this feature could
> eliminate that dependency, at least for simple setups.
>
> [Saikat] Yes, I agree.

> -Osma
>
> 18.04.2016, 18:54, Saikat Maitra kirjoitti:
>
>> Hello Andy
>>
>> Please let me know if this PR can be accommodated in the release and if
>> any
>> further changes required.
>>
>> https://github.com/apache/jena/pull/95
>>
>> Regards
>> Saikat
>>
>>
>>
>> On Mon, Apr 18, 2016 at 5:05 PM, Osma Suominen <osma.suominen@helsinki.fi
>> >
>> wrote:
>>
>> Hi Andy!
>>>
>>> I'm happy with the current state of Jena and would support a release.
>>> This
>>> time I've been more diligent in using recent snapshots so there should be
>>> less chance of problems that surface only around release time.
>>>
>>> I have no outstanding work that I want to do for jena-text currently.
>>> JENA-1134/AnalyzingQueryParser (which you can consider including in the
>>> release notes) was the major item for me since the previous release, plus
>>> some bugfixes that were done earlier.
>>>
>>> -Osma
>>>
>>>
>>> On 18/04/16 13:44, Andy Seaborne wrote:
>>>
>>> Version 3.1.0 has quite a few good things in it1
>>>>
>>>> I think it is about time we released it.
>>>>
>>>> So this is a first ping for anything you want to get done for it.
>>>>
>>>> As for timing - I can RM it sometime in the next few weeks though it
>>>> will have to fit around other things.
>>>>
>>>>       Andy
>>>>
>>>> -------------------------------------------
>>>>
>>>> * New custom functions and aggregate functions
>>>>     Added:
>>>>     + afn:sprintf (contribution from Alessandro Seganti)
>>>>     + The XQuery/XPath Functions and Operators "math:" functions
>>>>     + Custom aggregates for stdev etc. (also STDEV etc as keywords).
>>>>
>>>> * RC features in 3.0.1:
>>>>     + In-memory transactional dataset (Adam Soroka )
>>>>     + SPARQL extension for CONSTRUCT Quads (Qihong Lin)
>>>>
>>>> * OSGi fixes (Jaroslav Pullmann)
>>>>
>>>> * Upgrades:
>>>>     jsonld-java : 2.8.2
>>>>       jackson 2.6.3
>>>>     slf4j 1.7.20
>>>>     dexx collections 0.2 -> 0.6 (OSGi)
>>>>
>>>> * DatasetGraphs & transactions
>>>>
>>>> * New module jena-cmds
>>>>
>>>> * Logging - log4j marked <optional>
>>>>
>>>> * Fuseki: Multiple service per file, shared datasets
>>>>
>>>> * JSON result fix type: "literal" not "type": "typed-literal"
>>>>
>>>> * Space saving when parsing (FactoryRDF)
>>>>     Parsing RDF now saves space by partial interning RDFTerms
>>>>     created during a each parser run.
>>>>
>>>>
>>>
>>> --
>>> Osma Suominen
>>> D.Sc. (Tech), Information Systems Specialist
>>> National Library of Finland
>>> P.O. Box 26 (Kaikukatu 4)
>>> 00014 HELSINGIN YLIOPISTO
>>> Tel. +358 50 3199529
>>> osma.suominen@helsinki.fi
>>> http://www.nationallibrary.fi
>>>
>>>
>>
>
> --
> Osma Suominen
> D.Sc. (Tech), Information Systems Specialist
> National Library of Finland
> P.O. Box 26 (Kaikukatu 4)
> 00014 HELSINGIN YLIOPISTO
> Tel. +358 50 3199529
> osma.suominen@helsinki.fi
> http://www.nationallibrary.fi
>