Tagged articles
11 articles
Page 1 of 1
Top Architect
Top Architect
Oct 28, 2025 · Backend Development

How I Cut XML‑to‑MySQL Import Time from 300 s to 4 s

This article details a step‑by‑step performance overhaul for importing 60,000+ XML records into MySQL, covering baseline measurements, MySQL batch processing, asynchronous writes with Disruptor, XML parsing optimizations, and tuning MySQL buffers, ultimately reducing total runtime from 300 seconds to just four seconds.

Batch ProcessingDisruptorJava
0 likes · 14 min read
How I Cut XML‑to‑MySQL Import Time from 300 s to 4 s
Top Architect
Top Architect
Jan 16, 2025 · Backend Development

Optimizing XML‑to‑MySQL Data Import: Reducing Execution Time from 300 s to 4 s

This article describes how to dramatically speed up the import of 60,000+ XML records into MySQL by analyzing the original environment, measuring baseline performance, and applying a series of backend optimizations—including MySQL batch mode, rewriteBatchedStatements, multithreaded asynchronous writes with Disruptor, and XML parsing improvements—ultimately cutting the total runtime from five minutes to just a few seconds.

Batch ProcessingDisruptorJava
0 likes · 14 min read
Optimizing XML‑to‑MySQL Data Import: Reducing Execution Time from 300 s to 4 s
Selected Java Interview Questions
Selected Java Interview Questions
Oct 20, 2024 · Backend Development

Optimizing XML‑to‑MySQL Bulk Import: Reducing Execution Time from 300 s to 4 s with JDBC Batch and Disruptor

This article details how a Java‑based XML‑to‑MySQL import of over 60,000 records was accelerated from 300 seconds to just 4 seconds by enabling JDBC batch processing, configuring rewriteBatchedStatements, and employing a multithreaded Disruptor pipeline for asynchronous writes, while also discussing further tuning options.

DisruptorJDBC BatchJava
0 likes · 11 min read
Optimizing XML‑to‑MySQL Bulk Import: Reducing Execution Time from 300 s to 4 s with JDBC Batch and Disruptor
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 5, 2021 · Fundamentals

Master XPath and lxml: A Complete Guide to XML Parsing in Python

This article provides a comprehensive tutorial on XPath concepts, node types, syntax, axes, predicates, and operators, followed by a detailed introduction to the fast Python lxml library, its installation, usage for both offline and online HTML parsing, and practical code examples for extracting elements and attributes.

PythonXML parsinglxml
0 likes · 11 min read
Master XPath and lxml: A Complete Guide to XML Parsing in Python
FunTester
FunTester
Oct 11, 2020 · Backend Development

XML File Parsing Methods and a Groovy‑Based DOM4J Utility Class

The article explains four XML parsing approaches (DOM, SAX, JDOM, DOM4J), highlights the use of Groovy for scripting, provides a sample XML snippet, and presents a complete Groovy/Java utility class that leverages dom4j to parse XML files for backend applications.

BackendDOM4JXML
0 likes · 6 min read
XML File Parsing Methods and a Groovy‑Based DOM4J Utility Class
FunTester
FunTester
Sep 30, 2020 · Backend Development

How I Built a Groovy Script to Parse Zookeeper XML Configs for MySQL

After completing a DOM‑based XML parsing class, I tackled the messy Zookeeper configuration hierarchy for MySQL services, exposing unexpected node structures, missing values, and hundreds of database settings, and finally crafted a Groovy script that traverses the XML, filters relevant keys, and logs the extracted configuration details.

Configuration ManagementGroovyXML parsing
0 likes · 6 min read
How I Built a Groovy Script to Parse Zookeeper XML Configs for MySQL
Programmer DD
Programmer DD
Aug 22, 2020 · Backend Development

Mastering MyBatis sqlFragment: Reuse SQL Snippets Efficiently

This article explains MyBatis sqlFragment, its purpose for reusable SQL snippets, demonstrates how to define and include fragments in select/insert/update/delete statements, walks through the parsing process with code examples, and visualizes the transformation steps to build complete SQL queries.

MyBatisSQL reuseXML parsing
0 likes · 7 min read
Mastering MyBatis sqlFragment: Reuse SQL Snippets Efficiently
MaGe Linux Operations
MaGe Linux Operations
Feb 25, 2019 · Information Security

10 Common Python Security Vulnerabilities and How to Fix Them

This article outlines ten frequent security flaws in Python—from input injection and unsafe XML parsing to misuse of assert statements and vulnerable third‑party packages—explaining how each can be exploited and providing concrete remediation techniques to write safer code.

PicklePythonXML parsing
0 likes · 10 min read
10 Common Python Security Vulnerabilities and How to Fix Them