An overview of UDF and RPC features, and in what scenarios they work best.
RPC Features:
The RPC code exists in a form that cannot be made into a .so or .dll file that Sybase CEP Server file can use. Reasons for this include:
The code is supplied by a 3rd party and is supplied only as an executable library, not a source code.
The code is not written in a language that Sybase CEP SDKs support for UDFs.
The RPC must be in a separate process so that if it crashes it will not affect the Sybase CEP Server.
The RPC is resource intensive. Run it on a separate machine from Sybase CEP Server to spread the workload.
UDF Features:
UDF calls are usually much faster than RPC calls. This is true for both CCL UDFs and C/C++ UDFs.
It is often much easier to write a UDF in CCL than to write an RPC and configure the server to call that RPC.