Re: Infrequently used, running Java Chatbot app - slow to respond to a new request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That is a very interesting question. I don't know the answer and I fear there is not a way to do it, but I like to know if there is. I assume you're talking about a server-side Java app with servlets/jsps rather than an applet? I think you mean that it's swapping to disk. If there were a cache involved, it would speed up the process.


On Tuesday, May 16, 2017 1:23 PM, Philip Rhoades <phil@xxxxxxxxxxxxx> wrote:


People,

I have an infrequently used Java chatbot app - mostly accessed from
here:


which connects with the chatbot running on my Fedora 25 x86_64 server.

Because it is infrequently used, it appears that Java is caching most of
the app to disk.  When I start a new conversation I can hear the disk in
the server next to me churning and it takes some time before I get a
response from the bot - and also the delay seems to be causing problems
between FB and the bot on my server causing messages to be repeated etc.

Is there some way to force the OS to NOT disk cache the Java app so that
it will always respond as quickly as possible - even if there are long
periods between chats?

Thanks,

Phil.
--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
_______________________________________________
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx


_______________________________________________
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux