Desinerd : Dipankar's Blog

FeinCMS and DjangoCMS

Published: in Random, , , , , , by . Leave a Comment on FeinCMS and DjangoCMS.

Spent sometime working with both over the last month, created 2 ecommerce sites around these and here are some observations which may help people decide what works for them FeinCMS was a pain to get started with, i had to base it all on the default example as the documentation was not enough to get […]

obsessing about bdb, queues

Published: in Personal, , , , , , , , by . Leave a Comment on obsessing about bdb, queues.

So my nightmares do no cease to end, still debating queue solutions and databases. After spending a lot of time thinking about how to handle 100 million entries , concurrency and a lot of jazz here are some conclusions that I have reached. Tokyo Tyrant needs some testing personally. Can it work well within a […]

Nginx + django fcgi lessons

Published: in Technical, , , , , , , , , , , , by . 2 Comments on Nginx + django fcgi lessons.

Today was a good day as i learned some valuable lessons about django and nginx. ALWAYS close the database cursor in django, it can lead to some pretty wierd memory issues going forward. FIND the most optimal number of database connections you initialize for you connection pooling. This will let you optimize on memory going […]

Django : Optimizations within the platform

Published: in Technical, , , , , , , by . 9 Comments on Django : Optimizations within the platform.

In my experience with both rails and django, i would have to admit that a lot of things need to be improved at the core of these platforms so that developers can truly deploy a really fast production site. Let talk about what we did at kwippy to make it that much more faster than […]

Django : using a seperate memcached cloud for sessions

Published: in Technical, , , , , , , by . 2 Comments on Django : using a seperate memcached cloud for sessions.

When you are using a platform like django you realise how slow sessions can get when you are using the database as a backend. The problem of using a memory cache like memcached is the fact that when you restart the server to refresh the cache or remove stale objects, the problem is that you […]

Django : using HTTP authentication for your views

Published: in Technical, , , , , , by . 8 Comments on Django : using HTTP authentication for your views.

This is a small tutorial on how to use HTTP authentication for your site. Firstly you need to copy this file to httpauth.py and place it at /httpauth.py import base64 from django.contrib.auth.models import User from django.http import HttpResponse from django.contrib.auth import authenticate, login ############################################################################# # def view_or_basicauth(view, request, test_func, realm = “”, *args, **kwargs): “”” […]

My first post at kwippy blog

Published: in @Work, , , , , , by . Leave a Comment on My first post at kwippy blog.

http://blog.kwippy.com/2008/07/03/technology-behind-kwippy-and-scaling/ A post about how kwippy works and scaling strategies involved. Feel free to ramble and comment.