Python

Google Cloud Functions: Cold Start Duration per Language

The following chart shows the typical range of cold starts in Google Cloud Functions, broken down per language. The darker ranges are the most common 67% of durations, and lighter ranges include 95%.

Read more...

Azure Functions: Cold Start Duration per Language

The following chart shows the typical range of cold starts in Azure Functions, broken down per language. The darker ranges are the most common 67% of durations, and lighter ranges include 95%.

Read more...

AWS Lambda: Cold Start Duration per Language

The following chart shows the typical range of cold starts in AWS Lambda, broken down per language. The darker ranges are the most common 67% of durations, and lighter ranges include 95%.

Read more...

Use Fiddler to debug urlfetch requests in Google AppEngine

We use a lot of web crawling to get data from third-party websites. Some crawling is not as easy as just a simple GET request, so we have to send specific POST data, cookies and HTTP headers. And all this needs to be debugged. Fiddler2 is the gold standard for web debugging tools, so I'd like to use it in this case too.

Read more...

Enable jinja2 and i18n translations on Google AppEngine

My initial goal was to make our new application (based on python/AppEngine) translatable. All strings in the application must be translatable. Translations should preferably stored in separate files. It should be easy to use the translations both in .py files and html templates.

Read more...

API to get the list of hotels

In our travelling application, we need to show the list of hotels in a city (St. Petersburg, Russia at the moment, but more will be needed in the future). The idea was to find a hotel information provider, and then upload the complete list into our own database.

Read more...