Hi ! On Fri, May 23, 2008 at 4:16 PM, Cassiano Alves <[EMAIL PROTECTED]> wrote: > Hi everybody! > > I'm a Java and C developer working to a financial company. > I'm working on a project of a Financial Authorization Server. > We had the suggestion to use Mina framework insted of using C/C++ socket > api.
That's a good suggestion :) > But we still have concerns about performance of a Java environment compared > to a C/C++ one. Well, java has gone a long way since 1996 ... Consider that network latency will in any case be order of magnitude more important than any of the C/Java difference you will see (if any). Modern JVM run as fast as C code, if you consider memory management you have to add into your C code. > > We expect to receive about 200 requests per second using ISO8583 protocol. I have no idea about the length and complexity of a ISO8583 message, but I can tell you that Apache Directory Server is written on tp of MINA (it's a LDAP server), and can deal with 5 000 requests per second. I guess that with a correctly written ISO8583 decoder, on a fast computer, you should be able to reach those 200 req/s easily. > > Is there some benchmark comparing Mina and C/C++ ? MINA is a framework, C/C++ is a language. You can't compare apple and oranges ;) Hope it helps ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com
