Duplicate data in front scheme and back scheme?

Assume that a near cache has been defined with a front-scheme and a back-scheme. The front-scheme is a local-scheme and the back-scheme is a distributed-scheme.
Now assume that there is a piece of data for which the current JVM is a master. That is, the data resides in the back cache.
Assume that the JVM accesses that data.
Will this populate the front cache even though the master is in the back cache on the same JVM?
Does Coherence therefore store two copies of the data, one in the front cache, one in the back cache?
Or does Coherence realize that the requested data is in the back cache on the same JVM, and therefore doesn't make another copy and populate the front cache, but instead simply redirects the get call to it's own back cache?
This basically has memory implications and I'm trying to configure a cache that works on a single JVM as well as a cluster. I am trying to get away with having just the one configuration file for coherence irrespective of whether the application is on a single storage enabled node, or a cluster.
I cannot tell from the diagram in the Developer Guide at http://docs.oracle.com/cd/E24290_01/coh.371/e22837/cache_intro.htm#BABCJFHE
because I'm not sure whether the front/local cache for JVM1 has not been shown as populated with A because it is the master for A, or because JVM 1 never accessed A.

926349 wrote:
Assume that a near cache has been defined with a front-scheme and a back-scheme. The front-scheme is a local-scheme and the back-scheme is a distributed-scheme.
Now assume that there is a piece of data for which the current JVM is a master. That is, the data resides in the back cache.
Assume that the JVM accesses that data.
Will this populate the front cache even though the master is in the back cache on the same JVM?
Yes, it will, if access is via the near cache.
Does Coherence therefore store two copies of the data, one in the front cache, one in the back cache?
Yes, but with usual usage patterns the front-map is size limited, so it will hold the just pk-accessed entry in the front map, but it may evict other entries from the front map, so the front-map may not be a full duplicate of the entire data-set.
Or does Coherence realize that the requested data is in the back cache on the same JVM, and therefore doesn't make another copy and populate the front cache, but instead simply redirects the get call to it's own back cache?
Nope, no such logic is in place. On the other hand, as I mentioned front-map is usually size-limited, and also the storage nodes don't have to access the cache via the front-map, they can go directly to the distributed cache by getting the back-cache from the near cache instance.
This basically has memory implications and I'm trying to configure a cache that works on a single JVM as well as a cluster. I am trying to get away with having just the one configuration file for coherence irrespective of whether the application is on a single storage enabled node, or a cluster.
You should not try to. You should always choose the correct topology and configuration for the actual use case. There is no one-size-optimally-fits-all solution.
Best regards,
Robert

Similar Messages

  • Front end and Back end experience in SAP BW

    Hi Friends...
         Can ne1 plz explain wht things in SAP BW come under Front end and Back end experience......Thanks in advance

    Generally, back-end would consist of the taks associated with configuration of data targets (ODS, Cubes), working with extractors, mapping data to the data targets, writing transfer/start rtn/update rules, and creating Infopkgs/ Process Chains.
    Front-end deals with the use of the BW - writing queries, workbooks, web (although I think some of the infrastructure aspects of web reporting. e.g. javascript/templates might really could be considered backend).  Think of Front-end as all of the client/customer/user facing components.

  • Authentication with UME separation of front end and back end

    My webdynpro project has 2 application. One for Admin one for Rating.
    Is it possible to create a java class at Webdynpro level and share it between the 2 applications?
    Why the need?
    Created a custom class (lets called it CommonEJB), to point to the right pages and set of UI controls after the initial login with UME. This class utilizes the IWDClientUser.getSAPUset() method to get IUser object.
    If it is not possible to create a java class at Webdynpro, then this ejb will need to be deployed to the backend.
    Putting it at the backend is not good as security wise, its always better to separate the authentication between front and back end.
    Any ideas/solutions?
    thanks

    s0003358504
    au-?Krup
    LDAP
    ==============================================
    Computer Associates Int'l  [eTrust Directory]  
    Critical Path  [CP Directory Server (CP DS)]  
    Microsoft  [Windows 2000 Active Directory Server]  
    Microsoft  [Windows 2003 Server - Active Directory]  
    Netscape Communications  [Netscape Directory Server]   
    Novell  [DirXML Driver for User Management]  
    Novell  [Novell DirXML Driver for SAP HR/PA]  
    Novell  [Novell eDirectory]  
    Oracle Deutschland  [Oracle Internet Directory (OID)]  
    Siemens  [DirX Directory Server]  
    Siemens  [DirX Extranet Edition]  
    Sun Microsystems  [Sun Java System Directory Server] 
    •     Test Objectives
    •     Testing Scope
    •     Test Approach
    •     Test Environment
    •     Test Data
    •     Entry / Exit Criteria
    •     Risks
    •     Schedule and Resources
    •     SIT Deliverables
    •     Test Planning Source Documents
    Well, i wish to create a java class that can separate the view areas depending on their login.
    lets say you're a manager, u can see certain views. and if you're a supervisor u see another. This is achieved using the java class with information from getSAPUser() position. After retrieving the position, using the java class will programmatically assigned the appropriate views, buttons, tabs etc.
    so this class need to in front end, and not back end. problem is we have 2 application.
    if the class is created front end in one application can it be shared with another.

  • Context,Physical schema and Logical schema

    Hi,
    How the context,physical schema,logical schema and agent are interrelated.
    Please explain
    Thanks
    Jack

    Hi Jack,
    Context:
    A context is a set of resources allowing the operation or simulation of one or more data processing applications. Contexts allow the same jobs (Reverse, Data Quality Control, Package, etc) to be executed on different databases and/or schemas.
    Its used to run the object(process) in different database.
    Physical Schema:
    The physical schema is a decomposition of the data server, allowing the Datastores (tables, files, etc) to be classified. Objects stored in data servers with this mode of classification can be accessed by specifying the name of the schema attached to the object name.
    Ex
    Oracle classifies its tables by "schema" (or User). Each table is linked to a schema, thus SCOTT.EMP represents the table EMP in the schema SCOTT.
    Logical schema:
    A logical schema is an alias that allows a unique name to be given to all the physical schemas containing the same datastore structures.
    ->The aim of the logical schema is to ensure the portability of the procedures and models on the different physical schemas. In this way, all developments in ODI Designer are carried out exclusively on logical schemas.
    Thanks
    Madha

  • How to connect sql developer OE schema and Hr schema,

    Hi ,
    I downloaded Oracle 10g express edition and SQL developer downloaded in my computer, I don't know how to connect to OE and HR schema, by default the SQL developer and Oracle 10g has only sytem and sys database. And as well I wanted to migrate datas from third party datas , could anyone please , pllease guide me. I am new to this field and just started to learn. what is listener and how to activate Listener and Repositary
    Please guide me.
    Thanks in advance
    Chan

    The HR schema installs fine in XE, but the OE schema doesn't quite. I've done it, but there will be errors. The reason is that the OE schema uses some features of XML DB that are not supported in XE. If you want to use the OE schema in XE and you don't mind if it isn't a complete OE schema, then you can get the installation scripts from an Oracle SE or EE installation.
    You can also get it from the companion disk for Oracle SE or EE, but this is a bit challenging, because you can't get it by running OUI unless you first install Oracle SE or EE. You need to run an archive utility like WinZip or 7-Zip and look for the scripts inside a compressed file - I forget which one, but I'll look it up if you like. Oh, and since the OE schema isn't really supposed to be installed on XE, Oracle does not support any of the methods for putting it there.

  • Removing admin password form Access 2003 database front end and back end

    We have a legacy database that has been passed down from the original creator, who is no longer with the organization. It was created in Access 2003. It has a front end and a back end. The original admin password can not be located and we are in the process
    of upgrading this application to 2010.  Is there a way to remove that password so we can make changes to the original files?

    Hi,
    What password are you talking about, the one created with the workgroup manager? That will be difficult since 2010 doesn't have the workgroup manager anymore. You can still use the database in the 2010 environment but you can't make any changes to the original
    database without the password.
    Maurice

  • How do i avoid duplicate data when synching iphone and mac book to the cloud?

    When I left my job for the last time I uploaded my Microsoft Outlook Contacts to the Cloud so that I could synch it with my Iphone (which I did).  Now I would like to also synch the Address Book on my Macbook  with the Cloud and my Iphone so I can integrated all of these contacts.  First I do not know if I can do this since my MACbook is a few years old aand I do not see the Cloud Icon anywhere on it.   Second of all I am not sure which area (Cloud, Iphone, or Macbook) take precedence when synching.   Can I lose data?  Does one systems dat over ride the other?  How can I avoid duplicate data?    I am a fairly new Mac user and  love the way things are integrated so I think I should not worry but I need help.  thanks, tdag55

    Hi meadowD,
    If you are looking to remove duplicate files from iTunes, you may find the following article useful (in the most recent versions of iTunes 11, the Display/Show Duplicate Items option has been moved to the View menu):
    Apple Support: How to find and remove duplicate items in your iTunes library
    http://support.apple.com/kb/ht2905
    Cheers,
    - Brenden

  • Front end and back end questions

    Hi,
    If I want to develop a web base SOA application by using Jcaps, I have several question want to ask.
    1.) In the front end, if i create the page by using eVision to create the page
    flow and the page layout, how can I match the fields of the page (such
    as the username, email, tel no... with the back end web services?
    2.) Does the flow of the front end web pages are control by the page flow in
    eVision? When will the eVision supported AJAX or JSF?
    3.) What is the use of the eInsight Business process manager, does it
    control all the back end flow, such as the flow of each web services?
    Does Jcaps has the Bpel engine to control the flow of web services?
    4.) I know that in JBoss, there is a jBPM server to control the flow of the front
    end pages, does JCAPS has this kind of server?
    5.) If i want to connect to the Database? I know that there is a eTL to extract
    the data from the database, it is true? Or do u recommend to connect the
    database directly through the web services by using JDBC or other
    framework as well?
    6.) If I have an existing application that is developed by .Net (With no web
    services). How can i integrate with other systems? What can I do in order
    to reuse the system? Or what Jcaps can do in this manner?
    Thanks for you reply! ^ ^

    Generally, back-end would consist of the taks associated with configuration of data targets (ODS, Cubes), working with extractors, mapping data to the data targets, writing transfer/start rtn/update rules, and creating Infopkgs/ Process Chains.
    Front-end deals with the use of the BW - writing queries, workbooks, web (although I think some of the infrastructure aspects of web reporting. e.g. javascript/templates might really could be considered backend).  Think of Front-end as all of the client/customer/user facing components.

  • Data from Front end to Back end of ALV Grid

    Hi Experts,
    I developed interactive ALV for maintaining master data for some BW Objects. I also included custom F4 for all fields.
    Problem:
    When entered new record or modified a record by using F4 help of fields, it doesn't work properly. For collecting front end data i wrote below specified code.
    for new record insert.
    METHOD handle_data_changed.
        DATA: mod_cell        TYPE lvc_s_modi,
              del_row TYPE lvc_s_moce,
              del_index TYPE i,
              new_index TYPE sy-tabix.
        DATA:   l_assum TYPE /bic/pzassum-/bic/zassum,
                l_assum_modl TYPE /bic/pzassum-/bic/zass_mdl,
                l_assum_typ TYPE /bic/pzassum-/bic/zass_typ,
                l_drv_assum TYPE /bic/pzassum-/bic/zdriver,
                l_infl_assum TYPE /bic/pzassum-/bic/zinflate,
                l_sht_text TYPE /bic/tzassum-txtsh,
                l_mdm_text TYPE /bic/tzassum-txtmd.
        CLEAR error_record.
      IF e_onf4 IS INITIAL.
    ******Get Inserted Data from Frontend
       CALL FUNCTION 'MESSAGES_INITIALIZE'.
        IF er_data_changed->mt_inserted_rows IS NOT INITIAL.
          IF er_data_changed->mt_mod_cells IS NOT INITIAL.
           REFRESH : gt_inserted_data,gt_inserted_text.
            LOOP AT er_data_changed->mt_mod_cells INTO mod_cell.
              CALL METHOD er_data_changed->get_cell_value
                EXPORTING
                  i_row_id    = mod_cell-row_id
                  i_fieldname = '/BIC/ZASSUM'
                IMPORTING
                  e_value     = l_assum.
              wa_changed_data-/bic/zassum = l_assum.
              CALL METHOD er_data_changed->get_cell_value
                EXPORTING
                  i_row_id    = mod_cell-row_id
                  i_fieldname = '/BIC/ZASS_MDL'
                IMPORTING
                  e_value     = l_assum_modl.
              wa_changed_data-/bic/zass_mdl = l_assum_modl.
              CALL METHOD er_data_changed->get_cell_value
                EXPORTING
                  i_row_id    = mod_cell-row_id
                  i_fieldname = '/BIC/ZASS_TYP'
                IMPORTING
                  e_value     = l_assum_typ.
              wa_changed_data-/bic/zass_typ = l_assum_typ.
              CALL METHOD er_data_changed->get_cell_value
                EXPORTING
                  i_row_id    = mod_cell-row_id
                  i_fieldname = '/BIC/ZDRIVER'
                IMPORTING
                  e_value     = l_drv_assum.
              IF sy-subrc = 0.
                wa_changed_data-/bic/zdriver = l_drv_assum.
              ENDIF.
              CALL METHOD er_data_changed->get_cell_value
                EXPORTING
                  i_row_id    = mod_cell-row_id
                  i_fieldname = '/BIC/ZINFLATE'
                IMPORTING
                  e_value     = l_infl_assum.
              IF sy-subrc = 0.
                wa_changed_data-/bic/zinflate = l_infl_assum.
              ENDIF.
              CALL METHOD er_data_changed->get_cell_value
                EXPORTING
                  i_row_id    = mod_cell-row_id
                  i_fieldname = 'TXTSH'
                IMPORTING
                  e_value     = l_sht_text.
              IF sy-subrc = 0.
                wa_changed_text-txtsh = l_sht_text.
              ENDIF.
              CALL METHOD er_data_changed->get_cell_value
                EXPORTING
                  i_row_id    = mod_cell-row_id
                  i_fieldname = 'TXTMD'
                IMPORTING
                  e_value     = l_mdm_text.
              wa_changed_text-txtmd = l_mdm_text.
              APPEND wa_changed_data TO gt_inserted_data.
              wa_changed_text-/bic/zassum = wa_changed_data-/bic/zassum.
              APPEND wa_changed_text TO gt_inserted_text.
            ENDLOOP.
            DELETE ADJACENT DUPLICATES FROM gt_inserted_data.
            DELETE ADJACENT DUPLICATES FROM gt_inserted_text.
          ENDIF.
    For Modified Record
    IF er_data_changed->mt_mod_cells IS NOT INITIAL AND
                  er_data_changed->mt_inserted_rows IS INITIAL.
         REFRESH : gt_modified_text,gt_modified_data.
         REFRESH : gt_valid_text,gt_modified_text.
          LOOP AT er_data_changed->mt_mod_cells INTO mod_cell.
            row_index = mod_cell-row_id.
            CALL METHOD er_data_changed->get_cell_value
              EXPORTING
                i_row_id    = mod_cell-row_id
                i_fieldname = '/BIC/ZASSUM'
              IMPORTING
                e_value     = l_assum.
            wa_changed_data-/bic/zassum = l_assum.
            CALL METHOD er_data_changed->get_cell_value
              EXPORTING
                i_row_id    = mod_cell-row_id
                i_fieldname = '/BIC/ZASS_MDL'
              IMPORTING
                e_value     = l_assum_modl.
            wa_changed_data-/bic/zass_mdl = l_assum_modl.
            CALL METHOD er_data_changed->get_cell_value
              EXPORTING
                i_row_id    = mod_cell-row_id
                i_fieldname = '/BIC/ZASS_TYP'
              IMPORTING
                e_value     = l_assum_typ.
            wa_changed_data-/bic/zass_typ = l_assum_typ.
            CALL METHOD er_data_changed->get_cell_value
              EXPORTING
                i_row_id    = mod_cell-row_id
                i_fieldname = '/BIC/ZDRIVER'
              IMPORTING
                e_value     = l_drv_assum.
            IF sy-subrc = 0.
              wa_changed_data-/bic/zdriver = l_drv_assum.
            ENDIF.
            CALL METHOD er_data_changed->get_cell_value
              EXPORTING
                i_row_id    = mod_cell-row_id
                i_fieldname = '/BIC/ZINFLATE'
              IMPORTING
                e_value     = l_infl_assum.
            IF sy-subrc = 0.
              wa_changed_data-/bic/zinflate = l_infl_assum.
            ENDIF.
            CALL METHOD er_data_changed->get_cell_value
              EXPORTING
                i_row_id    = mod_cell-row_id
                i_fieldname = 'TXTSH'
              IMPORTING
                e_value     = l_sht_text.
            IF sy-subrc = 0.
              wa_changed_text-txtsh = l_sht_text.
            ENDIF.
            CALL METHOD er_data_changed->get_cell_value
              EXPORTING
                i_row_id    = mod_cell-row_id
                i_fieldname = 'TXTMD'
              IMPORTING
                e_value     = l_mdm_text.
            wa_changed_text-txtmd = l_mdm_text..
            APPEND wa_changed_data TO gt_modified_data.
            wa_changed_text-/bic/zassum = wa_changed_data-/bic/zassum.
            APPEND wa_changed_text TO gt_modified_text.
          ENDLOOP.
          DELETE ADJACENT DUPLICATES FROM gt_modified_data.
          DELETE ADJACENT DUPLICATES FROM gt_modified_text.
        ENDIF.
    Custom F4 is working properly.
    Below i am specifing one test case which is my program failed.
    i entered  2 new records by choosing F4 help. The 2nd record only inserted in data base.
    Please help me....
    Thanks in Advance

    Hello Siva
    Some people like to do extensive coding in the event handler method for DATA_CHANGED.
    I do NOT belong to these people.
    My recommendation is (almost) always the same:
    - If required store values in (static) attributes of your event handler class / instance
    - Trigger PAI (using method CL_GUI_CFW=>SET_NEW_OK_CODE)
    At PAI of your screen you can now easily work with your OUTTAB itab used for the ALV list.
    Regards
      Uwe

  • Front-end and back-end

    Hi experts,
    My client is having an integration with a Warehouse Management System. Obviously, SAP Business One is going to be back-end. Our job is to suck in all the transactions occurred from the front-end system. Here is the requirement and the problem, a Credit Note based on an A/R Invoice. It can be done manually by putting in the BaseEntry, BaseLine and BaseType in the credit note document lines template. Common sense, who the hell is going to do that, not the users.
    Data is extracted from WMS system into .txt file(tab delimited).The WMS consultant is refused to generate 3 new columns to indicate BaseEntry, BaseLine and BaseType which are not making any sense as they are front-end system(not accounting). I would like to know how can we(SAP) know the BaseEntry, BaseType and BaseLine during migration?
    Please advice.
    Thank you.
    Regards,
    Lim Tou Lead

    Hi!
    Why your front end system doesn't having any link between its AR invoice and Credit Note ?
    If its there use that as a tracking mech.
    Also, if you planned to go with SAP DTW, you can't get the BaseType,Num... You need to write a SDK import which should extract the details (Baseref,type) with the help of the refrence from front end system

  • Physical Schema and logical schema

    Hi,
    When creating the data server in the topology corresponding to the appropriate technology we are creating a physical schema. But then why do we need to create logical schema. Is it created for execution of the interface? And can multiple physical schemas be mapped to same logical schema?

    Hi
    Physical schema represents the actual connection to the data source or data target. Logical schema represents the logical name associated to that source or target.
    One logical schema can be associated with multiple physical schema along with context, i.e. one logical schema is associated with different physical schema using different context.
    It can be understood with following example:
    You have 3 environments: Dev, QA, Prod, each having different database servers as DB1, DB2, DB3, respectively. Similarly we have 3 context corresponding to Dev, QA and Prod. You create logical schema with name DB_source
    Now you associate physical DB servers to logical schema (DB_source) for each context:
    DEV: DB1
    QA: DB2
    PROD: DB3
    Now when u develop ODI interfaces, you use one context DEV which associates DB_source to DB1. While mentioning context for execution, keep it as "Execution". This means, whatever context you choose during execution, corresponding physical DBs will be used.
    Thus if you change the execution context, corresponding physical schema will be used during execution.
    Let me know if you have further questions !!

  • Noob questions about front row and back up...

    Dear all,
    Please can you assist with the following for a proud new mac owner?
    1) Why do some songs/albums not play in front row but work in itunes?
    2) I have an external hard drive, iomega 500gb, which is very noisy. So i keep it switched off from the back. Can time machine still back up or does the external HDD have to be switched on?
    Many thanks...

    Hi Fireball Dragon
    1. I don't have a definite answer for you, but it sounds like a problem with your iTunes Library or the way you Imported your music into it. Go to: *Applications > Utilities > Disk Utility* and run *Disk Utility Repair Permissions.*
    Also how are you selecting Music to play in Front Row, Shuffle or by Albums, Artist, Songs?
    2. No Time Machine will not backup with the External HD turned off, but it will resume backup as soon as it is switched on mounted. I personally don't run Time Machine backups every hour, I only switch it on for a few backups every day or after adding important files.
    Dennis

  • Differnec in front end and back end of ESS record time from ABAP point

    HI Expert,
    Here I need information regarding employee working time.
    Quary is we are trying to restricts the records entered in time sheet through user exit CATS0006.
    Here in CATS0006 one table is there CHECK_TABLE.
    when I am executing time sheet from back end(t code  CAT2) the table Check_table is having forward and backword 6 weeks data from the key date and date_from and date_to fields have correct value for week start and end.So that I am able to validate records.
    But when I am executing from ESS>Working time>Record working time and set an external debugger on CATS0006 I got that at this time CHECK_TABLE has only edited entry and date_from and date_to field value are also not correct one.
    Please suggest what may the cause of problem ,is it the case with your system as well?
    Is it a problem with SAP standard code?
    << Moderator message - Please do not promise points >>
    << Moderator message - The answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
    Thanks,
    Subhashree.
    Edited by: Rob Burbank on Dec 2, 2011 9:26 AM

    Hi,
    What password are you talking about, the one created with the workgroup manager? That will be difficult since 2010 doesn't have the workgroup manager anymore. You can still use the database in the 2010 environment but you can't make any changes to the original
    database without the password.
    Maurice

  • My iphone 4s front glass and back is smashed, how much would it cost to get it replaced by apple?

    Live in perth, im still under warranty but i understand that wont cover the damage. i just want to know how much would it cost to get it replaced for a new ipphone 4s or  fixed. the phone is still working. thank you

    These are the prices in Australia:

  • Connecting the source and target schemas to ODI

    Hi ,
    I have recently started learning ODI tool for data integration. I need to use this tool as a part of Deal Management product related work.
    I have gone thru the documentation available in OTN for ODI. they were describing everything using the demo environment.
    problem:
    Can any one please tell me how to connect source schema and target schema to the ODI ...?
    Both the source and target schema are in the Oracle database of the loaclhost.

    Hi,
    Right Click ur Dataserver , In the bottom u will have option insert physical schema.
    Click that u will have window opened........
    In the Definition Tab:
    Specify ur Schema name and Work schema .......u r going to use .
    Enable the default option also....
    In Context Tab:
    Specify ur context Name and Type in the Name u want to have for ur logical Schema, it autmatically creates the logical schema ...for u.
    and click ok .
    hope it helps u.....
    Thanks
    AK

Maybe you are looking for

  • Start screen tile

    Hi all, I am running out of idea about a problem I have. I am migrating a computer from Windows 7 SP1 to Windows 8.1 Update using ConfigMgr 2012 R2 and USMT 6.3. During the deployment of any Windows 8.1 Update image I am forcing the Start Screen disp

  • URGENT!!! -5800 is being deaded- URGENT!!!

    Hi People, I have had my Nokia 5800 for about 6 months, and I have always gloated at my aunt with her N97 but now I fear it is my time to be laughed at as my 5800 is in a coma you could say! Here's the problem, so read carefully!: I woke up one morni

  • Converting adobe reader pdf to excel

    I have opened up a pdf in acrobat reader. I have purchased the basic account but cannot convert to excel. how do i do this?

  • Magenta color cast problem on canon 7d raw files

    when i import canon raw files (cr2) into lightroom 3, i get a magenta color cast over the whole image. the thumbnail image looks fine, but when lightroom opens up the image, it get's a magenta color cast over the whole thing. i shot raw+jpeg mode too

  • Yahoo Messenger and Skype always crash when I use VOICE CALL.

    Whenever I try to use voice call from YM or skype, they start to get stuck and crash immediately. I don't think it's the software problem, because I've uninstall and reinstall again and again the both softwares. There must be something that I need to