Can I use different languages in a single GAE app, and how can I optimize performance?

Linda Hamilton
Release: 2024-10-31 10:02:01
Original
806 people have browsed it

Can I use different languages in a single GAE app, and how can I optimize performance?

Optimizing GAE with Language Mixing

Question:

As a beginner using Python and GAE, I understand that optimizations are usually implemented as needed. Rewriting critical sections in C is one method.

Does utilizing GAE eliminate this strategy? Since Go will be the fastest language for GAE due to compilation improvements, can Python and Go be combined within a single app? Are there alternative approaches for achieving similar results?

Answer:

Using multiple languages in a GAE app is possible as described in "Can I write parts of the Google App Engine code in Java, other parts in Python?".

However, each app version must employ a single runtime language. You can establish two distinct app versions in various languages, exchanging data via the datastore.

Additionally, you can create separate apps in different languages and pass data between them using requests.

The above is the detailed content of Can I use different languages in a single GAE app, and how can I optimize performance?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!