Socket Connections / URLFetchService

75 views
Skip to first unread message

Sandro Röder

unread,
Dec 16, 2011, 5:00:24 AM12/16/11
to Google App Engine
Hi,

is it possible to create socket like connections vie URLFetch service.

I need a similar implantation to the following code:

Socket s=new Socket();

s.connect(new InetSocketAddress("somehost.com",
3000));
i=s.getInputStream();
o=s.getOutputStream();

Does anybody know how to implement this via the URLFetchService

Thanks,
Sandro

Simon Knott

unread,
Dec 16, 2011, 12:29:21 PM12/16/11
to google-a...@googlegroups.com
You can't I'm afraid, HTTP is the only protocol which is allowed from a GAE-hosted application.

Cheers,
Simon

Sandro Röder

unread,
Dec 18, 2011, 6:42:49 AM12/18/11
to Google App Engine
Thanks a lot.

Thats stupid, then I can forget appengine.

Brandon Wirtz

unread,
Dec 18, 2011, 5:18:01 PM12/18/11
to google-a...@googlegroups.com
No. It is Purpose built. Rather than being all things to all people GAE has
one purpose, FAST web Services.

It's not a game server, a mail relay, a distributed computing farm. As a
result it is scalable predictable and supportable.

Thanks a lot.

--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengi...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.


Andrin von Rechenberg

unread,
Dec 19, 2011, 8:36:02 AM12/19/11
to google-a...@googlegroups.com
well, it's actually a quite cool distributed
computing farm with the task queue support -
it's just a rather expensive one.

André Pankraz

unread,
Dec 19, 2011, 9:16:38 AM12/19/11
to google-a...@googlegroups.com
But after all I have seen now I think, wouldn't a mixed system PAAS and IAAS be better?

So keep this whole Services, but add free configurable virtual servers like Amazon.

Then you have H/R and BlobStore for Data, Queues, Crons, Frontend Channels, Email etc.
Replace Backend servers with AWS like servers, with the option to use them as alternative more flexible Frontend with configurable Load balancer. I understand why something like Backend servers can help to offload long running stuff to keep the Frontends for low latency stuff - but the restrictions are too tight.


Reply all
Reply to author
Forward
0 new messages