<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://adron.me/feed.xml" rel="self" type="application/atom+xml" /><link href="https://adron.me/" rel="alternate" type="text/html" /><updated>2026-11-25T07:07:17+00:00</updated><id>https://adron.me/feed.xml</id><title type="html">Adron Hall</title><subtitle>Principal engineer, architect, and engineering leader. Portfolio, projects, and resume.</subtitle><entry><title type="html">Welcome</title><link href="https://adron.me/welcome/2024/07/02/Welcome.html" rel="alternate" type="text/html" title="Welcome" /><published>2024-07-02T00:00:00+00:00</published><updated>2024-07-02T00:00:00+00:00</updated><id>https://adron.me/welcome/2024/07/02/Welcome</id><content type="html" xml:base="https://adron.me/welcome/2024/07/02/Welcome.html"><![CDATA[<p>The following posts, are the highly detailed descriptions - or more specifically - the stories of the projects that I’ve worked on. I’ve wanted to detail these for years. Now, I’m finally getting down to writing these up. There are two purposes that I’m writing these up, one is that it is in many cases the projects have interesting stories behind them, and secondly I want to document the projects for my own reference for the detail of the tech (when it’s reasonble to provide the details that is).</p>]]></content><author><name></name></author><category term="welcome" /><summary type="html"><![CDATA[The following posts, are the highly detailed descriptions - or more specifically - the stories of the projects that I’ve worked on. I’ve wanted to detail these for years. Now, I’m finally getting down to writing these up. There are two purposes that I’m writing these up, one is that it is in many cases the projects have interesting stories behind them, and secondly I want to document the projects for my own reference for the detail of the tech (when it’s reasonble to provide the details that is).]]></summary></entry><entry><title type="html">Spam Detection Project</title><link href="https://adron.me/java,/spring/boot,/architecture,/spam/detection,/udf,/udef,/proofpoint,/sms,/mms,/docker,/aws,/micrometer,/monitoring,/logging,/asynchronous,/http,/webclient,/multi-part/messages,/scaling,/orchestration,/deployment/2024/06/26/spam-detection-project.html" rel="alternate" type="text/html" title="Spam Detection Project" /><published>2024-06-26T00:00:00+00:00</published><updated>2024-06-26T00:00:00+00:00</updated><id>https://adron.me/java,/spring/boot,/architecture,/spam/detection,/udf,/udef,/proofpoint,/sms,/mms,/docker,/aws,/micrometer,/monitoring,/logging,/asynchronous,/http,/webclient,/multi-part/messages,/scaling,/orchestration,/deployment/2024/06/26/spam-detection-project</id><content type="html" xml:base="https://adron.me/java,/spring/boot,/architecture,/spam/detection,/udf,/udef,/proofpoint,/sms,/mms,/docker,/aws,/micrometer,/monitoring,/logging,/asynchronous,/http,/webclient,/multi-part/messages,/scaling,/orchestration,/deployment/2024/06/26/spam-detection-project.html"><![CDATA[<p>Adron here, diving into the nitty-gritty of my latest project: building a robust SMS/MMS content filter leveraging Spring Boot and Proofpoint. This project was all about creating a seamless and efficient spam detection service. Let me take you through how the team and I put it all together.</p>

<h4 id="the-objective">The Objective</h4>

<p>Our goal was to build a content filter service that could process and analyze SMS and MMS messages, utilizing Proofpoint for spam determinations. We needed to handle various message formats, reassemble multi-part messages, extract relevant features, and make real-time spam decisions. Here’s how we made it happen.</p>

<h4 id="architecture-overview">Architecture Overview</h4>

<p>Our system is built with several key components:</p>
<ol>
  <li><strong>Message Ingestion Module</strong>: Captures incoming messages.</li>
  <li><strong>Message Preprocessing Module</strong>: Decodes and reassembles multi-part messages.</li>
  <li><strong>Feature Extraction Module</strong>: Uses UDFs to extract message features.</li>
  <li><strong>Spam Detection Module</strong>: Integrates Proofpoint for spam analysis.</li>
  <li><strong>Filtering and Logging Module</strong>: Filters spam and logs results for further analysis.</li>
</ol>

<h4 id="building-the-spam-detection-module-with-spring-boot-and-proofpoint">Building the Spam Detection Module with Spring Boot and Proofpoint</h4>

<p>The heart of our spam detection lies in the integration with Proofpoint. Here’s how we leveraged Spring Boot to build and deploy this service.</p>

<p><strong>1. Spring Boot Service Class</strong></p>

<p>We created a service class in Spring Boot, marking it as a service component to be managed by Spring. This class implements an interface to ensure consistency across different implementations.</p>

<p><strong>2. Asynchronous Processing</strong></p>

<p>To handle spam checks without blocking, we utilized asynchronous processing. This allows our service to process multiple requests concurrently, improving overall throughput.</p>

<p><strong>3. WebClient for HTTP Requests</strong></p>

<p>We used Spring’s WebClient to interact with Proofpoint’s API. This modern, non-blocking HTTP client simplifies the process of making API calls and handling responses. The client is configured to send the extracted message features to Proofpoint and receive spam determination results.</p>

<p><strong>4. Proofpoint Integration</strong></p>

<p>Proofpoint’s API plays a critical role in our spam determinations. We configured headers and message bodies as per Proofpoint’s requirements, ensuring accurate and efficient communication. The headers include information such as the source and destination of the message, and other policy-related variables.</p>

<p><strong>5. Handling Multi-part Messages</strong></p>

<p>Our service handles multi-part messages by decoding and reassembling them into a single coherent message. It also converts hexadecimal message content to a readable format, ensuring that the entire message is analyzed accurately.</p>

<p><strong>6. Metrics and Monitoring</strong></p>

<p>The team opted for Micrometer for monitoring and logging the performance of our spam detection service. This helps in keeping track of spam detection rates and system performance. We set up counters to track the number of messages identified as spam and other relevant metrics.</p>

<h4 id="containerization-and-stateless-scaling">Containerization and Stateless Scaling</h4>

<p>To ensure the application can handle high throughput, we containerized it using Docker with the intent of adding service nodes when throughput demands increase. Here’s how we set it up:</p>

<ol>
  <li>
    <p><strong>Dockerization</strong>: We created a Dockerfile to package the Spring Boot application into a container. This Dockerfile includes all necessary dependencies and configuration for running the application.</p>
  </li>
  <li>
    <p><strong>Stateless Architecture</strong>: The application is designed to be stateless, meaning it does not store any session data locally. This allows us to scale horizontally by simply adding more containers. Each instance of the application can handle incoming requests independently, ensuring high availability and reliability.</p>
  </li>
  <li>
    <p><strong>Orchestration</strong>: We made use of AWS Beanstalk for this application and deployment automation via Github actions. The entire process was automated via branching triggers for seamless deploy per desired environment.</p>
  </li>
  <li>
    <p><strong>Auto-scaling</strong>: AWS auto-scaling capabilities ensure that the number of running containers adjusts automatically based on the incoming traffic load. This means our spam detection service can seamlessly handle spikes in message volume without manual intervention.</p>
  </li>
</ol>

<h4 id="deployment">Deployment</h4>

<p>Deploying our Spring Boot application was straightforward. We packaged the application as a JAR file and deployed it to our AWS VPC environment via Github + Beanstalk Actions. Spring Boot’s embedded server made the deployment process seamless, allowing us to focus on refining the spam detection logic for pre and post processing needs.</p>

<h4 id="conclusion">Conclusion</h4>

<p>By combining Spring Boot with Proofpoint’s advanced spam detection capabilities, and leveraging Docker and AWS resources for containerization and orchestration, we built a powerful, scalable, and reliable SMS/MMS content filter. This project is a textbook example of how leveraging robust third-party solutions within a well-architected Spring Boot application can lead to efficient and effective solution.</p>

<p>That’s all for now. Stay tuned for more insights into my projects, and as always, happy coding!</p>

<hr />

<blockquote>
  <p>P.S. If you have any questions or want to share your experiences with spam detection, drop a comment or reach out to me directly. Let’s keep the conversation going!</p>
</blockquote>

<blockquote>
  <p>P.S.S. Names and companies have been relabeled in some of these description to prevent associations and for security reasons. The work was done, but the company names might be slightly altered for these reasons.</p>
</blockquote>]]></content><author><name></name></author><category term="java," /><category term="spring" /><category term="boot," /><category term="architecture," /><category term="spam" /><category term="detection," /><category term="udf," /><category term="udef," /><category term="proofpoint," /><category term="sms," /><category term="mms," /><category term="docker," /><category term="aws," /><category term="micrometer," /><category term="monitoring," /><category term="logging," /><category term="asynchronous," /><category term="http," /><category term="webclient," /><category term="multi-part" /><category term="messages," /><category term="scaling," /><category term="orchestration," /><category term="deployment" /><summary type="html"><![CDATA[Adron here, diving into the nitty-gritty of my latest project: building a robust SMS/MMS content filter leveraging Spring Boot and Proofpoint. This project was all about creating a seamless and efficient spam detection service. Let me take you through how the team and I put it all together.]]></summary></entry><entry><title type="html">Communities Of Practice: Transforming Financial Software Development</title><link href="https://adron.me/architecture,/design,/prototype,/infrastructure,/data/management,/database,/java,/spring/boot,/kubernetes,/terraform,/ansible,/jenkins,/github/actions,/monitoring,/logging,/devops,/agile,/mentoring,/graphql,/community/of/practice,/api,/database/etl,/virtualization,/documentation,/code/reviews,/pair/programming,/security,/api/2023/04/04/communities-of-practice-transforming-financial-software-development.html" rel="alternate" type="text/html" title="Communities Of Practice: Transforming Financial Software Development" /><published>2023-04-04T00:00:00+00:00</published><updated>2023-04-04T00:00:00+00:00</updated><id>https://adron.me/architecture,/design,/prototype,/infrastructure,/data/management,/database,/java,/spring/boot,/kubernetes,/terraform,/ansible,/jenkins,/github/actions,/monitoring,/logging,/devops,/agile,/mentoring,/graphql,/community/of/practice,/api,/database/etl,/virtualization,/documentation,/code/reviews,/pair/programming,/security,/api/2023/04/04/communities-of-practice:-transforming-financial-software-development</id><content type="html" xml:base="https://adron.me/architecture,/design,/prototype,/infrastructure,/data/management,/database,/java,/spring/boot,/kubernetes,/terraform,/ansible,/jenkins,/github/actions,/monitoring,/logging,/devops,/agile,/mentoring,/graphql,/community/of/practice,/api,/database/etl,/virtualization,/documentation,/code/reviews,/pair/programming,/security,/api/2023/04/04/communities-of-practice-transforming-financial-software-development.html"><![CDATA[<p>When I set out to establish a solid foundation for building financial applications, I knew I had to get a few things right from the start: vertical application stacks for reference and prototyping, horizontal infrastructure as code for scaling and resiliency, and a comprehensive approach to managing diverse data sources. Here’s how I approached each aspect from a back-end perspective.</p>

<h3 id="vertical-application-stacks-for-reference-and-prototyping">Vertical Application Stacks for Reference and Prototyping</h3>

<p>First, I tackled the vertical application stacks with a focus on the back-end. For financial institutions, the ability to prototype quickly and reference reliable implementations is crucial. I built complete end-to-end solutions in Java Spring Boot, ensuring that each component, from the service layer to the repository and database layers, was well-defined and adhered to best practices.</p>

<p>These stacks served as blueprints, allowing me to validate ideas and showcase functionality. By focusing on robust API development, database interactions, and middleware components, I ensured that our back-end systems could scale and adapt as needed. These prototypes included mock data and simplified components, enabling rapid iteration and refinement of concepts.</p>

<h3 id="horizontal-infrastructure-as-code-for-scaling-resiliency-deployment-and-management">Horizontal Infrastructure as Code for Scaling, Resiliency, Deployment, and Management</h3>

<p>Next, I focused on horizontal infrastructure as code (IaC) based on immutable infrastructure concepts. For scaling and resiliency, I leaned on container orchestration platforms, specifically for this group OpenShift was used internally and for cloud options like AWS a variety of options were available from AWS Beanstalk to EKS and related services. This ensured our applications could scale horizontally, adding more instances as needed to handle increased load without missing a beat.</p>

<p>Using tools like Terraform and Ansible, I managed and provisioned our infrastructure through machine-readable configuration files. This promoted automation, consistency, and version control, which are critical in financial services where reliability and compliance are non-negotiable.</p>

<p>I set up continuous deployment pipelines with Jenkins and GitHub Actions, automating the deployment process to ensure code changes were tested and deployed seamlessly. Monitoring and logging were handled by Prometheus, Grafana, and in some cases the ELK Stack, giving us real-time insights into application performance and logs, which is essential for proactive management and troubleshooting.</p>

<p>Embracing agile practices and DevOps principles, I fostered a culture of continuous improvement. Regular updates to our infrastructure and application codebase based on feedback and evolving requirements ensured we stayed steady in moving ahead.</p>

<h3 id="data-sources-planning-organizing-and-mentoring">Data Sources: Planning, Organizing, and Mentoring</h3>

<p>Financial institutions rely on a myriad of data sources, and handling them efficiently is key. I planned and organized strategies for integrating various databases like Oracle, SQL Server, PostgreSQL, MySQL, MongoDB, and Apache Cassandra. Each database has its own quirks and strengths, and I worked to ensure we used the right tool for the job.</p>

<p>Database integration was streamlined using ETL processes and APIs to standardize connectivity and integration around GraphQL and RESTful services. This allowed seamless access and management across disparate sources. Database design was optimized for performance, scalability, and maintainability, with a keen focus on indexing, partitioning, and the right balance of normalization and denormalization pertinent to interactive applications vs. reporting, and so on.</p>

<p>Mentoring played a big role in this process. I conducted training sessions and workshops, sharing my knowledge on different databases and how to effectively use them in Java Spring Boot applications. Comprehensive documentation on best practices, common issues, and troubleshooting tips was created and maintained for practitioners across the organization.</p>

<p>Engaging in code reviews and pair programming sessions allowed me to mentor junior developers, ensuring code quality and adherence to best practices. Special focus areas included database tuning and data security, teaching techniques for optimizing performance and ensuring compliance with data protection regulations.</p>

<h3 id="creating-communities-of-practice">Creating Communities of Practice</h3>

<p>Part of this comprehensive effort led to the creation of two crucial Communities of Practice (CoP): the GraphQL Community of Practice and the Java Spring Boot API Community of Practice.</p>

<ol>
  <li><strong>GraphQL Community of Practice</strong>:
    <ul>
      <li><strong>Purpose</strong>: This community was established to standardize and promote the use of GraphQL within our projects. GraphQL’s flexibility in querying data made it an ideal choice for complex financial applications, providing a more efficient and streamlined way to access data from multiple sources.</li>
      <li><strong>Activities</strong>: We organized regular meetups, workshops, and hackathons focused on GraphQL. These sessions covered everything from basic concepts to advanced implementations, encouraging knowledge sharing and best practices among team members.</li>
      <li><strong>Outcomes</strong>: The community fostered a culture of collaboration and innovation, leading to more robust and scalable GraphQL implementations across our projects. It also facilitated the creation of reusable GraphQL modules and libraries, accelerating development and ensuring consistency.</li>
    </ul>
  </li>
  <li><strong>Java Spring Boot API Community of Practice</strong>:
    <ul>
      <li><strong>Purpose</strong>: This community aimed to standardize the development of APIs using Java Spring Boot, ensuring that all services adhered to best practices and organizational standards.</li>
      <li><strong>Activities</strong>: Similar to the GraphQL community, we held regular sessions to discuss design patterns, security practices, performance optimization, and new features in Spring Boot. These meetings provided a platform for developers to share their experiences, challenges, and solutions.</li>
      <li><strong>Outcomes</strong>: The community led to the development of a comprehensive set of guidelines and templates for building Spring Boot APIs. This not only improved the quality and maintainability of our APIs but also reduced the onboarding time for new developers, as they had a clear and consistent framework to follow.</li>
    </ul>
  </li>
</ol>

<h3 id="conclusion">Conclusion</h3>

<p>By setting up these vertical application stacks, horizontal infrastructure as code assets, and robust data source management strategies, I created a resilient, scalable, and maintainable foundation for financial applications. The creation of the GraphQL and Java Spring Boot API Communities of Practice further reinforced our approach, promoting best practices, collaboration, and continuous improvement. This groundwork not only supported our immediate needs but also positioned the organization’s teams for future growth and innovation.</p>]]></content><author><name></name></author><category term="architecture," /><category term="design," /><category term="prototype," /><category term="infrastructure," /><category term="data" /><category term="management," /><category term="database," /><category term="java," /><category term="spring" /><category term="boot," /><category term="kubernetes," /><category term="terraform," /><category term="ansible," /><category term="jenkins," /><category term="github" /><category term="actions," /><category term="monitoring," /><category term="logging," /><category term="devops," /><category term="agile," /><category term="mentoring," /><category term="graphql," /><category term="community" /><category term="of" /><category term="practice," /><category term="api," /><category term="database" /><category term="etl," /><category term="virtualization," /><category term="documentation," /><category term="code" /><category term="reviews," /><category term="pair" /><category term="programming," /><category term="security," /><category term="api" /><summary type="html"><![CDATA[When I set out to establish a solid foundation for building financial applications, I knew I had to get a few things right from the start: vertical application stacks for reference and prototyping, horizontal infrastructure as code for scaling and resiliency, and a comprehensive approach to managing diverse data sources. Here’s how I approached each aspect from a back-end perspective.]]></summary></entry><entry><title type="html">Data Fabric</title><link href="https://adron.me/data/fabric,/architecture,/design,/schema/integration,/processing,/orchestration,/management,/governance,/security,/quality,/virtualization,/engineering,/science,/analytics,/visualization,/modeling,/warehousing,/lakes,/pipelines,/transformation,/apis,/strategy,/2023/02/02/data-fabric.html" rel="alternate" type="text/html" title="Data Fabric" /><published>2023-02-02T00:00:00+00:00</published><updated>2023-02-02T00:00:00+00:00</updated><id>https://adron.me/data/fabric,/architecture,/design,/schema/integration,/processing,/orchestration,/management,/governance,/security,/quality,/virtualization,/engineering,/science,/analytics,/visualization,/modeling,/warehousing,/lakes,/pipelines,/transformation,/apis,/strategy,/2023/02/02/data-fabric</id><content type="html" xml:base="https://adron.me/data/fabric,/architecture,/design,/schema/integration,/processing,/orchestration,/management,/governance,/security,/quality,/virtualization,/engineering,/science,/analytics,/visualization,/modeling,/warehousing,/lakes,/pipelines,/transformation,/apis,/strategy,/2023/02/02/data-fabric.html"><![CDATA[<p>Embarking on the journey to architect, design, and prototype a Data Fabric Platform for Bank ABC was one of the most fascinating projects I’ve undertaken. The core objective was to modernize our APIs, a crucial step in enhancing performance, scalability, and flexibility. This wasn’t just about upgrading technology; it was about transforming how we handled and leveraged data to drive the bank’s strategic goals. The deliverables of this project were comprehensive and multifaceted, ensuring a robust and scalable solution.</p>

<h3 id="deliverables">Deliverables</h3>

<p><strong>1. Architecture for Bespoke In-House Solutions and Existing Technologies:</strong></p>

<p>The architecture we developed was a blend of bespoke in-house solutions and existing technologies. We integrated Apache Flink for real-time data processing, Apache Kafka for high-throughput messaging, and Confluent for Kafka management. Apache Cassandra was chosen for its high availability and scalability, while Oracle and PostgreSQL were utilized for their robust RDBMS capabilities. Additionally, BizTalk was employed as a back-plane data broker to manage and orchestrate data flows between these disparate systems. This architecture ensured that we had a resilient, scalable, and high-performance data fabric capable of meeting the demands of modern financial services.</p>

<p><strong>2. Action Plans for Different Teams:</strong></p>

<p>To ensure seamless implementation, we devised detailed action plans for various teams:</p>

<ul>
  <li><strong>Database Administrators (DBAs):</strong> Focused on configuring and optimizing Oracle and PostgreSQL databases. This included setting up replication, backup, and recovery strategies, as well as tuning performance for high transaction loads.</li>
  <li><strong>Data Integration Developers:</strong> Tasked with integrating data sources using RDBMSes, Kafka, Flink, and other tools. They developed connectors and data pipelines to ensure real-time data flow and transformation.</li>
  <li><strong>Java Spring Boot Development Teams:</strong> These teams were responsible for writing applications that interfaced with the aforementioned data sources and technologies. They developed RESTful APIs and microservices to provide data access and business logic.</li>
</ul>

<p>Each team had a clear set of deliverables, milestones, and timelines, ensuring that all aspects of the project progressed in parallel and integrated seamlessly.</p>

<p><strong>3. Collaboration Meetings:</strong></p>

<p>Collaboration was key to the success of this project. We scheduled and organized meetings according to the need to know, involvement, and timing for implementation. Regular brainstorming and rumination sessions were held to align on the desired outcomes and address any emerging challenges. These meetings included:</p>

<ul>
  <li><strong>Kick-off Meetings:</strong> To align all teams on project goals and deliverables.</li>
  <li><strong>Weekly Stand-ups:</strong> To provide updates on progress, address roadblocks, and plan the upcoming week’s activities.</li>
  <li><strong>Integration Workshops:</strong> Focused sessions where developers and DBAs collaborated on integrating their respective components.</li>
  <li><strong>Executive Reviews:</strong> To provide high-level updates and receive feedback from stakeholders.</li>
</ul>

<p><strong>4. Executive Buy-In:</strong></p>

<p>Securing executive buy-in was crucial for the project’s success. We organized and presented a comprehensive plan detailing the final deliverables, timelines, and expected ROI. This presentation highlighted the strategic benefits, including improved operational efficiency, reduced costs, and enhanced customer satisfaction. The executive team approved the plan and set initial kick-off dates for the build-out. They also outlined action items to hire and build out the core leadership needed for implementation, ensuring we had the necessary resources and expertise to execute the plan effectively.</p>

<p>In essence, building the Data Fabric Platform for Bank ABC was about transforming vision into reality. It involved a delicate balance of collaboration, innovation, and strategic foresight. Through meticulous planning, relentless execution, and an unwavering focus on our goals, we created a solution that not only met but exceeded our expectations. This journey unlocked new potentials for Bank ABC, setting us on a path to sustained competitive advantage in the ever-evolving digital landscape.</p>

<p>Project Conclusion:</p>

<p>The project, for me, was completed upon deliverables - as defined above - were handed off to the newly hired leadership team responsible for taking the plan forward.</p>

<hr />

<p><strong>PS</strong> If you have any questions or want to share your experiences with spam detection, message me <a href="https://compositecode.blog/contact/">here</a> or reach out to me <a href="https://metalhead.club/@adron">@Adron</a>. Let’s get a conversation going!</p>

<p><strong>PSS</strong> Names and companies have been relabeled in some of these description to prevent associations and for security reasons. The work was done, but the company names might be slightly altered for these reasons.</p>]]></content><author><name></name></author><category term="data" /><category term="fabric," /><category term="architecture," /><category term="design," /><category term="schema" /><category term="integration," /><category term="processing," /><category term="orchestration," /><category term="management," /><category term="governance," /><category term="security," /><category term="quality," /><category term="virtualization," /><category term="engineering," /><category term="science," /><category term="analytics," /><category term="visualization," /><category term="modeling," /><category term="warehousing," /><category term="lakes," /><category term="pipelines," /><category term="transformation," /><category term="APIs," /><category term="strategy," /><summary type="html"><![CDATA[Embarking on the journey to architect, design, and prototype a Data Fabric Platform for Bank ABC was one of the most fascinating projects I’ve undertaken. The core objective was to modernize our APIs, a crucial step in enhancing performance, scalability, and flexibility. This wasn’t just about upgrading technology; it was about transforming how we handled and leveraged data to drive the bank’s strategic goals. The deliverables of this project were comprehensive and multifaceted, ensuring a robust and scalable solution.]]></summary></entry></feed>