apache / apache/celix

Add support for symbol based serialization/RPC

Open
#85 0 comments 0 reactions 0 assignees View on GitHub
component/pubsub component/remote-services kind/improvement
Dominant language
C
Stars
193
Forks
99
Avg merge
1m
Merged PRs (30d)
1

Description

Currently the remote service admin and pubsub are based on the use of dfi and descriptors. Another option could be to support the de/serialization and RPC using predefined function signatures.

Using the extender pattern these function can be found and used without polluting the types/services with serialization/RPC code and make it possible to support a wide range of existing serialization/rpc techniques.

For example a service with the name "HelloWord" could have a bundle entry 'META-INF/services/HelloWorld.rpc_info' entry containing a simple properties files with - atleast- the entires "create_proxy" and "create_endpoint". These refer to symbols in the shared libraries of the bundle with predefined signatures.

More design details are needed before this can be implemented. Also a initial tech. should be chosen (e.g. RPC).

---

Original creation date: 09/Apr/2018
Reporter: @pnoltes

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.