Load Balancing, User Visible Service objects, Runningman

1. Load Balancing
Load Balancing a partition has nothing to do with single or multi-threaded
behaviour of that partition. If you load balance a partition it means that
you can start 1 or more copies of that partition. How many to start can be
specified. If the partition is load balanced there will be router partition
that routes calls to any of the services in that partition.
Now let us look at a special kind of partition (load balanced partition
that has an Env visible SO and a user visible DbSession). This is one of
the design patterns to acccess the database efficiently. Each of these
partitions are single threaded because DbSession is inherently single
threaded. This partition is single threaded because Dbsession is single
threaded and not because the partition is replicated.
Another case is when you make a partition load balanced and it has only
SO(s) made out of tool classes and does not have Dbsessions then each of
these partitions can run multi-threaded beacuse there are no
single-threaded objects to make the partition single threaded
2. User Visibility
Case A - If you have only User visible SO(s) in a partition then each
behaves like a global named object. Whoever accesses it will get a copy of
their own.
Case B - If you have a user visible SO and an Env Visible SO in the same
partition then the user visible SO will be private to the partition and
cannot be accessed from outside that partition.
3. Running Man
When you run an application by clicking on the running man Forte uses its
default partitioning scheme and runs the application. The partition scheme
that you made will be used only when you run the application distributed or
from the partition workshop. This is the time you might encounter errors if
your partitioning is not right.
Hope this helps.
Nirmal

Don,
You are right. I should have said - Forte uses its own partitioning scheme
not the default scheme you see when you open partition workshop.
Nirmal
From: Don Nelson <[email protected]>
To: Nirmal P Uppalapati <[email protected]>
Cc: [email protected]
Subject: Re: Load Balancing, User Visible Service objects, Running man
Date: Wednesday, October 22, 1997 10:45 PM
Nirmal,
One note on the "running man"...
At 08:12 PM 10/22/97 -0500, Nirmal P Uppalapati wrote:
3. Running Man
When you run an application by clicking on the running man Forte uses
its
default partitioning scheme and runs the application. The partitionscheme
that you made will be used only when you run the application distributedor
from the partition workshop. This is the time you might encounter errorsif
your partitioning is not right.
Actually, clicking on the "running man" from the repository or project
workshop will cause the application to be run VERY differently thanrunning
it distributed.
It's not technically correct to say that the default partitioning schemeis
used with the running man.
Forte consulting offers a deployment workshop that covers the finerpoints
of this and other distributed issues.
Don
============================================
Don Nelson
Regional Consulting Manager - Rocky Mountain Region
Forte Software, Inc.
Denver, CO
Corporate voice mail: 510-986-3810
aka: [email protected]
============================================
"If you ask me, though, any game without push-ups, hits, burns or noogies
is a sissy game." - Calvin

Similar Messages

  • RE: (forte-users) User-visible service object

    This solution will cause network traffic for all method calls on the
    environment visible SO. This overhead is not incurred when calling methods
    on a user visible SO in the same partition. Depending on the frequency of
    calls and the volume of data being passed in and out, this could be
    significant overhead.
    We have successfully implemented the following.
    Create a second User Visible SO based on the same class. Then you will be
    able to partition the one SO into the client partition and the second into
    the server partition.
    For example, assume the underlying class is named MessageService then define
    your SO's as
    ClientMessageService -> MessageService
    ServerMessageService -> MessageService
    Andy
    -----Original Message-----
    From: Amin, Kamran [mailto:kamran.aminlendware.com]
    Sent: Wednesday, August 23, 2000 10:17 PM
    To: 'Duncan Kinnear'; kamranaminyahoo.com
    Subject: RE: (forte-users) User-visible service
    object
    Duncan,
    Make the user visible service object to an
    environment visible
    service object. This way the client and any service object
    on the server
    can access it.
    ka
    -----Original Message-----
    From: Duncan Kinnear [mailto:duncanmccarthy.co.nz]
    Sent: Wednesday, August 23, 2000 7:47 PM
    To: kamranaminyahoo.com
    Subject: (forte-users) User-visible service object
    Hi folks!
    We've got a user-visible service object that handles
    initialisation of and
    access to the message catalog.
    This works well on the client, but we would like to use the
    same
    mechanism (and even the same service object) on the server
    so that
    service objects on the server have access to their message
    catalog on
    the
    server.
    I was hoping that if we referenced this user-visible service
    object in
    both the client and the server code, that it would partition
    a copy in
    each of the client and server partitions. However, we
    cannot get this
    user-visible service object duplicated on the server. If we
    drag and drop
    it onto the server partition in the partition workshop, it
    disappears from
    the client partition!
    Anybody got any idea how we could do this?
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email:
    duncanMcCarthy.co.nz
    PO Box 764, McLean Towers, Phone: +64
    6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64
    6 834 3369
    Providing Integrated Software to the Meat Processing
    Industry for over 10
    years
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe,
    send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe,
    send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com

    I would try going to the "lowest common denominator" between WindowsNT and
    Windows95 - DOS. Both windowing OS's sort of have their roots in DOS, or at
    least both are capable of opening a DOS session.
    Therefore, from a DOS prompt type "set" to view the environment variables for
    both OS types. Look for a common variable between the two that stores the
    userID. If you can find one of these your application will be that much more
    portable between these two Windows mutations.
    I used "set" on my NT and found my userID assigned to a few variables. I haven't
    done this on a Windows95 machine in quite some time, but if the machine is on
    the network it should have at least one environment variable with the userID.
    I'm just guessing that DOS has a variable to store the userID that will be
    common to both machines.
    Good luck....
    Kelsey PetrychynSaskTel Technical Analyst
    ITM - Technology Solutions - Distributed Computing
    Tel (306) 777 - 4906, Fax (306) 359 - 0857
    Internet:kelsey.petrychynSasktel.sk.ca
    Quality is not job 1. It is the only job!
    "Olivier Andrieux" <oandrieuxaxialog.fr> on 07/19/2000 09:12:41 AM
    To: forte-userslists.xpedior.com
    cc: (bcc: Kelsey Petrychyn/SaskTel/CA)
    Subject: (forte-users) user name
    Hi
    I use this command to catch the username:
    task.part.operatingsystem.getenv('username')
    with NT, there is no problem
    but with windows95 or 98 the command doesn't find the username.
    Thanks in advance.
    Olivier Andrieux
    Axialog
    Lille
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Ise & vlan load balancing (user balancing)

    As far as I know anb based on some esperience in a test environment it seems that cisco ISE among two load balancing radius kind of attributes supports only vlan gropu assignment, this means that on the switches vlan group assignment is required.
    A second method of passing multiple vlans or vlan IDs by radius attributes is not allowed.
    Am I wrong?
    The issue I'm trying to overcome is the following
    Subnet1     /24
    Subnet2     /22
    Many, many switches
    (and the situation can't be changed)
    Assuming the vlan assignment is local to the switch and with a round robin method, once the IPs are exhausted on Subnet1 only half of the clients that authenticate will obtain an IP (on Subnet2) while the rest will get stuck on Subnet1 without an IP
    The same situation comes up when considering an odd number of authenticated clients on every switch and with two /24 subnets: it is likely possible that Subnet1 will be "full" before the second subnet does falling in the previous situation.
    is there any solution?
    thank you in advance

    Don,
    You are right. I should have said - Forte uses its own partitioning scheme
    not the default scheme you see when you open partition workshop.
    Nirmal
    From: Don Nelson <[email protected]>
    To: Nirmal P Uppalapati <[email protected]>
    Cc: [email protected]
    Subject: Re: Load Balancing, User Visible Service objects, Running man
    Date: Wednesday, October 22, 1997 10:45 PM
    Nirmal,
    One note on the "running man"...
    At 08:12 PM 10/22/97 -0500, Nirmal P Uppalapati wrote:
    3. Running Man
    When you run an application by clicking on the running man Forte uses
    its
    default partitioning scheme and runs the application. The partitionscheme
    that you made will be used only when you run the application distributedor
    from the partition workshop. This is the time you might encounter errorsif
    your partitioning is not right.
    Actually, clicking on the "running man" from the repository or project
    workshop will cause the application to be run VERY differently thanrunning
    it distributed.
    It's not technically correct to say that the default partitioning schemeis
    used with the running man.
    Forte consulting offers a deployment workshop that covers the finerpoints
    of this and other distributed issues.
    Don
    ============================================
    Don Nelson
    Regional Consulting Manager - Rocky Mountain Region
    Forte Software, Inc.
    Denver, CO
    Corporate voice mail: 510-986-3810
    aka: [email protected]
    ============================================
    "If you ask me, though, any game without push-ups, hits, burns or noogies
    is a sissy game." - Calvin

  • Load balancing SMA web service and SMA end point URL

    Hi,
    We have set up the recommended 3 servers with Azure Pack, SMA Web Service and Runbook Worker.  We are now wanting to configure the Azure pack portal to setup the SMA endpoint url for the web service.  Before we do that, we are assuming we should
    load balance the web services to answer on 1 url (ie, smaws.domainname.com).
    1. Is there any guidance or things to consider when load balancing the 3 web services to answer to 1 url.  We will probably use f5 since that is what we use.
    2. The end point url that we configure for Azure Pack automation should be this load balanced URL correct?
    3. Should we have the Azure pack installed on just one of the servers or all 3.  We did all 3 but it seems like server2 and 3 just redirect to 1 anyway so I am assuming the URL for Azure pack is stored in a db somewhere.
    4. Are there any other components of SMA/Azure Pack that should also be load balanced?
    Thanks
    Thanks Lance

    So in this case you need to register the SMA Runbook Workers (do this on machine 1):
    $webService
    = "https://localhost"
    $workers
    = (Get-SmaRunbookWorkerDeployment
    -WebServiceEndpoint
    $webService).ComputerName
    if($workers
    -isnot [system.array]) {$workers
    = @($workers)}
    $workers
    += "MachineName2"
    $workers += "MachineName3"
    New-SmaRunbookWorkerDeployment
    -WebServiceEndpoint
    $webService -ComputerName
    $workers

  • Urgent: Load balance the shared services server

    Hello Experts,
    One of my customer would like to know that is there a way to load balance the shared services server i.e., Register one essbase server with more than one Shared services server, so that if one shared services fails the other can authenticate the logins for the essbase server.
    Also, referred the following weblink for 11x, Table 3. EPM System High Availability and Load Balancing Matrix
    http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_high_avail_11111/frameset.htm?ch01s04.html
    Do we have any docs for version 9x?
    Environment:
    Essbase 9.3.1.3.00
    OS : IBM AIX on POWER Systems (64-bit) 5.3
    Any suggestions would be of great help. Thanks in advance.
    Regards,
    Sonal

    I would not attempt any changes until 9.3.1 service fix #16 is released.
    Oracle is back-porting clusterware support to with service fix # 16.
    HSS 9.3.1sf 16 "active passive failover cluster with Oracle Clusterware 11g, for hss web app and openldap"
    Based on the Oracle escalated support resources I have been in touch with solutions are not supported. Please realize this is not load-balancing and is fail-over support only.
    To my knowledge there is not a "active-active" 9.3.1 Shared Services that is supported by Oracle.
    You can read more about an active-passive fail-over at: http://www.oracle.com/technology/products/bi/pdf/epm-hss-high-avail-windows-whitepaper.pdf
    They are supposed to release a 9.3.1 white paper once service fix #16 is fully released and has been client tested.
    Regards,
    John

  • Load balance question on services deployed in two slaves

    Case:
    One master: 192.172.1.1
    Two slaves: 192.172.2.1/192.172.2.2
    There is service A deployed in slave1(192.172.2.1) and slave2(192.172.2.2). Service A will call Service B, which is also deployed in slave1 and slave2.
    Condition:
    If I tmshutdown -s service_A in slave1, there is a service_A alive only in slave2.
    Question:
    Now there is requests to service A in slave2. Whether service B in slave1 will be called by service A in slave2 or not?
    My experiment proves it true. However, in my mind, the request to service A in slave2 will only call service B in slave2 not slave1. Is that wrong?
    Thanks for your kindly reply.

    Bill,
    There is no unit for LOAD and NETLOAD other than to compare to other values of LOAD and NETLOAD. The objective is to send a request to the server with the lowest total load. If there is an idle local server offering the service requested then a local server will always be chosen.
    Tuxedo keeps track of the total load sent from this machine to other machines. Every sanityscan interval the load balancing statistics are reset to 0.
    Assume that service B has a LOAD of 50 on both machine 1 and machine 2 and that NETLOAD is 80. There is only 1 server offering this service on each machine, it is 1:00:00, queues are empty, the sanity scan has just run, and SCANUNIT*SANITYSCAN=120. We are on machine1. Service B takes 5 seconds to complete on both machine 1 and machine 2.
    1:00:00 [M1 total work = 0, M2 total work = 0]
    1:00:01 request arrives, route to M2 due to idle local server preference [M1 total work = 0, M2 total work = 50]
    1:00:02 request arrives, route to M2 since 0+50+80 > 50+50+0 [M1 total work = 0, M2 total work = 100]
    1:00:03 request arrives, route to M1 since 0+50+80 < 100+50+0 [M2 total work = 130, M2 total work = 100]
    1:00:04 request arrives, route to M2 since 130+50+80 > 100+50+0 [M2 total work = 130, M2 total work = 150]
    1:00:05 request arrives, route to M2 since 130+50+80 > 150+50+0 [M2 total work = 130, M2 total work = 200]
    You're correct that although NETLOAD is set the remote service can sometimes still be called.
    Either LOAD or NETLOAD could have a greater effect depending on how big LOAD is compared to NETLOAD. In the example above approximately 13 requests would be sent to the local machine for every 5 requests setnt to the remote machine. If there are frequently idle local servers on the local machine then a greater percentage of requests will be sent to the local machine, and if there is always an idle local server then all requests will be sent to the local machine. The periodic reset of load balancing statistics can also affect how many requests are sent to each machine.
    Regards,
    Ed

  • Load balancing for specific services in RAC

    Hi,
          I have a two node RAC database 11gR2 version.I am planning to create 2 services for the database.For one of the services I dont want to enable server side load balancing and for the other one I want to enable load balancing.Will the following setting work
    services:
    srv1  --  load balancing not to be enabled
    srv2 --  load balancing to be enabled
    DB configuration:
    For srv1 I will not use SCAN ip and I will connect using the vip of the servers.
    For srv2 I will use SCAN ip and i will set the remote_listener(to SCAN:port) parameter and local listener parameter accordingly.
    Will this serve my purpose
    Thanks
    Sekar

    If the database is admin-managed, I shall suggest that rather than playing with the remote_listener parameter , set one service as preferred for one instance.For the other service, let it be preferred on both the nodes. The service with just one instance as Preferred won't be able to use loab-balancing as there is just one instance available for its disposal.
    HTH
    Aman....

  • Load Balancing in SICF Service

    Hi,
    I have set Up Load Balancing for a Logon Group in the SICF service.
    In transacion SMMS, the parameter ms_Service_port_xx is maintained for HTTP for each server in the landscape.
    Is this all I have to do for Load Balancing or there is any additional settings ?
    Also, how to use the Session Timeout parameter in the SICF service (Just below Load Balancing )
    Thanks
    Anand

    Hello,
    The Logon group in SICF does not do any load balancing by itself.
    HTTP Load balancing is the job of the SAP web dispatcher which connects with HTTP to the message server to get the information about application servers and logon groups.
    You can also use directly the message server bu it is a bad solution because it's not really load balancing but merely redirects. A browser shortcut would redirect always to the same application server.
    Regards,
    Olivier

  • Load Balancing Users

    Hi Everyone,
    We seem to have an issue on our load balancing where one server keeps getting overloaded with users on it than the other servers which is in turn causing performance issues where one server is getting over utilized while the others aren't. Other than limiting the amount of users that can log on to this one server is there anything we can do to balance out the users amongst the application servers?

    Check the following SAP Notes:
    [SAPNote 51789 - Poor user distribution in logon distribution|https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=51789]
    [SAPNote 118093  - Concepts of defining 'limits' in logon load balancing |https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=51789]
    [SAP Note 26317 - Set up for LOGON group for autom. load balancing|https://websmp207.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=26317]
    Thanks,
    Naveed

  • What is load balancing in sap business objects.

    Hi friends.
    Any one give me correct answer..

    Hi,
    it depends if you are talking about clustering the processing tiers (& using server groups) to achieve load-balancing, or if you mean using a load balancer in front of the web-tier (typically, Apache Tomcat) ? Also. it could be a software or hardware load balancer.
    essentially, it splits the load across the boxes. 
    regards,
    H

  • Can we load balance a web service ?

    Hi
    We are planning to implement a web service which will have a JMS control and a
    stateless bean control - the stateless bean is pooled and the web service may
    have to handle several requests concurrently - the question is can the web service
    be pooled as well ?
    Thanks

    Web services are stateless and can handle
    concurrent requests.
    -manoj
    "Ghulam Shaikh" <[email protected]> wrote in message
    news:3e9db228$[email protected]..
    >
    Hi
    We are planning to implement a web service which will have a JMS controland a
    stateless bean control - the stateless bean is pooled and the web servicemay
    have to handle several requests concurrently - the question is can the webservice
    be pooled as well ?
    Thanks

  • Re: Service Objects

    Hi Andrew...
    Service Objects, are, in essence, the central concept of any Forte
    application, so I think that every participant in this forum can
    probably offer some type of insight on using Forte Service Objects in
    their application :).
    Any type of shared application functionality is a candidate for
    inclusion in a service object. The definition given on page 156 of the
    Forte Programming Guide states that "[a] service object is a named
    object that represents an existing external resource, a Forte shared
    business service that is shared by multiple users, or a service that is
    replicated to provide failover or load-balancing. The service object
    contains information needed by the service as well as operations that
    the service can perform."
    Service objects are, imho, the most important concept for building a
    successful Forte application, and by far the least well understood. I
    suggest spending a good amount of time familiarizing yourself with the
    Service Object concept, and then understanding the Service Object
    properties (dialog duration, visibility, replication, search paths,
    etc.) so that you can build a scalable, robust, and fault-tolerant
    system to meet your user requirements. Forte is an incredibly powerful
    tool when you understand all of the possibilities you have, especially
    those related to Service Objects.
    In order to get a better understanding of Forte Service objects and how
    they relate to the design and development of your particular system, I
    highly suggest participating in the Forte Object-Oriented Analysis and
    Design (OOAD) course. You can get more information on the course and
    register on-line by visiting the Forte Education website:
    http://www.forte.com/Educate/index.htm. Additionally, you can take a
    look at the Forte manuals, especially Chapter 8 of the Forte Programming
    Guide and throughout the Guide to the Forte Workshops manual.
    To answer one of your other questions... You can pass references to
    objects from a service object back to a client in Forte (you can also,
    for that matter, pass copies of objects - it depends upon your needs).
    Again, to get a better understanding of these concepts, I suggest taking
    the Forte OOAD class.
    I hope this helps! Please let me know if you have any further questions
    - I'd be happy to help.
    -Katie
    Andrew Lowther wrote:
    >
    We are currently in the process of rearchitecting our software systems
    around Forte.
    Could anyone tell me what experiences they have had with building a
    system using Forte Service objects in a multi-tiered system?
    It seems to us that these are intended to be used as high-value
    facade-like interfaces which serve as an entry point to the underlying
    business object model. Is this correct?
    Can we pass a remote object reference back to a client for its
    subsequent use? If not, does this mean that we have to build a local,
    client-based object model to hold the data returned from the service
    object methods?
    Any other assistance you can give will be very much appreciated.
    Thanks
    Andrew Lowther--
    Katie Carty
    Senior Consultant
    Forte Software, Inc.
    http://www.forte.com
    4801 Woodway Drive, Suite 300E
    Houston, Texas 77056
    vmail: (510) 986-3802
    email: [email protected]
    **************************************************

    Andrew,
    We at Per-Se Technologies have developed an approach to alleviate many
    "pains" with using service objects. Some things you will soon discover is
    that although service objects provide fail-over, load balancing, etc., they
    also,
    1. Eat up valuable developer time because it takes time to repartition and
    start partitions in development mode. In development mode (i.e., running
    from the workshops), each developer gets their own copy of all partitions!
    2. Limit the use of compiled libraries due to service object references in
    TOOL code.
    3. Consume valuable server resources because each developer has their own
    copy of the partitions.
    We have several alternatives to address all of the above problems. I am
    currently working on converting a large application so that:
    1. All developers share a single set of service objects/partitions. Each
    developer doesn't have to wait while their copies of the partitions come
    up. Therefore, development time is more fully utilized and server
    resources are dramatically freed up.
    2. Service objects are completely decoupled from an application.
    Therefore, we can compile as much as possible.
    You asked some other questions as well: You should always isolate SO
    references as much as possible. We do this by using a facade. You can
    pass a remote obj. reference to a client for future use.
    Take care!
    Dustin Breese
    Supervising Technical Specialist
    Per-Se Technologies
    From: Andrew Lowther <[email protected]>
    Date: Tue, 24 Feb 1998 16:24:31 -0000
    Subject: Service Objects
    We are currently in the process of rearchitecting our software systems
    around Forte.
    Could anyone tell me what experiences they have had with building a
    system using Forte Service objects in a multi-tiered system?
    It seems to us that these are intended to be used as high-value
    facade-like interfaces which serve as an entry point to the underlying
    business object model. Is this correct?
    Can we pass a remote object reference back to a client for its
    subsequent use? If not, does this mean that we have to build a local,
    client-based object model to hold the data returned from the service
    object methods?
    Any other assistance you can give will be very much appreciated.
    Thanks
    Andrew Lowther

  • SO Load Balancing Question

    Hi all,
    I have a service object (SO1) which has been set to Load Balancing.
    This service object has an attribute which serves as a number allocator
    (NA1).
    This NA1 provides a unique number across the whole application for each of
    the record that require to store into DB.
    The problem is, will the NA1 get replicated if the SO1 is replicated?
    If yes, will NA1 crash?
    Regards,
    Martin Chan
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Senior Analyst/Programmer
    Dept of Education and Training
    Mobile : 0413-996-116
    Email: martin.chandet.nsw.edu.au
    Tel: 02-9942-9685

    Hi Serge,
    Could you prefix it with the PID of the load balanced process ?No I can't. At least not at the moment.
    When a service object is replicated, it is automatically replicated into adifferent partition...
    Thanks.
    An advice, make the NA1 shared. So if you get to do multithreaded accessto
    it, you won't screw up things.I am thinking it may be better off to create it as a service object on it's
    own.
    How is the number returned by the NA1 generated ?It gets generated by Forte's code.
    ... Try to make it so that the
    load balanced partitions don't need to access the database more than onein
    5 min. to get a new Seed Key. This would not need to PID.Thanks for your advise.
    Regards
    Martin Chan
    -----Original Message-----
    From: Serge Blais [mailto:Serge.BlaisSun.com]
    Sent: Tuesday, 3 April 2001 14:17
    To: Chan, Martin
    Subject: RE: (forte-users) SO Load Balancing Question
    Your right, they can generate the same number. How much control do you have
    over the ID being generated? Could you prefix it with the PID of the load
    balanced process ?
    Just a note: When a service object is replicated, it is automatically
    replicated into a different partition, possibly on the same machine or on a
    different one.
    An advice, make the NA1 shared. So if you get to do multithreaded access to
    it, you won't screw up things.
    How is the number returned by the NA1 generated ? If NA1 is using a stored
    procedure, or something like:
    Start TRX
    read number
    newnumber = number+5000
    write back newnumber
    End Trx
    Something like will be very safe. The Database Index Table is taking care
    of the critical section. Then you can be sure that each replicate can be
    independent (not hit into each other) for 5000 iterations. Depending on the
    frequency, you may want to up this number or lower this number. Too high it
    would make the key very high very soon with wholes in the sequence. Too low
    and you would have hit between the replicates. Try to make it so that the
    load balanced partitions don't need to access the database more than one in
    5 min. to get a new Seed Key. This would not need to PID.
    Serge
    At 01:59 PM 4/3/2001 +1000, you wrote:
    Hi Serge,
    The number return by the NA1 is used as a primary key for each of therecord
    that stores in the DB.
    The Number Allocator NA1 is required to access to DB to update an ID table
    which carry the next available sequence number. NA1 will only update this
    table for every 5000 records.
    For example, the initial value of the sequence is: 1
    The next update will change the value to 5001, next will be 10001 and soon.
    >
    The properties of this NA1 class at runtime
    Shared - Disallowed
    Distributed - Disallowed
    Transactional - Is Default
    Monitored - Disallowed
    Unfortunately, this attribute is not a handle but is instantiated by theSO1
    itself.
    I have been thinking, if SO1 is replicated within the same partition, and
    each replicate will carry its own NA1. NA1 and the replicate of NA1 may
    return a same number if their initial values of the sequence are the same.
    Correct?
    Regards
    Martin Chan
    -----Original Message-----
    From: Serge Blais [mailto:Serge.BlaisSun.com]
    Sent: Tuesday, 3 April 2001 13:11
    To: Chan, Martin; forte-userslists.xpedior.com
    Subject: Re: (forte-users) SO Load Balancing Question
    Let's see if I understand right.
    You have a service object that keep a handle to an object that either keep
    state information, or that generate state information. Now the thing to
    figure out is which is it. Let's assume that NA1 is a number generator,
    that does not need to be synchronized or that doesn't need to access any
    external resource. It would still work, depending on the algorythm you are
    using.
    Will they share the same NA1? It depends on the nature of NA1, but for sure
    NA1 would have to be an anchored object. An if multiple partitions would
    share the same object "only" for key generation, you would bring down your
    performance on key generation or key update (by adding one inter-process
    call).
    In short:
    1. Many scenarios can happen, you need to be clearer on your description.
    2. If you are sharing an object by load balanced partitions, this greatly
    reduce the gain of load balancing the partition.
    3. If NA1 is keeping state, any access to it would need to be controlled
    "shared".
    Have fun now...
    Serge
    At 12:30 PM 4/3/2001 +1000, Chan, Martin wrote:
    Hi all,
    I have a service object (SO1) which has been set to Load Balancing.
    This service object has an attribute which serves as a number allocator
    (NA1).
    This NA1 provides a unique number across the whole application for each
    of
    the record that require to store into DB.
    The problem is, will the NA1 get replicated if the SO1 is replicated?
    If yes, will NA1 crash?
    Regards,
    Martin Chan
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Senior Analyst/Programmer
    Dept of Education and Training
    Mobile : 0413-996-116
    Email: martin.chandet.nsw.edu.au
    Tel: 02-9942-9685
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.comSerge Blais
    Professional Services Engineer
    iPlanet Expertise Center
    Sun Professional Services
    Cell : (514) 234-4110
    Serge.BlaisSun.comSerge Blais
    Professional Services Engineer
    iPlanet Expertise Center
    Sun Professional Services
    Cell : (514) 234-4110
    Serge.BlaisSun.com

  • Re: Events in Service Objects

     

    At 12:32 AM 8/20/97 EDT, Gerard R. Connolly wrote:
    >
    The default partitioning in Forte does some strange things, in particular its
    placement of user-visible service objects in the client partition no matter
    where they are referenced and used.Do you have any sense about whether this relates to how well-stuctured the
    projects are when you go to do the partitioning? I.e., if you had a tool
    which helped in analyzing the way in which projects referenced each other
    and could use this to create an idea project structure before you did the
    partitioning, would the default partitioning be more likely to conform to
    the desired end partitioning?
    =========================================================================
    Thomas Mercer Hursh, Ph.D email: [email protected]
    Computing Integrity, Inc. sales: 510-233-9329
    550 Casey Drive - Cypress Point support: 510-233-9327
    Point Richmond, CA 94801-3751 fax: 510-233-6950

  • Window manager service object

    We use a user-visible service object to manage the positioning and
    cascading of our client windows, whether modal or not. Before each
    window performs an Open(), it registers it's reference and title
    with the SO. If there are other active windows of the same type,
    the title is modified to include a colon and count number, as in
    normal Windows applications. After the window performs the Close()
    method, it de-registers itself with the SO. Whilst open, the window
    can also call a method on the SO to cascade all active windows.
    (Every window has a Window\Cascade menu item for this purpose.)
    One of the reasons for using the SO to implement cascading, was to
    enable the user to cascade only the Forte application windows. If a
    non-Forte window gets in the way, you can use the Forte cascade to
    bring the Forte windows in front of it again !
    As an aside, the only windows that we have that are modal, are very
    small input windows that don't need much in the way of behaviour.
    As most of our windows are started using START TASKs, all windows
    need to keep references to child windows that they have
    instantiated, in order to perform orderly shutdowns, iconising and
    re-opening.
    Have fun !
    Justin Levis
    Hydro-Electric Commission
    Hobart, Tasmania
    Australia

    Please read the information posted @
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa969540%28v=vs.85%29.aspx
    Desktop Window Manager
    The desktop composition feature, introduced in Windows Vista, fundamentally changed the way applications display pixels on the screen.  When desktop composition is enabled, individual windows no longer draw directly to the screen or primary display
    device as they did in previous versions of Windows. Instead, their drawing is redirected to off-screen surfaces in video memory, which are then rendered into a desktop image and presented on the display.
    Desktop composition is performed by the Desktop Window Manager (DWM).  Through desktop composition, DWM enables visual effects on the desktop
    as well as various features such as glass window frames, 3-D window transition animations, Windows Flip and Windows Flip3D, and high resolution support.
    The Desktop Window Manager runs as a Windows service. It can be enabled and disabled through the Administrative Tools Control Panel item, under Services, as Desktop Window Manager Session Manager.
    Many of the DWM features can be controlled or accessed by an application through the DWM APIs.  The following documentation describes the features and requirements of the DWM APIs.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

Maybe you are looking for

  • App Store Is Not Working ??? plz help

    Hey guys I updated my iPod (4th generation) to iOS6.1.2 about 2 weeks ago but suddenly yesterday my App Store stopped working. When I open it it's all blank in features,search,etc?? Plz help how can I make my App Store work ??

  • Back ground schedule all parked invoice to post

    HI, Can any one tell me logic or badi or exit to post all parked invoice by scheduling as background job... thank you... Moderator Message:We do not consider it good style to ask questions before trying to find the solution yourself. Please refer in

  • Acrobat 8.2 OCR problem

    We are having a problem with running the OCR process on scanned PDF files.  The process seems to run and complete properly, but when the new version of the document is presented on the screen it has been compressed into the bottom left corner of the

  • Photoshop CC "file-open-desktop" problems

    Why do I get a list showing every folder and every image file therein (a huge list) when I really want just a list of folders? Can't find a preference to change this. Also, when I do scroll to the desired file and image file, I can't click-select tha

  • Firewall keeps asking for permissions...

    Just migrated all my stuff to new 27 inch iMac over ethernet. Now iTunes keeps aksing for permission to allow incoming comms - though it's already checked in the firewall pane. Something is wrong here... and it's causing problems with my media render