Re: [OJB-developers] ERROR: Server configuration denies access to data source
Brought to you by:
thma
From: Thomas M. <tho...@ho...> - 2002-02-26 17:56:14
|
Hi Ricardo, I don't think that OJB is slow in general. I have done several=20 performance comparisons against other persistence layer and native JDBC. To argue with your boss you can do the following: Let the OJB performance testsuite (build.sh performance) run against=20 your MySql DB. YOu will definitely see that a native JDBC solution is not much faster.=20 (say 5 to 20 percent) Of course performance depends a lot on you set up the mapping. The usage=20 of proxies is sometimes helpful. But it always depends on the special=20 requirements of your application. I hope to get the proxies issues fixed by this week. For the time beeing you might send me your repository.xml and some of=20 your poor performing code. I will have a look at it. I hope this will be quick enough! lots of greetings from Essen, Germany, Thomas Ricardo Arg=FCello wrote: > Hi Thomas, >=20 > OJB is performing REALLY slow, and I'm begining to have some "problemas= " with my users... >=20 > A simple insert or select takes way to much time. I don't think it is a= database problem, since MySql is very fast (because of the fact it doesn= 't use transactions or referential integrity :-) >=20 > I just wanted to know how long do you think it will take you to check t= he dynamic proxy issue. I believe that OJB + dynamic proxies will be the = solution for my perfomance problem, but in the mean time, I'm stuck into = a very uncomfortable situation... My boss is asking me to justify the use= of a persistance layer whatsoever! He thinks straight JDBC would have be= en a better solution... But there is no way I could have finished the pro= ject on time, if it wasn't for OJB! Thanks Thomas, you have done a GREAT = job. I only need to make the system respond FAST, and maybe OJB will be u= sed for every project we work on, from now on... >=20 > I hope to hear from you soon, >=20 > Greetings from Quito, Ecuador. >=20 > Ricardo Arguello > ri...@ya... >=20 >=20 >=20 > ----- Original Message -----=20 > From: "Thomas Mahler" <tho...@ho...> > To: "Ricardo Arg=FCello" <ri...@ya...> > Cc: "Objectbridge (E-Mail)" <obj...@li...urceforge.= net> > Sent: Friday, February 22, 2002 1:02 PM > Subject: Re: [OJB-developers] ERROR: Server configuration denies access= to data source >=20 >=20 > Hi Ricardo, >=20 > Ricardo Arg=FCello wrote: >=20 >=20 >>Hello, >> >>Nope, it didn't work. >> >=20 >=20 >=20 > Mmh... >=20 >=20 >=20 >>I'm still getting the same Exception when trying to get an object which= has a lot of relations with another objects. >> >>This is the Exception (again): >> >> >=20 > <snip> >=20 > I will have a complete code walkthrough to fix this issue. > For the time beeing you might consider disabling the use of proxies. >=20 > Did you run the performance tests? Any results that could be interestin= g=20 > for us? > Imho, OJB won't perform bad (even without proxies) for a large range of= =20 > scenearios. >=20 > cu, >=20 > thomas >=20 >=20 >=20 > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers >=20 >=20 >=20 >=20 >=20 |