02 Jun 25
13 Mar 23
Benchmarks and compares the performance of using optional values in Java and Rust
01 Nov 17
14 Aug 15
13 Feb 12
02 Feb 12
Surprisingly common scenarios:
- requiring 1G memory to support a few hundred users
- saving 500K session state per user
- requiring 2M for a text index per simple document
- creating 100K temporary objects per user hit
19 Jan 12
This covers the basics of memory allocation and garbage collection in Java, the different garbage collectors available in HotSpot and how they can be tuned, and finally some anecdotes from Attila’s experiences at Twitter.
01 Aug 11
09 Mar 11
The list of things we need to know in order to create a good simulation includes, the number of users, what they are doing, how often they are doing it, and when they are doing it. We also need to consider scenarios such as; beginning and end of shift activities, seasonal trends, special events, the ever present 2 am backup activity. Once we’ve collected all of this information and have scripted it into a load testing tool then we are ready to start the process finding our bottleneck.
08 Mar 11
Ehcache is an open source, standards-based cache used to boost performance, offload the database and simplify scalability. Ehcache is robust, proven and full-featured, which has made it the most popular Java-based cache with 100,000’s of production deployments.