Google App Engine与Tomcat [英] Google App Engine vs Tomcat

查看:87
本文介绍了Google App Engine与Tomcat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够创建基本的"hello world"程序.

I was able to create the basic 'hello world' program.

当我试图了解云与服务器之间的区别时,我了解到云是您可以访问专门为您创建的虚拟实例的地方,您可以自由选择并安装自己选择的软件.为什么使用Google App Engine (GAE)广泛用于不使用tomcat的地方. GAE和Tomcat之间的主要区别是什么?

When I tried to understand the difference between a cloud and a server I learned that Cloud is where you have an access to virtual instance created exclusively for you and you are free to choose and install software of your choice.Why Google App Engine(GAE) is used widely where as tomcat is not used. What are major differences between GAE and Tomcat?

推荐答案

Cloud Google Cloud Platform . App Engine只是他们的服务之一.

Cloud is Google Cloud Platform at this case. App Engine is just one of their services.

App Engine是一个平台,可在此平台上构建您的应用程序. 平台即服务 PaaS .它简化了构建可伸缩应用程序的过程,当您了解真正需要并了解可伸缩应用程序的原理时应使用它.

App Engine is a platform to build your apps on top of it. A Platform As A Service or PaaS. It simplifies the process of building a scalable application, and you should use it when you understand what you really need and understand principles of scalable application.

Tomcat是Java Web容器,有很多替代方案. Google App Engine正在使用Jetty.您实际上可以通过使用Flexible VM将它与Tomcat一起使用,尽管它没有多大意义.

Tomcat is a Java web container, and there're many alternatives. Google App Engine is using Jetty. You could actually use it with Tomcat by using Flexible VM, though it doesn't make much sense.

App Engine与Web服务器无关,它是一组服务,可帮助您构建可扩展的应用程序.它包括Memcache,数据存储区,任务队列,Images API,部署工具和版本控制,用于静态文件的CDN,以及最重要的自动扩展.

App Engine is not about web server, it's a set of services that helps you to build a scalable app. It includes Memcache, Datastore, Task Queue, Images API, deployments tools and versioning, CDN for static files, and most important automatic scale.

实际上,您不仅限于Google Cloud Platform上的App Engine.还有更多传统服务,例如云中的自己的服务器,称为计算引擎.在那里,您可以运行Tomcat或其他任何工具.

Actually you aren't limited to App Engine on Google Cloud Platform. There is more traditional service, like own server in the cloud, called Compute Engine. There you can run your Tomcat or anything else.

这篇关于Google App Engine与Tomcat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆