Add to MyYahoo!
Subscribe in NewsGator Online
Add to Newsburst
Add to Google
Add to My AOL
Add to Pluck
Subscribe in FeedLounge
Add to Windows Live
Add to NetVibes
Subscribe in Rojo
Subscribe in Bloglines
Add to MyMSN
Add to Plusmo for your cellphone
Add to PageFlakes
Add to Technorati
Add to BlinkBits

items tagged with tuning

Enterprise grade performances tuning with critical memory constraints (part 2)
Written By: Administrator
Section: Java

Category: Tuning

2007-10-19 16:56:18

Still not enough, we were forced to profile the java code and make some big changes.... (from part 1)

Profiling

You either profile an application for speed and/or memory usage and/or memory leaks. Our application is fast enough at the moment. Our major concern is optimizing memory usage and thus avoiding disk memory swapping.

Some words about architecture


It is not possible to profile any applications without having a deep understanding of the architecture behind. The Product Catalog is an innovative product which is a meta model for storing insurances product in a database, a Product is read only and  can derivate instance that we call Policies. Policies are users data holder, containing no text, just values, and sharing a similar structure as the Product. This let the product know everything about (cross) default values, (cross) validations,  multiple texts, attributes order/length/type etc... and thus separate definition (Products) from implementation (Policies). Products and Policies can be fully described  with Bricks, Attributes in a tree manner.

Reduce the number of object created


Looking at the code, we have seen that too many Products (17 Products has 15000 objects either Attributes/Bricks/Texts/Value/ValueRange) were loaded in memory. While this is clearly giving a speed advantage on an application server, it is simply killing the offline platform with it 1GB RAM (remember memory really free is 500Mb)
The problem is that Attributes and Brick are using/can use  a lot of fields/meta data in the database which translate into simple java type (String for UUID, and meta data keys and values) in  memory. We start looking at the profiler and the 100 MB used by the product cache.
Reducing this amount of object was the first priority, a lot of them are meta data which are common and spread across the Product Tree in memory. Since avoiding creation of unneeded object is always recommended, we decide to remove duplicate element in the tree by singularizing them. This is possible because the product is Read Only and made of identical meta data keys, meta keys value.


Read More About Enterprise Grade Performances Tuning With Critical Memory Constraints (Part 2)...


Speeding Up Joomla! a little bit
Written By: Administrator
Section: Joomla

Category: How To

2007-01-28 18:09:57
Since my server is still suffering, Ive decide today to take some actions.

user: changes can be done on shared hosting with limited user rights.
root. changes require a full access to the server (root access with secure shell ssh)

I have currently per months, 160.000 visitors and 2 Millions Hits.or per day 8000 visitors and 24000 pages view.
Server has only 1GB RAM.

UPDATE: I found one/THE reason why my host is slowing down...SPAMMERS!

click read more


Read More About Speeding Up Joomla! A Little Bit...


Enterprise grade performances tuning with critical memory constraints
Written By: Administrator
Section: Java

Category: Tuning

2007-10-04 21:47:38

We are working since 3 days on tuning a big application: 

  • Client server enterprise grade application,
  • Run on 2 JVM  with 4Gb (Tomcat/Application server) of RAM each!
  • Run on 2 Double core AMD 64 bits server,
  • Linux 64bits,
  • Has a lot of parallel users and > 10000 are registered
  • Use a product meta model which separate definition from implementation data.
  • Java server faces, java, ajax
 This application  is just consuming too much memory for the offline version. Our objective is to make that big application run

  • The same code as above,
  • In windows XP, 
  • IBM T40,  Intel Pentium M 1.6 GHz,  DDR266/PC2100
  • 1 JVM with 500Mb in Tomcat,
  • 1 GB of physical Ram,
  • 1 Desktop user who may run also Lotus Notes, Microsoft Office at the same time...

Read More About Enterprise Grade Performances Tuning With Critical Memory Constraints...





There are 3 items tagged with tuning. You can view all our tags in the Tag Cloud

<< Start < Previous 1 Next > End >>
Page 1 Of 1
Content View Hits : 3166486

Enter Amount: