question

Upvotes
Accepted
1 0 3 9

UPA failover support or implementation

We use UPA C API to get level 1 market data. I read the API user guide, it does not mention how to provide a server list(one is primary, another is backup) in the

chnl = rsslConnect(&copts,error).


However, with RFAJ, failover is simple, just config the session with multiple server addresses.

Question:

1. Does UPA support failover, if yes, any example program?

2. Should move to RFA or Electron API(which seems to have a version support failover)

elektronelektron-sdkrrtrfaeta-apielektron-transport-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
7.6k 15 6 9

@chris.xiao

You can also follow instructions from this article to run Cmake and generate Visual Studio solution for EMA examples.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
23k 22 9 14

Hello @chris.xiao,

If you are designing/developing a new application, would suggest to consider Elektron API suite. It is our latest API, that has all the new features. As well it is actively developed, so this is where all the next new features will be made available.

Eelektron Message API(EMA) is ease of use tier, that implements failover capability on behalf of the application via ChannelSet. I am referencing EMA C++ Developer Guide documentation, in Java EMA you will find it analogous. It is very performant, it is good for 90-95% of consumer use case requirements.

Elektron Transport API (ETA) is low level tier that you can select to use. This tier of Elektron suite have evolved from, several major versions back, UPA. With ETA/UPA you will have to design and develop failover and standby at the custom consumer application tier, yourself.

My suggestion would be to definitely look at EMA, appropriate language version,

EMA Quickstart is a quick and efficient way to get started.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
1 0 3 9

Hi @zoya.farberov, Thanks for your answer. I have since downloaded EMA c++. I install CMake for Windows, but have problems building the sample projects. Not sure if you can provide sample projects that is in VS solution format.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
23k 22 9 14

Hello @chris.xiao,

If you would build per ESDK Installation Guide, for example:

cmake --help | -HsourceDir -BbuildDir -G “VisualStudioVersion” [-Doption ... ]

It should create VS solution with all the examples in it. Have you had a chance to try it?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea