由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 一个详细有趣的JD
相关主题
怎么把servlet publish成web serviceswhat do u think of SOAP vs REST ( or even FB's thrift server)?
一个关于GWT的问题RESTful framework that supports JSON and JMS transport
soa变成rest,大家公司在用哪个?大妈求建议(拜谢!)
请问高手:thrift 要通过什么连database 比如 mysql ?如何学习用Java开发Web Service?
新手学习web service,有人想一起做点project吗?现在做jasper report,amazon web services了,goodbug我要经常向你请教了。
新手问题 -- web service怎么Authentication and Authorizationflex virgo
在AWS如何作测试请教一个Jscript和restful的问题
consume RESTful web services on the client side (web pages)?这个UDDI是咋回事儿?求讲解。。。
相关话题的讨论汇总
话题: transcoder话题: service话题: restful话题: job
进入Java版参与讨论
1 (共1页)
z***s
发帖数: 3241
1
First, watch this video, it's nearly identical to what we're trying to
accomplish:
http://aws.amazon.com/elastictranscoder/
Desired Result:
An app / service with the following components:
-RESTful webservice interface
-Service for transcoding video files
-RESTful client for calling other RESTful webservices
At this time the service doesn't really need a database backend however it
would be good to add some failover / fault tolerance this could be
accomplished by embedding a persistent queue (for example).
Workflow:
Some of these requirements are less stringent than others depending on your
experience - for instance rather than a RESTful interface we could leverage
a JMS queue, what is outlined here is simply how we'd build it:
1) Our platform calls out to the transcoder service via a REST endpoint to
initiate a transcoding job:
-POST /transcoder/jobs
-JSON payload something akin to:
{
url: "https://s3-us-west-2.amazonaws.com/tab-local-uploads/Carl+Birthday+
FRONT.png"
tabId: 1234
transcodeJobParam1:"value"
transcodeJobParam2:"value"
transcodeJobParam3:"value"
}
-The payload contains enough information to initiate the transcode job. Some
of the items we have above are:
-url: represents a video file that has been uploaded to our Amazon S3 bucket
, the 'input bucket' for -the transcoding service
-transcodeJobParam1: Metadata describing the encoding profile to use during
transcoding
-transcodeJobParam2: Metadata describing the encoding profile to use during
transcoding
-etc...
-Additional parameters as required, these need to-be-defined
2) Upon receipt of a successful call, transcoding service is initiated.
Transcoding service will leverage the AWS Elastic transcoder to perform the
following:
-Create a transcode job as defined in the POST payload
-Submits the job to the AWS transcoder
-Monitors the AWS transcoder job
-When complete saves the output of the transcoder job to a processed /
complete S3 bucket
3) Once complete, the transcoding service will make a REST call to our
platform (callback) to indicate completion of processing.
-GET dev.tabrific.io/api/v1/tabs/1234/transcoder?url=pathToNewS3URL
1 (共1页)
进入Java版参与讨论
相关主题
这个UDDI是咋回事儿?求讲解。。。新手学习web service,有人想一起做点project吗?
请推荐一下RESTful WS Framework新手问题 -- web service怎么Authentication and Authorization
java SOAP比restful难学吗?在AWS如何作测试
有人用eclipse吗?consume RESTful web services on the client side (web pages)?
怎么把servlet publish成web serviceswhat do u think of SOAP vs REST ( or even FB's thrift server)?
一个关于GWT的问题RESTful framework that supports JSON and JMS transport
soa变成rest,大家公司在用哪个?大妈求建议(拜谢!)
请问高手:thrift 要通过什么连database 比如 mysql ?如何学习用Java开发Web Service?
相关话题的讨论汇总
话题: transcoder话题: service话题: restful话题: job