![]() |
| Aggregation of vast energy: our sun. |
Showing posts with label performance. Show all posts
Showing posts with label performance. Show all posts
Wednesday, September 7, 2016
PostgreSQL: Optimizing Aggregates
Friday, July 15, 2016
PostgreSQL: Index-Only Scans with Partial Indexes
![]() |
| Partial sun lurking out of the water. |
Tuesday, June 28, 2016
PostgreSQL: Parallel Aggregate
With PostgreSQL 9.6 looming on the horizon, I went out to sift through some of PostgreSQL's commitfests to find some interesting bits and pieces. This post is the start of a series covering commits of the next generation of the venerable database management system.
![]() |
| Outflow made parallel. |
Tuesday, March 8, 2016
Even Faster Heaps
![]() |
| An ambulance rushing by. |
Tuesday, March 1, 2016
Designing xfork
Recently, I came to know a small team working on a problem which they try to solve by using threads. As expected, problems popped up soon and development slowed down considerably. So based on the previous post, I would like to lay out my intentions and design decisions regarding xfork, a module I've written and actively maintain in analysis of the newly introduced async/await syntax.
Concurrency is a hard engineering problem.
Take it seriously and even consider not being concurrent a valid option.
Design Assumptions
I created xfork from the following observations based on my own experience. Developers usually:
Concurrency is a hard engineering problem.
Take it seriously and even consider not being concurrent a valid option.
Design Assumptions
I created xfork from the following observations based on my own experience. Developers usually:
Tuesday, January 26, 2016
Heaps in Python
This time, we dig into the matter of how we can use heaps in Python. As a starter, you want heaps when there's a job to do like the following:
queue=[]
while necessary:
...
queue.append(an_item) # or two
...
...
next_item = min(heap) # what's next
...
queue.remove(next_item) # we're done; remove it
...
Labels:
heap,
heap invariant,
heapq,
performance,
Python,
tree
Subscribe to:
Comments (Atom)



