Our great sponsors
-
Thymeleaf
Thymeleaf is a modern server-side Java template engine for both web and standalone environments.
-
spring-data-mongodb
Provides support to increase developer productivity in Java when using MongoDB. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Thymeleaf is used for serving frontend resources in this service, and it has cache enabled for static resources based on content. Something like the following properties:
The downstream service handles the request in a similar manner, but in this case, it interacts with MongoDB, which also uses a connection pool managed by Mongo Java Driver behind Spring Data MongoDB.
In this case, we chose to use this solution from AWS for load testing just because the setup is very simple and we already had compatible jmeter scripts ready for use, but I’d rather suggest using distributed Locust instead for better reporting and flexibility.