Hi Pavan,

Please use the mailing list next time.

I prefer the first option because encryption/decrypyion is usually a CPU-bound job.

HTH,

On Thu, 22 May 2008 00:46:03 +0900, Pavan Medishetty <[EMAIL PROTECTED]> wrote:

Hi Trustin,

I am new to MINA. My Problem is needed to decrypt all the requests with
my own algorithm.


I need a suggestion what is the best way to do it?

1. Writing a filter which will decrypt the request

2. Read the request and put it in queue and have separate thread pool
which will to do actual decryption.


Note: My decryption my take more time if request has huge data.


Which one will be more performable?


Expected a minimum of 200 concurrent users I need to handle. Plot form
independent.


FYI: Finally after decryption I have to pass the request to some other
server get the response from there and encrypt again and send back to
the client as response.


Thanks in Advance.

Pavan Medishetty
Sr. Software Engineer
NextSphere Technologies India Pvt. Ltd.,
':+91 - 40 - 4040 7825
Mobile: +91 - 9885181901
www.nextsphere.com <http://www.nextsphere.com/>
Skype: pavan.medishetty
"Learning gives creativity which leads to thinking, thinking produces
knowledge, and knowledge makes you great" - Abdul kalam.





--
Trustin Lee - Principal Software Engineer, JBoss, Red Hat
--
what we call human nature is actually human habit
--
http://gleamynode.net/

Reply via email to