malenkix / guestbook

A smart guestbook for your events.
MIT License
0 stars 0 forks source link

Optimize Post Creation performance #19

Closed NadirHelix closed 6 years ago

NadirHelix commented 6 years ago

Currently the creation of posts is taking many resources. This seems to stack up with each new post that is created. If there is constant traffic on the server there is a risk to run out of heap space memory.

TODO

Change the process so only one instance PostApplet will be used for image creation and one for the messages. This means asynchronous processing of the Posts. To give the user a fast response, a validator should evaluate if the received data are correct.