ISG-ICS / cloudberry

Big Data Visualization
http://cloudberry.ics.uci.edu
91 stars 82 forks source link

Replace the actor message passing in TweetMap demo by using "/berry" http request #230

Closed JavierJia closed 7 years ago

JavierJia commented 7 years ago

Currently, in the front-end server, the NeoActor is sending the message directly to the berryClient. It works because the front-end and the middleware live in the same server which will not be the case if we want to make Cloudberry a general purpose middleware.

Now, since we have the /berry API, the NeoActor should send an HTTP request to http://hostname:port/berry instead of an actor message and then receive a stream of HTTP chunked results.

You can read this documentation about how to use it to handle a stream of responses.

JavierJia commented 7 years ago

@haochen07

JavierJia commented 7 years ago

You can start from the non-streaming fashion first. :-)

haochen07 commented 7 years ago

This Issue is done. Do I need to close it ? @JavierJia

JavierJia commented 7 years ago

please do 📪

haochen07 commented 7 years ago

which means close it ?

JavierJia commented 7 years ago

haha, yes, please feel free to close it.