In my servlet doPost method, I need to access the file (share) and update the file. How can I serve about 100 users using this at the same time?
Regards, Mithun
, - , ? - .
With a high level of concurrency (for writing), synchronization will cost you a lot of bandwidth.
Databases are more adequate to handle this, if possible in your project.
I would use the java.util.concurrent packages added in Java 1.5. In particular, BlockingQueue for the request queue and processing them in the second thread pool.
Source: https://habr.com/ru/post/1729901/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1729896/writing-web-service-to-convert-documents-to-pdf&usg=ALkJrhjlSy3SSlxU1wmSobH6qoR23Ape1ACustomizing my search function - c #Как скрыть URL-адрес, который отображается внизу документов при печати чего-либо с веб-сайта? - javascriptHow to find out how many times a particular method is called in java - javaHow to get a message request from its serial number? - c ++Bold Dots in Microsoft Chart Control - asp.netCan a URL be considered the only key for an HTTP response? - designHow to simulate effect in stackoverflow on Ruby on Rails? - ruby | fooobar.comМожет ли URL-адрес считаться единственным ключом для ответа HTTP? - Часть 2 - designC # Reflection - can I check if one method is calling another - reflectionAll Articles