Instagram Engineering

Stories from the people who build @Instagram

Follow publication

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Responses (14)

Write a response

Your post indicates that you didn’t notice this, probably because you were hacking on an old branch of uWSGI, but half of what this blog post is about I added as the — skip-atexit-teardown option to uWSGI a few months ago, and then subsequently…

--

The very first incarnations of amazon.com employed the same trick. Back in around 2000 it was running on Perl. To get more performance to meet the demand of dot com boom, they hired some famous Perl hacker to make a modified Perl with garbage collection hacked out.
I sincerely hope they dont’ run Perl anymore…

--

Hello,
Tracing the shared memory issue and disabling gc was great engineering. But I’m slightly confused about the remaining reference count issue. Since reference count is still remaining, just reading the object at shared memory will cause the copy of memory block. Was this issue negligible for this case?

--