Category Archives: ActiveSpaces

TIBCO Activespaces – Best Practices –10. Physical Considerations

Physical Considerations Network considerations In general, just as with many other distributed systems, the network can have a large influence on performance: in many use cases and deployment scenarios there is a very good chance that a Space operation will need to wait for a network round trip time to elapse before it completes. Therefore, the  faster the network between

Read more

TIBCO Activespaces – Best Practices – 9. Persistence

Persistence Shared-all Persistence You can register more than one instance of the implementation of the shared-all interface on the same space. When more than one instance of the implementation of the shared-all persistence interface is registered, then onWrite and onRead operations are distributed amongst those instances. The most efficient deployment mode is when every seeder on the space registers an

Read more

TIBCO Activespaces – Best Practices – 7. API Considerations

API Considerations Threading Many ActiveSpaces API objects are thread safe (meaning that multiple threads can use them at the same time) The Metaspace object is thread safe: Metaspace connection is actually a process-wide resource. Use getMetaspace() to get more copies of the metaspace object as needed. Space objects are thread safe: Multiple threads can use the same space object at

Read more

TIBCO Activespaces – Best Practices – 5. Joining as a Seeder or a Leech?

Joining as a Seeder or a Leech? Things to remember: There is no change in functionality regardless of whether your application seeds or acts as a leech on a space. However, there is an impact on the resource usage of your application: a seeder contributes memory to store records and CPU cycles to service requests to read/write/consume/process those records. Seeding

Read more

TIBCO Activespaces – Best Practices – 2. Discovery URL

Discovery URL “Discovery” is used in the initial phase of a process’s connection to a Metaspace, to discover which other nodes are already member of the metaspace and establish connections to them. Discovery and connection are Metaspace level operations (separated from joining and leaving spaces). A single process can only be connected once to a specific Metaspace. This means that

Read more

TIBCO Activespaces – Best Practices – 1. Exposing Metaspace Connection Attributes

Exposing Metaspace Connection Attributes When creating ActiveSpaces applications, developers should make sure that they expose the metaspace connection attributes so that they can be adjusted by administrator at deployment time. The Metaspace connection attributes are contained in the MemberDef object that is passed to Metaspace.connect(). At a minimum, the following MemberDef attributes should be exposed: Member name: If specified, this

Read more

TIBCO Activespaces – Basic Concept

ActiveSpaces applications are programs that use ActiveSpaces software to work collaboratively over a shared data grid. The data grid comprises one or more tuple spaces. An ActiveSpaces distributed application system is a set of ActiveSpaces programs that cooperate to fulfil a mission (either using the administrative CLI tool, or the ActiveSpaces API calls). Tuples are distributed, rather than “partitioned” across

Read more

TIBCO Activespaces – Prerequisites

FOR WINDOWS 32 BIT OS. Pre-requisites jdk-8u25-windows-i586 TIB_rv_8.3.2_win_x86_vc8 Binaries Used TIB_activespaces_2.1.2_win_x86 TIB_activespaces-addon_2.1.2_win_x86 TIB_bwpluginactivespaces_2.0.0_win_x86 Spacebar-2.1-win32.win32.x86 Installation Directory E:\tibco Resources Tested on 32 bit architecture 4 cores 24 GB RAM 40GB HDD OS Details (Installed with administrator user) Server <ip-address> Administrator user password :- <password> TIBCO_ACTIVESPACES Do Refer to this document TIBCO Activespaces Usage and Use-cases. Note:- Will Upload the installation Video

Read more