Hi anh, khi nào nên dùng spring batch, chẳng hạn em có 10 triệu bản ghi log server em lưu ở file theo từng request, có nên dùng spring batch k ạ
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Spring batch chỉ là 1 thư viện hỗ trợ việc cấu hình chạy batch, nó sẽ giúp em dễ dàng hơn trong việc cấu hình cái này chạy trước, cái này chạy sau, em đỡ phải code nhiều thôi em ạ, chứ nó không liên quan đến số lượng bản ghi hay performance.
2. Performance nó sẽ phụ thuộc vào đối tượng xử lý nghiệp vụ của em, ví dụ các đối tượng service hoặc tasklet em ạ.