I am currently developing a small POC model for testing out the Async feature of Jersey 2 with the help of Disruptor to dispatch the RESTful request
Phase 1:
Detail:
Main Thread :HTTP RESTful Get of Input Parameter ---> Jersey 2 --> Disruptor Dispatch the parameter to another thread.
Thread 1 : GCD Calculation.
Thread 2: Async Response to the client
Thread 3: Using AMQP(RabbitMQ) to write the log to DB, Probably Cassandra and each value is written using JSON .
With this POC, what I want to know more about Disruptor over ArrayBlockQueue and the latest Jersey 2 JAX-WS implementation.
Besides, I also wanted to test for the AMQP service.
I will jot down more information and the code here later on.
Stay Tuned.
6,June,2013 17.47 GMT +8
沒有留言:
張貼留言