
I suggest you to check other features too that Facebook has developer. Faster read/write for hard disks on hard drives. This ... i bet this will speed up L2J A LOT !
Check this out aswell http://developers.facebook.com/opensource/
In Java, I don't think, you can handle memory allocations like in C/C++. These allocations (cache) are handled by JRE process. Caching more than needed is not profitable.Naminator_X_ wrote:Umm memcached and FlashCache are not web based solutions only =)
I did some research and there is indeed a memcached client for java. Actually i've found 2.
http://github.com/gwhalin/Memcached-Java-Client
http://code.google.com/p/spymemcached/
Flash cache is more of a linux kernel tweak. Yup this will screw a bit with the crossplatform thingie but the benefits are... :X
Damn i though L2j is saving data real time :O by real time you should understand that i thought when i do something you send an UPDATE query to the database. You've found nice solution to the problem =)_DS_ wrote:SQL load quite high during loading of new chars during login and during periodic data save. Both of those procedures can't be cached.
yes, data is only stored periodically and on char disconnect. This saves us from needing an enterprise level system to run modest sized servers while giving us a comfortable level of data integrity.Naminator_X_ wrote:Damn i though L2j is saving data real time :O by real time you should understand that i thought when i do something you send an UPDATE query to the database. You've found nice solution to the problem =)_DS_ wrote:SQL load quite high during loading of new chars during login and during periodic data save. Both of those procedures can't be cached.