TIB RV Concept and Usage in Polaris

23
TIB RV Concept and TIB RV Concept and Usage in Polaris Usage in Polaris Neo Yao Neo Yao IT Department IT Department Polaris Financial Group Polaris Financial Group 2005/01/18 2005/01/18

description

TIB RV Concept and Usage in Polaris. Neo Yao IT Department Polaris Financial Group 2005/01/18. Content. Introduction TIB RV Concept Usage in Polaris Future plan Q&A. Introduction. For modern design of system, many machines or process will work together for a complex task. - PowerPoint PPT Presentation

Transcript of TIB RV Concept and Usage in Polaris

Page 1: TIB RV Concept and Usage in Polaris

TIB RV Concept and TIB RV Concept and Usage in PolarisUsage in Polaris

Neo Yao Neo Yao IT DepartmentIT Department

Polaris Financial GroupPolaris Financial Group2005/01/182005/01/18

Page 2: TIB RV Concept and Usage in Polaris

2002/10/18

ContentContent

IntroductionIntroduction TIB RV ConceptTIB RV Concept Usage in PolarisUsage in Polaris Future planFuture plan Q&AQ&A

Page 3: TIB RV Concept and Usage in Polaris

2002/10/18

IntroductionIntroduction

For modern design of system, many machinFor modern design of system, many machines or process will work together for a comples or process will work together for a complex task. ex task.

But communication in distributed system bBut communication in distributed system become a heavy overhead.ecome a heavy overhead.

It’s a good idea to introduced a middlewarIt’s a good idea to introduced a middleware between frontend and backend componene between frontend and backend components.ts.

TIB RV is one kind of middleware besides MTIB RV is one kind of middleware besides MQSeries, BizTalk.QSeries, BizTalk.

Page 4: TIB RV Concept and Usage in Polaris

2002/10/18

TIB RV ConceptTIB RV Concept

Basic:Basic: AsynchronousAsynchronous Event-Driven (Real-time)Event-Driven (Real-time) Subject-OrientedSubject-Oriented Loosely Coupled (Publish-Subscribe)Loosely Coupled (Publish-Subscribe) Multicast & point-to-pointMulticast & point-to-point Self-describing dataSelf-describing data Machine IndependenceMachine Independence

Page 5: TIB RV Concept and Usage in Polaris

2002/10/18

Benefit of TIB RVBenefit of TIB RV

No need know client or server address No need know client or server address (good for distributed program)(good for distributed program)

Multi-thread safeMulti-thread safe Publish multicast message quickly and Publish multicast message quickly and

reliabilityreliability Request/reply supportRequest/reply support Location independent, easy to migrateLocation independent, easy to migrate Smoothly to expand Smoothly to expand

Page 6: TIB RV Concept and Usage in Polaris

2002/10/18

Demand DrivenDemand Driven

Traditional Client-Server Traditional Client-Server ArchitectureArchitectureClient Server

Request

Reply

Page 7: TIB RV Concept and Usage in Polaris

2002/10/18

Event-DrivenEvent-Driven

Subscribers will get an event notification Subscribers will get an event notification at the same time right after message at the same time right after message publish out.publish out.

Publisher Subscriber

Notification

Subscriber

TIBRV

Page 8: TIB RV Concept and Usage in Polaris

2002/10/18

Subject Oriented Subject Oriented

Subscriber will not receive any un-Subscriber will not receive any un-interested subject message notification.interested subject message notification.

Subscriber

Notification

SubscriberSubscriberPublisherstock.ibm stock.ibmstock.ibm stock.dec

TIBRV

Page 9: TIB RV Concept and Usage in Polaris

2002/10/18

Subject Oriented Subject Oriented

Applications publish data on the Applications publish data on the TIB under a semantically TIB under a semantically meaningful subjectmeaningful subject

Applications subscribe to subjects Applications subscribe to subjects and receive all data published and receive all data published under those subjectsunder those subjects

Subject-based addressing provides Subject-based addressing provides location transparencylocation transparency

Page 10: TIB RV Concept and Usage in Polaris

2002/10/18

ParadigmParadigm

THE INFORMATION BUS

Customer:Price: 79Qty: 2000

Order.New.Asia.Japan

Product:Status: ApprovedAuthor: JohnInstructions: special

Product.SpecName:Status: UpRecipe: XYZComments: wentdown due to malfunction

Area.Equip.Status.Up

Yield: 80%Time: 9/25/94Comments: on track

Factory.Line.Yield

Page 11: TIB RV Concept and Usage in Polaris

2002/10/18

TIB ArchitectureTIB Architecture

RVD

Appl. 1 Appl. 2

TCP TCP

RVD

Appl. 3 Appl. 4

TCP TCP

RVD

Appl. 5 Appl. 6

TCP TCP

Reliable UDP Multicast

Page 12: TIB RV Concept and Usage in Polaris

2002/10/18

TIB RV DaemonTIB RV Daemon Daemon rvd, a background process for rv mDaemon rvd, a background process for rv m

essage communicationessage communication Runs on the same machine of APRuns on the same machine of AP AP connect to RVD with TCP protocolAP connect to RVD with TCP protocol RVD communicate with other RVD with UDRVD communicate with other RVD with UD

PP RVD handle for AP:RVD handle for AP:

the details of data transport, packet ordering,the details of data transport, packet ordering, receipt acknowledgment, retransmission re receipt acknowledgment, retransmission requests, and dispatching information to the cquests, and dispatching information to the correct program processes. orrect program processes.

One RVD is enough for a machine.One RVD is enough for a machine.

Page 13: TIB RV Concept and Usage in Polaris

2002/10/18

RVD ParameterRVD Parameter DaemonDaemon : :

Tcp communication port between RVD & AP, Tcp communication port between RVD & AP, tcp:port or tcp:host_ip:port (remote deamon)tcp:port or tcp:host_ip:port (remote deamon)example: “tcp:7500” (default), “tcp:server1:7example: “tcp:7500” (default), “tcp:server1:7500”500”

NetworkNetwork : : Multicast address “;224.0.0.0” ~ “;239.255.25Multicast address “;224.0.0.0” ~ “;239.255.255.255”; 5.255”;

Service:Service:UDP service port between RVD and other RVDUDP service port between RVD and other RVDexample: 7500 (default), 8000example: 7500 (default), 8000

Page 14: TIB RV Concept and Usage in Polaris

2002/10/18

RVD ParameterRVD Parameter

Two AP on different machines need to Two AP on different machines need to communicate must has same network communicate must has same network & service parameter.& service parameter.

One service number only can bind to oOne service number only can bind to one network parameter in a machinene network parameter in a machine

Default “”, “”, “” Default “”, “”, “” “tcp:7500”, “tcp:7500”, broadcast, “7500” broadcast, “7500”

Page 15: TIB RV Concept and Usage in Polaris

2002/10/18

TIB ConceptTIB Concept

Advance:Advance: 保証送達 保証送達 Certificated Message (RVCM)Certificated Message (RVCM) 分工模式 分工模式 Distributed Queue (RVDQ)Distributed Queue (RVDQ) 成對備援 成對備援 Fault Tolerant (RVFT)Fault Tolerant (RVFT) 跨網段路由器 跨網段路由器 Routing Daemon (RVRD)Routing Daemon (RVRD)

Page 16: TIB RV Concept and Usage in Polaris

2002/10/18

TIB RV/CMTIB RV/CM

Use for important message delivery like Use for important message delivery like order or transaction. All message keep border or transaction. All message keep by sender’s transport for retransmit befy sender’s transport for retransmit before listener confirmation.ore listener confirmation.

Registration (sender auto allow listenerRegistration (sender auto allow listener’s request)’s request)

Certified Delivery Agreement Certified Delivery Agreement - Sender keep outbound message - Sender keep outbound message - Listener confirm after received- Listener confirm after received

Ledge file (memory or file)Ledge file (memory or file)

Page 17: TIB RV Concept and Usage in Polaris

2002/10/18

Support Support platform/languageplatform/language

HP/UX, Solaris / C, JavaHP/UX, Solaris / C, Java MS Windows / C/C++, COM, JavaMS Windows / C/C++, COM, Java OS/400, AIX / C, JavaOS/400, AIX / C, Java FreeBSD, Linux/ C, JavaFreeBSD, Linux/ C, Java VMS/ CVMS/ C Download RV:Download RV:

http://www.tibco.com/solutions/products/active_enterprise/rv/defaulhttp://www.tibco.com/solutions/products/active_enterprise/rv/default.jspt.jsp

* Request a licence first to get a month free try.* Request a licence first to get a month free try.

Page 18: TIB RV Concept and Usage in Polaris

2002/10/18

Polaris Quote/News AP

Usage in Polaris TWUsage in Polaris TW

Reuters real-time quote (before 2004 Reuters real-time quote (before 2004 Aug.)Aug.)

Reuters DC

MDDS

SSL COM

TIBRV

Streaming Server

Finairport Quote/News ASP

EQ Java Applet

Chart DB

Page 19: TIB RV Concept and Usage in Polaris

2002/10/18

RV2Tandem AP

Usage in Polaris TWUsage in Polaris TW

Back-office PublishBack-office Publish

TMOL-EQ

RV COM API

TIB RV/CM

Tandem Backoffice

All order transaction

Page 20: TIB RV Concept and Usage in Polaris

2002/10/18

Usage in Polaris TWUsage in Polaris TW

EQ & Finairport Single-Sign-onEQ & Finairport Single-Sign-on

TIB RV + RVRD

SingleSignon AP

EQ Frontend

Tokenserver

RV COM API

FinairportAuthentication

Server

User sign-on, sign-off

User sign-on, sign-off, token

Web user

Page 21: TIB RV Concept and Usage in Polaris

2002/10/18

Usage in Polaris HKUsage in Polaris HK

RVXIA between HKFIX & HKBSSRVXIA between HKFIX & HKBSS

RVXIA

TMOL EQ

RV C++ APIHKBSS ISPI

TWFIX

HKFIX

Taiwan

HK

FIX

mtalk

TIB RV/CM

TIB RV/CM

Page 22: TIB RV Concept and Usage in Polaris

2002/10/18

Usage in Polaris HK Usage in Polaris HK (Future)(Future)

RV2eBroker between HKFIX & eBrokeRV2eBroker between HKFIX & eBrokerr

RV2eBroker

TMOL EQ

RV APIHKBSS eBroker

TWFIX

HKFIX

Taiwan

HK

FIX

eBroker API

TIB RV/CM

TIB RV/CM

Page 23: TIB RV Concept and Usage in Polaris

2002/10/18

Q & AQ & A

Thanks!Thanks!