Python

Google AppEngine has just came out of "Preview" today,  & changed the pricing model & quotas accordingly. A major change in the pricing model is that instead of charging for the total CPU time of DB operations, they are now charged by the number of DB operations. This means that instead of tunning the DB operations themselves, a much better approach will be to just batch them together (when possible).

 

The Pull Task Queue API of AppEngine is very useful for batching DB operations, which can be written to the queue & pulled reliably in batches for execution.

 

udib 07/11/2011 - 17:28

 

Some notes & source-code from the talk given in TheJunction. Links to more source code & resources can be found at the bottom of this post.

 

Screencast recording

(not the actual talk, but almost identical):

 

udib 20/05/2011 - 15:39

DjangoCon.eu 2010 is almost over (the conference is split to 3 days of lectures & 2 days of sprints) & the videos/slides are already available, & highly recommended! 

* Videos

* Presentation slides

 

BTW, the conference this year was co-organized by Idan Gazit (who gave a talk in the TCE on Django). Feedback on it is really good, so lot's of kudos to Idan!!

 

udib 28/05/2010 - 06:13

 A recent study measured the productivity of using Python+Django vs. C#+ASP.NET, in terms of user-stories per week. The results are that 1 Django developer is equivalent to 2 ASP.NET developers, productivity-wise:

http://kurtgrandis.com/blog/2010/02/24/python-django-vs-c-asp-net-produc...

 

The Django team that participated in the benchmark, BTW, had no prior experience with Django, which probably implies that the difference can be even higher.

 

 

udib 25/02/2010 - 13:34

An interesting feature of python: support for coroutines: http://www.python.org/dev/peps/pep-0342/

 

coroutines allow suspending one routine and switching to another and then resuming from the same point. It can be achieved with multithreading with the following pseudo-code

 

routine1 ():

  while true:

    //do something

    raise event2

    wait event1

    //continue execution when routine2 raises event1

 

routine2 ():

  while true:

  //do something

  raise event1

  wait event2

  //continue when routine 1 raises event2

 

andrew 10/07/2009 - 21:43

Does anyone tried it. have heard , use it ?

 

http://www.djangoproject.com/

lior.kanfi 17/11/2008 - 22:48
Syndicate content