on-internet
← Community

Spring boot application slow performance

Stack Overflow ·

I have a very basic Spring boot application, which exposes CRUD Rest APIs for a very simple entity. Running performance test using JMeter shows the very bad response time Product (id, name, description) Constraints: id PK AUTOINCREMENT Settings: Number of Threads: 100 Ramp-up period: 10 (seconds) Infinite loop Duration: 60 (seconds) 4 APIs exposed to perform the following functions @Override public Product findById(Integer id) { return repository.findById(id) .map(mapper::map) .orElseThrow(() -> new RecordNotFoundException(1, "Product not found")); } @Transactional @Override public Product cre

Comments

Sign in or sign up to comment and upvote.

No comments yet.