Re: Implementing separate Cache for Synapse

2011-01-09 Thread Udayanga Wickramasinghe
Hi, On Mon, Jan 10, 2011 at 12:20 PM, indika kumara wrote: > Udayanga, if you are going to implement a cache, please have a look at the > 'Caching Application Block'[1]'. Furthermore, have a look at the .Net cache > architecture (or any other research). Also you may use wso2's cache > implementat

Re: Implementing separate Cache for Synapse

2011-01-09 Thread Ruwan Linton
Folks, We (Supun, Indika, Udayanga and myself) had an off-line chat on this and we have decided to start with refactoring the existing caching capability and trying to improve it. Ruwan On Mon, Jan 10, 2011 at 12:20 PM, indika kumara wrote: > Udayanga, if you are going to implement a cache, ple

Re: Implementing separate Cache for Synapse

2011-01-09 Thread indika kumara
Udayanga, if you are going to implement a cache, please have a look at the 'Caching Application Block'[1]'. Furthermore, have a look at the .Net cache architecture (or any other research). Also you may use wso2's cache implementation with or without modifications. Re-usability is key as the cache i

[jira] Commented: (SYNAPSE-715) Refactoring and improving the code in HttpCoreNIOListener, ServerHandler and ServerWorker classes

2011-01-09 Thread Amila Maharachchi (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979487#action_12979487 ] Amila Maharachchi commented on SYNAPSE-715: --- Thanks Ruwan and Supun for your kin

Re: Implementing separate Cache for Synapse

2011-01-09 Thread Supun Kamburugamuva
I think cache is not something a user should think in terms of mediation. So I'm thinking that it should go in to a separate file. Only the people who write code will see the cache. This lead us to think about the Registry definition in the synapse.xml as well. The registry definition that is in t

[jira] Commented: (SYNAPSE-715) Refactoring and improving the code in HttpCoreNIOListener, ServerHandler and ServerWorker classes

2011-01-09 Thread Supun Kamburugamuva (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979485#action_12979485 ] Supun Kamburugamuva commented on SYNAPSE-715: - I was thinking about request as

Re: Implementing separate Cache for Synapse

2011-01-09 Thread Ruwan Linton
Also you have neglected my question on the relation to the configuration language with this, or are you planning to make this completely transparent from the user? Ruwan On Mon, Jan 10, 2011 at 11:52 AM, Ruwan Linton wrote: > > > On Mon, Jan 10, 2011 at 11:35 AM, Udayanga Wickramasinghe < > uday

Re: Implementing separate Cache for Synapse

2011-01-09 Thread Ruwan Linton
On Mon, Jan 10, 2011 at 11:35 AM, Udayanga Wickramasinghe wrote: > Hi Ruwan, > > On Mon, Jan 10, 2011 at 10:32 AM, Ruwan Linton wrote: > >> Udayanga, may I know some usecases for this cache implementation?? Synapse >> is not designed for the users to interact with the API directly. It has a >> co

Re: Implementing separate Cache for Synapse

2011-01-09 Thread Udayanga Wickramasinghe
Hi Ruwan, On Mon, Jan 10, 2011 at 10:32 AM, Ruwan Linton wrote: > Udayanga, may I know some usecases for this cache implementation?? Synapse > is not designed for the users to interact with the API directly. It has a > configuration language to access the API (in most of the cases, apart from > t

[jira] Commented: (SYNAPSE-715) Refactoring and improving the code in HttpCoreNIOListener, ServerHandler and ServerWorker classes

2011-01-09 Thread Ruwan Linton (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979481#action_12979481 ] Ruwan Linton commented on SYNAPSE-715: -- 1. It looks to me that you have mixed context

[jira] Updated: (SYNAPSE-715) Refactoring and improving the code in HttpCoreNIOListener, ServerHandler and ServerWorker classes

2011-01-09 Thread Amila Maharachchi (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amila Maharachchi updated SYNAPSE-715: -- Attachment: synapse_nhttp_refactor_2.patch Thanks for the feedback. I renamed the clas

[jira] Commented: (SYNAPSE-715) Refactoring and improving the code in HttpCoreNIOListener, ServerHandler and ServerWorker classes

2011-01-09 Thread Supun Kamburugamuva (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979476#action_12979476 ] Supun Kamburugamuva commented on SYNAPSE-715: - I think it is better to rename

[jira] Updated: (SYNAPSE-715) Refactoring and improving the code in HttpCoreNIOListener, ServerHandler and ServerWorker classes

2011-01-09 Thread Amila Maharachchi (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amila Maharachchi updated SYNAPSE-715: -- Attachment: synapse_nhttp_refactor.patch I thought of introducing a new class Listener

[jira] Updated: (SYNAPSE-716) Supporting Message Copying and Content Enriching with Enrich Mediator

2011-01-09 Thread Kasun Indrasiri (JIRA)
[ https://issues.apache.org/jira/browse/SYNAPSE-716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kasun Indrasiri updated SYNAPSE-716: Attachment: enrich-mediator-j10.patch > Supporting Message Copying and Content Enriching w

[jira] Created: (SYNAPSE-716) Supporting Message Copying and Content Enriching with Enrich Mediator

2011-01-09 Thread Kasun Indrasiri (JIRA)
Supporting Message Copying and Content Enriching with Enrich Mediator - Key: SYNAPSE-716 URL: https://issues.apache.org/jira/browse/SYNAPSE-716 Project: Synapse Issue Type:

[jira] Created: (SYNAPSE-715) Refactoring and improving the code in HttpCoreNIOListener, ServerHandler and ServerWorker classes

2011-01-09 Thread Amila Maharachchi (JIRA)
Refactoring and improving the code in HttpCoreNIOListener, ServerHandler and ServerWorker classes - Key: SYNAPSE-715 URL: https://issues.apache.org/jira/browse/SYNAPSE

Re: Implementing separate Cache for Synapse

2011-01-09 Thread Ruwan Linton
Udayanga, may I know some usecases for this cache implementation?? Synapse is not designed for the users to interact with the API directly. It has a configuration language to access the API (in most of the cases, apart from the Class mediator and so forth, and the class mediator has to be your last

Implementing separate Cache for Synapse

2011-01-09 Thread Udayanga Wickramasinghe
Hi devs, i think it is better we do $subject for Synapse . There is already a cache implementation for synapse which store and manage endpoints, remote entries ,etc. However the problem is all cache related functions are currently done in Synapse configuration and Registry,etc modules, which is no