4 ms·
How do you communicate with Photon, is it over HTTP? (I know nothing of this "JAX-RS" you speak of). I was thinking of building something like this for my photo
by sprobertson 14y ago
How do you communicate with Photon, is it over HTTP? (I know nothing of this "JAX-RS" you speak of). I was thinking of building something like this for my photo warping app Trollaroid -- currently all the processing is done on client devices, but it'd be much more sensible to do it in the cloud. How might hooking up my API endpoint to an array of Java image processors over HTTP compare to say, using ZeroMQ as the glue?
- michaelfairley 14y agoOur webapp doesn't directly communicate with photon at all. The webapp sticks the photo in a certain bucket on S3 with, and then includes the path to that photo in the photon url that gets passed to the client. On the read path, HTTP is really nice because browsers, caches, and CDNs all speak HTTP.