Database transactions have never been trivial in our groove of building efficient web applications. They play a major role — dictating performance almost single-handedly in data-intensive applications. There are, however, some nearly hidden approaches that aren’t part of our routine development yet. These could enhance our interactions with the database and, inwardly, give us the chance to unleash all the power of Django’s ORM. I had a chance to play around with these simple yet interesting methods recently and made some interesting discoveries. Let’s dive in!

This is the sample model schema I will be referring to in this blog…


When Django started making the rounds with its newest upgrade recently, a buzzword that might have reached you would be ‘ASGI’. Being tech-savvy, and living with WSGI servers all the time, you were probably curious to explore what it is, and everything in its arsenal.

With the same curiosity, I delved into Django’s source code and found some fascinating stuff. But before we dig deeper into these, let’s first see why Django has chosen to go async after all these years. Here are a few reasons:

  • Django 2.1 was the first version that supported Python 3.5 and up, and earlier…


Capstone project of Udacity DSND

PC: Starbucks

Introduction

This project is part of the Udacity Capstone Challenge and the given data set contains simulated data that mimics customer behaviour on the Starbucks rewards mobile app. Once every few days, Starbucks sends out an offer to users of the mobile app. An offer can be merely an advertisement for a drink or an actual offer such as a discount or BOGO (buy one get one free). Some users might not receive any offer during certain weeks.

Not all users receive the same offer, and that is the challenge to solve with this data set.

This data set contains three…


Airbnb, Inc. is a privately held global company headquartered in San Francisco that operates an online marketplace and hospitality service which is accessible via its websites and mobile apps. Members can use the service to arrange or offer lodging, primarily homestays, or tourism experiences. The company does not own any of the real estate listings, nor does it host events; as a broker, it receives commissions from every booking.

We know Airbnb’s success story and rate of growth it has seen in the past few years. I was wondering if we can analyse its data and understand a few trends…


Every growing undergrad dreams of getting an internship that upskills his/her ability to transform from academics to industry level standards. However, though securing an internship seems tough initially, it isn’t impossible. I strongly believe days are gone when internships and research positions are given to students only from top universities. Anyone who wants to dive deep into Computer Science and gain experience before landing on their dream job can go for it!

This is more relevant to any undergraduate student who is worried about the next steps from school or college. …

Susmitha Gudapati

Computer Science grad working as Software Engineer, voracious reader, travel enthusiast and a cuber.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store