Django sessions works great since the begining, you can do a site with them and
never really understand how sessions works, but you can't scale to thousands of
simultaneous users writing all your sessions to database. The database can be a
huge bottleneck here and you should remove all unnecessary …
I started contributing to Django core after a failure in our project.
I had to rename a model attribute without touching our database. The solution
was simple.
# Simple attribute to rename.author=models.ForeignKey('Author')# 1. Add db_column param.author=models.ForeignKey('Author',db_column='author')# 2. Change the attribute name …
Honeycomb is the observability tool we use everyday at Buser. They help us tracking application bottlenecks, slow database queries, slow requests, requests with too many queries and much more.
Their automatic instrumentation with beeline is a good start, but at some point we had to extend the default behaviour.
Python has awesome tools for logging, including standard logging module. Also, through WSGI protocol we have the wsgilog middleware. Using it is easy with any Python web framework.
You can easily integrate it in bottle environment.
If you develop a Chrome Extension, you should know that. Some days ago, I received a scary red warning during development of FunBlocker Chrome Extension.
No problem, I can just follow the rules defined in Chrome Extensions Manifest Version and migrate my manifest to get rid of this warning. I …