Speaker

Alexey Korepov

Alexey Korepov

Lead Software Engineer

Yerevan, Armenia

Senior full-stack web developer with 20+ years of experience. And tight with Drupal already 15+ years, starting from Drupal 5.0!

Area of Expertise

  • Business & Management
  • Information & Communications Technology

Topics

  • Drupal
  • PHP
  • PHP Technology stack
  • PHPUnit
  • Symfony
  • Node.js
  • JavaScript & TypeScript
  • TypeScript
  • JavaScript
  • Keystone.js
  • Kubernetes
  • Helm
  • Docker
  • SaltStack
  • Architecture
  • Architecture of Web-Apps
  • Software Architecture
  • Microservice Architecture
  • Solr

Extend your Drupal Watchdog!

Do you still use Database Logging in Drupal? Or already switched to the syslog, files, cloud?

In both cases - you're cooking the logs wrong! And I'll explain why!

Start using the full power of logging to make the log entries really meaningful, structured, and parseable, with the ability to store any metadata together with the log record.

I'll teach you how to extend your Drupal Logger to include there additional information, that helps you to track operations performance, progress, and results, detailed errors, exceptions.

You will be able to quickly filter your logs by any deep value of your unstructured metadata object.

And even more: We will build colorful charts directly from your logs, without any separate metrics reporting to Prometheus!

And all this - directly on your localhost, without commercial clouds.

Bonus for attentive listeners: integration of logs with OpenTelemetry Traces.

End-to-end observability with decoupled Drupal and microservices? Yes, it’s possible now!

Monitoring and debugging a simple decoupled project with our Drupal at the backend and a separate JS frontend app is already a tricky task, right?

Let’s throw in a couple of microservices there in different languages like Python, Go, Node.js, which keep crashing, and a pretty slow and unstable third-party API… And suddenly the task became a real pain in the neck!

From my session, you will learn how to easily integrate OpenTelemetry into Drupal and all other components of your infrastructure, and get the full observability of what’s happening in your decoupled project!

You will able to see in a single interface how all the components of your infrastructure perform: all logs, metrics, end-to-end traces - all in one place!

And even more! For a specific failed operation, that causes an error for a user on the frontend, you can easily find and see the whole trace of it! Starting from a user click on a button in your JS app, through Drupal request, and to a backtrace of one of your microservices, that crashed.

Come to listen, and grab the magic pill from your Drupal observability pain!

Debugging decoupled applications with microservices using OpenTelemetry

Monitoring and debugging a simple decoupled application just with a frontend and a single backend is already a tricky task, right?

Let’s throw in a couple of microservices there in different languages like Python, Go, Node.js, or maybe even Rust, which keep crashing, and a pretty slow and unstable third-party API… And suddenly the task became a real pain in the neck!

From my session, you will learn how to easily apply OpenTelemetry to all components and get the full observability of what’s happening in your decoupled project!

You will able to see in a single interface how all the components of your infrastructure perform: all logs, metrics, end-to-end traces - all in one place!

And even more! For a specific failed operation, that causes an error for a user on the FE, you can easily find and see the whole trace of it, starting from a user click on a button in your React app, to a backtrace of one of your microservices, that crashed at that time.

Come to listen, and grab the magic pill from your microservices pain! ;)

OSM geographic elements in Drupal: Countries, Regions, Cities, Towns

Overview of Drupal solutions to get list of countries and their localities as regular entities.

Presentation of a new module "OSM Localities" that imports to Drupal list of countries and localities with coordinates and boundary polygons from OpenStreetMap database, and keeps them in sync.

Short overview of Overpass API and OSM database querying practice, OSRM routing service.

Quick demo with creating interface to search nearest locality by GPS coordinates and show it on map with region and boundary polygon, using Views, Geofield and Leaflet modules.

Drupal Unit testing has never been easier, with Test Helpers!

Problem: “Unit testing takes time”, “Unit testing is difficult”, “Unit testing requires high skills”, “Let’s release the feature already and postpone unit tests”.

Does your organization, your team or even yourself recognize any of the above? If the answer is yes, then this session is for you.

Unit testing your code is a practice every project should have! But they are hard to write, especially for Drupal with its services and entities, therefore very often writing a unit test takes much more time and produces a lot more code than the tested function itself!

And you need a lot of skills and time, good knowledge of all the services you need to mock, initialize, inject… The way they interact with each other for something as simple as loading a Drupal node.

Fear no more! That was before the “Test Helpers” contrib module.

"Test Helpers" allows you to significantly reduce your time and the amount of code when writing unit tests!

You can easily get a working stub of an Entity together with EntityType, EntityStorage, save(), delete(), load(), loadMultiple(), loadByUuid(), loadByProperties() and other related functions, just via a single line of code!

Join me in this session, so you can master the not-any-more dark art of writing unit tests.

Save your team, client, organization unexpected headaches! 😉

DrupalCon Pittsburgh 2023 Sessionize Event

June 2023 Pittsburgh, Pennsylvania, United States

Alexey Korepov

Lead Software Engineer

Yerevan, Armenia

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top