Use of Hot Rod C++ client in a CGI C application
Issue
We have an application written in C language, running in a WEB environment with APACHE web server, the app runs in CGI and each binary file is equivalent to a thread that starts and ends every HTTP request. As the application is written in "C", it was used as base "quickstart" in C ++, being necessary to create a library (lib) so that the application in C could make use of the protocol hotrod and perform writing and reading in the JDG. It was possible to write and read the values in the JDG, but with a very long response time because it is a solution that should work in the character of "cache". In a brief analysis, it was demonstrated with low performance the opening and closing of the instance to each request for writing and reading, in some cases demonstrating unavailability.
Environment
- Red Hat JBoss Data Grid (JDG)
- 7.2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.