Inside JVM Series Part 2- Sample Use case - Memory Optimized JSON Parser

Опубликовано: 14 Июль 2026
на канале: BangaloreJUG
252
8

Memory/Performance are hard to understand/explain. This is mostly due to the developer perspective that these appects are given when we choose a programing language or framework. And only functionalities are our responsiblities. Times are changing. At Bangalore Java User Group when we thought of making this series of sessions, our challenge was how are we going to make these easy to understand. Vaibhav spent a lot of time to come up with focused and structured series of topics. We had one session last week and we will have few in the upcoming weeks. We need a sample use-case that shows the benefit of memory management techniques.

JSON Parsing is a simple but hugely important usecase. In a Web Application, Almost Every Request comes through the parser (to create Java Objects from JSON Text) and goes through the parser ( to write json response from java objects). This puts us ideal place to optimize and learn about memory. Please watch the session on building Memory Optimised Json Parser by Sathish Kumar Thiyagarajan

Source Code: https://github.com/techatpark/sjson

Please make sure you attend the upcoming sessions also. We will revisit the same problem with even more optimisations as we go along the sessions.