9 Replies Latest reply on Nov 18, 2009 12:01 AM by asookazian

    CDI (Weld) tested in clustered envmt?

    asookazian

      Any clustered JBoss testing with Weld app?  If yes, results?  How does it compare to similar Seam 2.x apps in same cluster?  I guess I'm asking about JBoss 5.x...

        • 1. Re: CDI (Weld) tested in clustered envmt?
          nickarls

          If you have time, set up two servers and give feedback. Good way to learn and scratches your itch at the same time.

          • 2. Re: CDI (Weld) tested in clustered envmt?
            pmuir

            We do some basic cluster testing in Weld, where we check replication between two Weld instances behaves as expected (this involves replicating a particular object graph that is rooted in a normal scoped bean with some other beans hanging off it and verifying the replication). Feel free to expand these tests via a patch if you want to verify some more complex object graphs.


            I have just written a bunch of tests (and bug fixes ;-) that verify that all built in beans are actually serializable.


            However, of course nothing beats running a real (well, non-trivial example) in a real cluster, and our QA team are working on this.


            This is a big priority for us :-)

            • 3. Re: CDI (Weld) tested in clustered envmt?
              meetoblivion

              has it been moderately tested? if so, that means i can give my old webbeans app a second life in weld now....  last i saw, looked like you moved my bug reports to 1.0.1 CR1, so out of the main public release...

              • 4. Re: CDI (Weld) tested in clustered envmt?
                nickarls

                First version is like windows - if it compiles, ship it. First service pack is what people will actually be using ;-)

                • 5. Re: CDI (Weld) tested in clustered envmt?
                  pmuir

                  John, yes, we've done some basic testing. Give your app a go, let us know the results. Sorry I didn't get to your issue, it seemed like I need a cluster to reproduce which takes some time to get set up.

                  • 6. Re: CDI (Weld) tested in clustered envmt?
                    asookazian

                    Pete Muir wrote on Nov 12, 2009 18:57:


                    John, yes, we've done some basic testing. Give your app a go, let us know the results. Sorry I didn't get to your issue, it seemed like I need a cluster to reproduce which takes some time to get set up.


                    oh come on, you work for JBoss and I'm sure you or someone else at Redhat/JBoss have some *nux scripts like we had at Cox to setup the httpd/mod_jk/JBoss horz 2 node cluster...

                    • 7. Re: CDI (Weld) tested in clustered envmt?
                      gavin.king

                      Arbi Sookazian wrote on Nov 12, 2009 19:55:



                      Pete Muir wrote on Nov 12, 2009 18:57:


                      John, yes, we've done some basic testing. Give your app a go, let us know the results. Sorry I didn't get to your issue, it seemed like I need a cluster to reproduce which takes some time to get set up.


                      oh come on, you work for JBoss and I'm sure you or someone else at Redhat/JBoss have some *nux scripts like we had at Cox to setup the httpd/mod_jk/JBoss horz 2 node cluster...


                      Cos y'know, Pete didn't have anything else important to do over the last few days. He's only been working about 16 hours a day, that leaves about 8 hours each day for figuring out this clustering issue.

                      • 8. Re: CDI (Weld) tested in clustered envmt?
                        pmuir

                        It's not as simple setting up the cluster once on my machine. For it to be valuable time, I need to create tests which demonstrate this so we don't screw it up down the line. This involves hardware, a lab, a good way of deploying stuff etc. - our QA team has this on their agenda :-) You also assume I have clustering knowledge - this was probably the biggest barrier, or that Red Hat has thousands of engineers who I command at the drop of a pin (you're confusing us with Snoracle ;-).


                        Instead, I wrote some simple test infrastructure and tests that simulate a Weld cluster, and work by simply establishing multiple Weld containers, and replicating the contexts between them and verifying the contents, in the same JVM. This gives me confidence the basics are correct, but it may need fine tuning...

                        • 9. Re: CDI (Weld) tested in clustered envmt?
                          asookazian

                          ok, fine.  sorry guys to be rude/brutal/etc.  anyways...


                          in reference to this post: http://seamframework.org/Community/ConcurrentCallToConversationErrorWhenUnderLoad


                          what about any tips and tricks or best practices when load testing our Seam/Weld apps?  This particular problem seems like a pain to identify and fix...