Fast online processing and heavy data crunching in cluster

Hi,
I have a Coherence cluster and two types of operations I need to perform:
1. Lightweight online processing e.g. updating user profiles etc. This type of processing is invoked by web application and must be very fast, so that application is responsive for the users.
2. Heavy data crunching (data aggregation). This type of processing must occur on hourly basis.
Both types of operations work on the same data.
I would like to minimize the impact of data crunching on online processing. What is the best way of doing it?
Is is possible to "dedicate" part of servers to do the fast, online work and run heavy tasks on other part of cluster?
I can imagine using active-passive sort of architecture, where data crunching is done on passive cluster. Is there any other option, avoiding active-passive pattern?
Best regards,
Jarek

Hi Jarek,
It may be simpler to use different services to dedicate different servers to different tasks, for example:
cache-config.xml:
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
    <caching-scheme-mapping>
        <cache-mapping>
            <cache-name>processing</cache-name>
            <scheme-name>processing</scheme-name>
        </cache-mapping>
        <cache-mapping>
            <cache-name>aggregation</cache-name>
            <scheme-name>aggregation</scheme-name>
        </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
        <distributed-scheme>
            <scheme-name>processing</scheme-name>
            <local-storage system-property="processing.localstorage">false</local-storage>
            <service-name>processing</service-name>
            <backing-map-scheme>
                <read-write-backing-map-scheme>
                    <internal-cache-scheme>
                        <local-scheme/>
                    </internal-cache-scheme>
                    <cachestore-scheme>
                        <class-scheme>
                            <class-name>MyCacheStore</class-name>
                            <init-params>
                                <init-param>
                                    <param-type>string</param-type>
                                    <param-value>aggregation</param-value>
                                </init-param>
                            </init-params>
                        </class-scheme>
                    </cachestore-scheme>
                </read-write-backing-map-scheme>
            </backing-map-scheme>
            <autostart>true</autostart>
        </distributed-scheme>
        <distributed-scheme>
            <scheme-name>aggregation</scheme-name>
            <local-storage system-property="aggregation.localstorage">false</local-storage>
            <service-name>aggregation</service-name>
            <backing-map-scheme>
                <local-scheme/>
            </backing-map-scheme>
            <autostart>true</autostart>
        </distributed-scheme>
    </caching-schemes>
</cache-config>MyCacheStore.java:
import com.tangosol.net.cache.MapCacheStore;
import com.tangosol.net.CacheFactory;
* dimitri Feb 22, 2010 7:28:39 PM
public class MyCacheStore extends MapCacheStore
    public MyCacheStore(String sCacheName)
        super(CacheFactory.getCache(sCacheName));
    }and run servers dedicated to online processing with -Dprocessing.localstorage=true -Daggregation.locastorage=false and servers dedicated to aggregation with -Dprocessing.localstorage=false -Daggregation.localstorage=true.
Regards,
Dimitri

Similar Messages

  • What is lightweight process and heavy weight process

    please can any one send the difference between lightweight process and heavy weight process .... and why thread are called lightwieght process

    shankrocks wrote:
    please can any one send the difference between lightweight process and heavy weight process .... and why thread are called lightwieght processProcess and thread are often used interchangeably (even though process also is used in a wider meaning). In Java a lightweight thread is also called a green thread.
    [http://en.wikipedia.org/wiki/Green_threads]
    So when programming in Java you're going to be using lightweight threads (unless you somehow bypass the JVM and start OS threads directly).
    More generally heavyweight usually refers to something that supplied by the OS. You have the same is Swing/AWT where Swing widgets are called lightweight because they're drawn by Java while AWT widgets are called heayweight because they're drawn by the OS.

  • Process and master data

    Hi Guru's
    Any bady can explain IS Health Process and what are master data.
    Pls Any bady can Explaine me.
    SD : Sales Order , Delivery,Billing
    MM ; Pur.Order , MIGO AND MIRO
    Pls Explaine me like this.
    Regards
    Sriram

    Hi,
    in IS-health the master data consists of following
    Master data includes:
    Organizational Units
    Building Units
    Business Partner Data
    Service Master Data
    Catalogs
    Clinical Work Station
    while the processess are
    Inpatient case - Admission, absence, transfer, Discharge
    Outpatient case - Admission, Visit,appointment, end case
    General case processing - Newborn
    Patient Accounting
    hope it helps.
    anya

  • Multiple processes and accessing data

    Morning,
    I have created 2 processes within workbench.
    Process A - assigns a form with some data in it to a internal user via workspace, it then sends that form to a outside user via email.
    they are to update/correct any data and email it back. After the send I have an event to wait for process B to recieve the email and process it.
    Process B - start point is a recieve function, it picks up these recieved emails and pulls out the data and puts it into xml.
    My problem is process A has one processID, when process B fires up it gets a different processID. How can I merge the data from process B to process A and allow process A to continue on.
    This is something like the in the samples LIvecycle end-to-end mortgage application, however I don't understand on the data comes back and is married together.
    We thought of creating our own ID in the form however I still run into the same issue when merging the data.
    Am I even performing this correctly?
    Any better ways of doing this?
    How do I do this?
    Thanks,
    Carmen

    Afternoon,
    If anyone is interested.
    I put the processID into the outgoing form. (could us anything really, just need something unique)
    I ended up writing the xml to the filesystem in a folder based on the processid from the intial process. tossed a event to go back to my existing process that I filtered on to ensure the pid's matched from the throw and the receive. I then read the xml from the file system and continued on with my process.
    Using contentspace would be an option however the client I am working for doesn't have it.
    Thanks.

  • Transfer Data to TDMS Cluster (TDMS4HCM)

    Hello experts,
    could anyone please let me know how I can transfer the data to the tdms cluster. I have completet follwoing steps.
    -> Prepare Data Transfer (Status: Execution successfully completed)
    -> Data Transfer (Status: Execution successfully completed)
    But if I compare the Data from the receiver system with the data of the sender system it seems to be identical.
    I used the standard SAP_HCM_DE_GERMANY Scrambling rule.
    The extende process monitor seems to be ok. The only steps without a status information are:
    - Return to Configuration and Selection and
    - Transfer Data to TDMS Cluster
    The whole Data Transfer Phase is still in status: Running in process
    Is there anything else I have to do to copy the data?
    Regards
    Marco

    Hello Marco,
    As per the steps mentioned by you, the data transfer is comeplete.
    You need not execute the below steps to complete the data transfer.
    - Return to Configuration and Selection and 
    - Transfer Data to TDMS Cluster
    But as told that you have used SAP_HCM_DE_GERMANY Scrambling rule, can you just check in the log of the activity 'Transfer Selection Criteria', whether the scrambling rule SAP_HCM_DE_GERMANY has been activated or not.
    You need to activate the scrambling rule 'SAP_HCM_DE_GERMANY' in activity 'Define Scrambling rules'.
    If you still face any issues, raise an OSS message.
    Regards,
    Prasanth

  • Data logger and online processing application

    Dear All
    My application should include both data logging and online processing threads which are synchronized. I already implemented that by means of something we call "Ring buffer" which is an array containing the data and when the data stream reach its end it start over again from first index. It works almost well but sometimes it seems that my "timed loop" which is my processing thread is a little bit ahead of my data logger thread and it makes some distortion on data stream in processing thread but of course not in data logger.
    Since this type of application is very classic, we should have a kind of general prototype (example) for its implementation which provides fully synchronization between processing and logger threads so I was wondering if somebody knows where I should look into?
    Best regards
    Afshin

    Hello Afshin,
    Have a look at Software Circular Buffer in LabVIEW and Software Circular Buffer Reference Library for Multi-Channel Data Acquisition.
    The latter comes with an example.
    Regards,
    Eirikur Runarsson
    Platinum Applications Engineer
    NI Denmark

  • HT4759 Hello .. I've been subscribed for ic;oud for 20$ per year and I found it useless for many reasons: that I can not disconnect my mobile while the uploading process and it takes long time for uploading my data .. Its not a reliable system that's why

    Hello .. I've been subscribed for ic;oud for 20$ per year and I found it useless for many reasons: that I can not disconnect my mobile while the uploading process and it takes long time for uploading my data .. Its not a reliable system that's why I need to deactivate the space service and take my money back .. Thanks

    The "issues" you've raised are nothing to do with the iCloud service.
    No service that uploads data allows you to disconnect the device you are uploading from while uploading data. Doing so would prevent the upload from completing. It is a basic requirement for any uploading service that you remain connected to it for uploading to be possible.
    The time it takes to upload data to iCloud is entirely dependent on how fast your Internet connection is, and how much data you are uploading. Both of these things are completely out of Apple's control. Whichever upload service you use will be affected by the speed of your Internet connection.

  • Lock-In Amplifier and offline data processing

    Hi everyone,
    I've been successfully using the Lock-In Amplifier to do live data processing. The processed Lock-In outputs and the frequency values are then saved. Recently it has turned out that the real acquisition capabilities needed mean that online processing is not possibe. (As 4 channels are being simultaneously sampled each at 4Mhz and acquiring for several seconds.) I have built the Lock-In Amplifier into an offline processing VI where I strip out the arrays for Channel 0 (Signal) and Channel 1 (Reference) and send chunks of data to the Lock-In. I wanted to check that the Lock-In doesn't have any problems working offline? Are there any other things I need to know for offline processing?
    Many thanks

    Hi,
    I've not personally had the change to use Lock In Amplifiers with our hardware yet, but from searching through the LabVIEW developer zone I came across this example VI, I hope it's some help to you: http://zone.ni.com/devzone/cda/epd/p/id/4532
    All the best,
    Applications Engineer

  • Problem with item and/or data during page-processing-PS/SQL

    Greetings!
    On my page I have a custom report (from 2 tables) and a small form-field, that adds and edits data in the report. After generating the form with the wizard I added an extra item, to store the id from one of the tables from the report data.
    Now, on submit a calculation should take place, that updates data according user input with a procedure in Page-Prosseses:
    declare a number;
    begin
    case :PLATZ
    when 1 then a:=100;
    when 2 then a:= 50;
    else a:=25;
    end case;
    update TBL_MITGLIEDER set TURNIERPUNKTE = TURNIERPUNKTE + a
    where ID_MITGL = :P14_ID_MITGL;
    end;
    :PLATZ is user selected (1,2,3), :P14_ID_MITGL stores the reference to TBL_MITGLIEDER (and shows the change, when I select another record)
    As I understand, that process should also run, when I submit a chance, but nothing happens then.
    But when I try to save a new record (which worked without any problems before adding that process), I get this error message:
    ORA-06550: line 1, column 64: PL/SQL: ORA-00957: duplicate column name ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
         Error      Unable to process row of table TBL_TURNIERSIEGER.
    Then, when I go back into the app-builder and try to run the page again, I get this message:
    ORA-01403: no data found
         Error      Unable to fetch row.
    I am not sure, if you guys have all the information you need, to know whats going on. Maybe this has to do with session-id and the whay, items are updated. I hope you can help me.
    Thanks, best regards,
    tobi

    First can you please post all log file errors
    >> I can't really give you a solution or specific recommendation since I did not saw this error yet myself, but on your own risk you can try:
    1. You may try to just register 'dts.dll' using regsvr32.exe, but this error may indicate a bigger problem with setup.
    If you are running SQL Server 64bit then try running this at the command prompt: %windir%\syswow64\regsvr32 "%ProgramFiles(x86)%\Microsoft SQL Server\90\dts\binn\dts.dll"
    2. You can try reinstall from start (In this case you have to make sure that you un-install all)
    [Personal Site] [Blog] [Facebook]

  • When I plug in my iPhone to sync, it starts but does not complete the process and several pieces of data are not being transferred to my iPhone from my MacBook Air.

    Problem:
    When I plug in my iPhone to sync, it starts but does not complete the process and several pieces of data are not being transferred to my iPhone from my MacBook Air.
    Any help that you can provide in helping my iPhone accurately sync with iPhoto and iTunes will be greatly appreciated.
    Symptoms:
    1)   Sync:  It’s not completing the sync.  Below, I’ve provided all of my settings from the iTunes Summary tab so that you might tell me if I’ve selected any incorrect options.  I prefer to sync the “old school” way – by connecting to the computer – as opposed to syncing over the cloud. Perhaps this is what’s causing the problem? Here is a list of the steps displayed in the iTunes window as the sync progresses:
    waiting for sync to start (step 1 of 7)
    backing up (step 2 of 7)
    preparing to sync (step 3 of 7)
    determining apps to sync (step 4 of 7)
    preparing apps to sync (step 5 of 7)
    importing photos (step 6 of 7)
    waiting for changes to be applied (step 7 of 7)
    syncing apps / copying 1 of 4 (App name) (step 7 of 7)
    canceling sync
    apple icon
    2)   Photos: I've selected only certain of my iPhoto albums to sync to my iPhone.  All of the albums are correct/complete in iPhoto.  All of the albums are listed on my iPhone, both before and after the sync, but the albums are empty (no actual photos) before and after the sync. Perhaps this is tied to the fact that the sync isn’t completing, but because “importing photos” is one of the steps that the incomplete sync displays, I don’t know.
    3)   Apps: When I launch iTunes and click on the Apps folder under the Library listing, then click on the Updates tab, iTunes searches for any Apps needing to be updated and provides a list.  If I click on Update All, the Apps are successfully updated in iTunes.  But, when I plug in my iPhone so that the updates will transfer to the apps on my iPhone, the updates don’t transfer to the apps on my iPhone and those apps still reflect that they need updating on the iPhone.
    Other Potential Pertinent Info:
    The flash memory hard drive on my MacBook Air recently died (perhaps a month or two ago).  Apple had emailed me about a known issue and literally the next day, my MacBook Air crashed.  I installed a new flash memory drive and re-installed everything from a backup off of an external hard drive.  Everything seems to be working fine; it recreated accurately all of my software and data, including iPhoto and iTunes, the pictures and songs (respectively) for which are stored on that hard drive, as opposed to being on the flash memory in the MacBook Air itself.  However, I don’t recall if the start of the sync problem described herein started happening at the same time that I replaced the flash memory drive.  All I know is that the computer is working perfectly in all respects and that even as the sync is failing, it at least says that it’s doing the right things and looking in the right places (e.g., the list of albums on my iPhone matches the list of albums in iTunes, etc.).
    Settings/Status:
    MacBook Air
    OSX v. 10.9
    iPhoto ’11 v. 9.5 (902.7)
    iPhone iOS 7.0.4
    iTunes v. 11.1.3 (8)
    Summary Tab
    Backups (This Computer)
    Options
    Automatically sync when this iPhone is connected
    Sync only checked songs and videos
    Photos Tab
    Sync Photos from iPhoto (429 Photos)
    Selected albums, Events, and Faces, and automatically include (no Events)
    Albums – 9 are selected

    You need to download iTunes on your computer. iOS 6 requires the latest version of iTunes which is 10.7.

  • Process Chain : Read PSA and Update Data Target in BI 7.0

    Hello Experts,
    In my Process Chain I have a variant Execute Infopackage to load the data only into PSA. then I have next variant as *Read PSA and Update Data Target*. my data target was a Master Data table Hierarchy
    In the variant " Read PSA and Update Data Target". the selection Parameters were
    PSA.Table : 0GLACCEXT_T011_HIER_BA1
    Selection Object Type : same Infopackage in Varaint Execute Infopackage
    the Error message was Variant doesnot contain a valid combination request/data target
    I checked the PSA-Table using RSA1OLD Transaction then I find four PSA Tables:
    0GLACCEXT_T011_HIER_BA1
    0GLACCEXT_T011_HIER_BA2
    0GLACCEXT_T011_HIER_BA3
    0GLACCEXT_T011_HIER_BA4
    All the requests are linked to PSA Table *0GLACCEXT_T011_HIER_BA4*.
    I can't understand why there exists four PSA Tables?
    I try to link the PSA-table 0GLACCEXT_T011_HIER_BA4 in the variant *Read PSA and Update Data Target and try to save it it raises short dump.
    If I select 0GLACCEXT_T011_HIER_BA1 in the varaint I shouldn't face any problems.?
    but the process chain raises an Error message Variant doesnot contain a valid combination request/data target with this variant.
    How shall I handle this issue?
    Please carify me the issues as soon as possible.
    thanks in advance
    Regards
    sailekha

    Hello,
    In the Variant Read PSA and Update Data Target I have to select  the PSA Tabelle Name from the preselection list in the System it shows me all the four PSA Tables that I mentioned.
    I can select any one of them. So I trieed with all the four PSA Tables in the list but I can selct only the XXXX......BA1 table  then only I can save and  include it in the PC. If I select the remaining tables BA2, BA3, BA4.........while I try to save the Variant it raises short dump.
    I checked the PSA using the Transaction  RSA1OLD under PSA...... I find 4 PSA Tables( I don't know whether they are PSA Tables or not but in the Variant it states that they are PSA Tables) in which all the requests are attached to BA4. only.
    I observed that ony for Hierarchies I find four PSA tables for remaining one only one PSA table was available.
    I totally confused how to handle this situation. any suggestions......... please help me to resolve this problem.
    Thanks & Regards

  • Data Transfer Process and Delete Overlapping Requests

    Hi All,
    We are on BW 7.0 (Netweaver 2004s).  We are using the new data transfer processing and transformation.  We want to use the ability to delete overlapping requests from a cube in a process chain.  So lets say we have a full load from an R/3 system with fiscal year 2007 in the selection using an infopackage.  It gets loaded to the PSA.  From there we execute the data transfer process and load it to the cube.  We then execute the delete overlapping requests functionality.  My question is, will the DTP know that the infopackage selection was 2007 so it will only delete requests with selections of 2007 and not 2006 from the cube?  Basically, is the DTP aware of the selections that were made in the infopackage?
    Thanks,
    Scott

    Hi Everyone,
    Figure it out...on a data transfer process you can filter the selection criteria - go to the extraction tab of a DTP and click on the filter icon.  Enter your seleciton conditions to pull from the PSA....these seleciton conditions will be used to delete the overlapping requests from the cube.
    Thanks

  • SMS_DISCOVERY_DATA_MANAGER Message ID 2636 and 620. Discovery Data Manager failed to process the discovery data record (DDR)

    Hi
    I'm seeing this critical error on my primary.
    SMS_DISCOVERY_DATA_MANAGER Message ID 2636 and 620. 
    Discovery data manager failed to process the discovery data record (DDR)"D:\Prog.....\inboxes\auth\ddm.box\userddrsonly\adu650dh.DDR", because it cannot update the data source.
    Where these ddr's are actually under ddm.box\userddrsonly\BAD_DDRS folder
    I see a ton of DDR files in that folder. Not sure if I can delete them, so I moved them to a temp folder. AD User discovery keeps generating them.
    Any help ?
    Thanks
    UK
    

    Check the ddm.log file for more information.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Basic and scheduling  dates & time calculation in process order creation

    Hi guru's,
    i have one requirement, i need to calculate and display the basic and scheduled dates & times based on the given input i.e material , plant , process order type , quantity , UOM and scheduling type ( for corresponding scheduling type user will provide either start date or finish date ) using RFC. can  u plz provide any function module for this purpose or logic for calculating the same  , as i am working on version 4.7ee .
    Awaiting for a quick response.
    Regards,
    Madan

    Dear Rohan,
    1.Check the length of break timings defined in the resource that is assigned in the phase.
    2.Check in OPUZ whether for the process order type and plant combination whether scheduling is to include the break time also
    (whether the check box for scheduling with breaks) is included.
    Check and revert back.
    Regards
    Mangalraj.S

  • BPM Process and data management

    Greetings,
    I want to ask a question related with best practice topics. What is the best way to manage the information generated by process execution?. Its ok to have a database different from the workflow database to store the most important data.
    I know this could be somethig redundant, but its easier to manage the data this way because managing an accessing the "BLOBs" in the workflow repository is not easy. Its there any advice in relation to this topic, any link or document ?

    Hi Christian, thanks!
    What I'm missing also within Process and Task Management Facade is the link between ProcessInstance and related TaskInstances.
    I know I can get tasks for a user by Status or ID. But I see no way to get a set of tasks for a certain process Instance.
    Will Process and Task Management Facade also be enhanced for SAP NW CE 7.3 EHP1?
    Is it already known what new features will be available or is this information published during TechEd?

Maybe you are looking for

  • Programatically bring the cursor to a numerical control while VI running

    Does anyone know how to programatically move the cursor to a particular numerical control while a VI is running? I have a VI that polls the user for information, and at one point, the user has to repeatedly type numbers into the same numerical contro

  • Upload PDF to DMS using FTP server in WD abap

    Hi Friends,     I want to upload PDF file from presentation server to DMS. As I dont want application server in this regards , so am using FTP server instead. But the problem am facing is in WD abap the filepath is in  XSTRING format. So how to uploa

  • To reset oc4jadmin pwd

    Hi I lost my password for oc4jadmin account in SOA suite. i didnt created any other account with admin privilege. How to recover it? Do we have option to reset it from outside? suggestions pls... thnx Naveen

  • IPad mail folders for smtp

    I use yahoo smtp. Broadband email service here in Canada by the cable provider monopoly....... Oh I digress Anyway, is there a way to create folders In iPad mail for smtp mail type providers? It doesn't appear that yahoo mail or Rogers webmail allow

  • I can see & play my home movies in itunes, but I can't see them on appletv

    Can anyone help me with this? This is getting frustrating.