This is a sharing session on how the speaker had built a production backend for the website that served PyCon APAC 2020 within 4 days. During these 4 days, the speaker had to plan the structure of webapp that interacted with both front-end and back-end, together with a middle-ware that used to check the validity of the ticket that attendees bought.
Due to the outbreak of Covid-19 pandemic, PyCon APAC 2020 had decided to host a virtual conference from 12th – 20th September 2020. In order to maintain the exclusiveness of the content during the conference, the core organization team had decided to build a simple portal that kept the exclusiveness of the content during the conference. However due to some personal reasons, the lead of web team for PyCon APAC 2020 had resigned from the post.
With no prior information/experience in building the webpage that used to display the schedule and streaming, the speaker decided to volunteer and take the tough job in building the web back-end in 4 days. Throughout the journey of building the website, the speaker had learned a lot of different experience through various perspectives, including vulgar comments from the attendees, due the issue on the webapp. He also found that not every single solutions can be found from google, and the knowledge of the design pattern is extremely important in building the webapp for production.
The structure of the talk will be divided into the following structure:
1. Why we need https://live.pycon.my
2a. The architecture of https://live.pycon.my
2b. Django vs Flask?
2c. How we had created a middleware in smart/foolish manner.
2d. What are the differences between gunicorn and uwsgi
2e. Single-threaded vs Multi-threaded: Things are not as easy as what we imagined
2f. How do you do load-balancing?
3. What setbacks we experienced during the deployment.
4. How code refactoring had improved the performance of the website
5. What we had learned through the streaming technology 6. Our conclusion: Automation is needed in the next deployment” English This is a real personal working experience from PyCon and the speaker hoped that this can be shared to those who would like to venture in the webapp built using Python.
Date & Time: 7 November 2020, Saturday 10:00-10:40
Speaker: Tang Ing Wei
Ing Wei was the chair for PyCon MY 2019 and the co-chair of PyCon MY 2018. He has spoken in various PyCons, particularly in PyCon APAC 2018, as well as participating in PyCon communities actively in Malaysia.
He uses Python a lot in his daily work, especially coding the automation process and flow. During his past time, he likes to experience and perform hacking different things on operating system level.
Apart from programming languages, he can also speak 5 different types of languages concurrently in one sentence. You can ask for a demo if time permits!”