7 Replies Latest reply on Sep 19, 2006 5:04 PM by thomas.diesler

    JBoss and C++

    ncapito

      So I was testing the send rates of a C++ Soap client (using Axis C++ ,Linux OS, and a very simple string message) to a java webservice (JBoss server) and i found that it was slowing my processing from 250,000 to about 50 per second. I guess i was wondering what is the prefered C++ library to interact with JBoss Webservices? Assuming that the blame is thrown on Axis I would like to know the fastest, and most approved, way of contact a Java Jboss Webservice... I would also like to know about how many soap messages a second could a JBoss webservice process? We can assume that the webservice is just a simple counter, and every time a message comes in it incriments the counter and returns nothing....


      I will be interested to hear you all's response....


        • 1. Re: JBoss and C++
          stevenh

          Hi ncapito,
          It is not clear what was processing at 250,000/second. but i would assume that there shouldn't be any changes in the response time of the jboss server because of the type of client, or at least nothing of any significance (maybe slight differences in the structure of the soap message but they should all comply.

          I have not done any performance testing on my services but what i have done is exposed my web services as servlet endpoints and used a httpfilter to mark the start and end times in the logs, which make easier to debug. - it will also let me monitor the logs for poor response times of both my servlets and my web services.

          Cheers,
          Steve.

          • 2. Re: JBoss and C++
            ncapito

            The 250,000 per second is the number of messages i could create. In a perfect world my WS could process 250,000. I have also exposed two WS operations to mark Start, and End Time. Unfortunatly i am doing sequential processing right now so the send and receive time will be the same.... Do you have any idea on how fast you are able to interact with a WS using SOAP>?



            I guess my underlying fear is that I am not choosing the optimal C++ libraries to interact with the Java Webservice.... and that is why i am only able to process 50 per second....


            Thanks for the post.

            • 3. Re: JBoss and C++
              slaboure

              What are you trying to achieve i.e. you will never ever be able to send 250'000 messages per second on any WS stack.

              • 4. Re: JBoss and C++
                marklittle
                • 5. Re: JBoss and C++
                  ncapito

                  Any of the 100,000's via C++(Client) to Java(WS).... you think that is possible....?

                  • 6. Re: JBoss and C++
                    ncapito

                    Give me the numbers. Can you please send me the results, point me in the direction, of benchmark/performance tests that have been done. I am trying to gauge the type of throughput the AS can handle....

                    • 7. Re: JBoss and C++
                      thomas.diesler

                      Have a look at our benchmark tests

                      http://jira.jboss.org/jira/browse/JBWS-75