Skip to content

u/gomercobs

In this archive from Dec 2010 to Jun 2012

1
posts
12
comments
1
media
23
score

Top posts

Top comments

Use a reverse proxy: HA Proxy/Pound

Cache all the things: Varnish

More than an in-memory key/value store: Redis

Get a small VM to serve as reverse proxy (HA Proxy/Pound) in front of your N web servers.

Use Varnish on web servers to serve pages directly from memory.

Use Redis instead of memcache. You get a key value store plus a whole hell of a lot of other functionality.

2 points

For OAuth 1.0a integrations, use the the oauth-php library you've linked to. The thing that may be tripping you up is that oauth-php is both an OAuth client and a token storage system. If you don't want to create the database tables for token storage, you should use Session storage. Ping me on twitter @jakemcgraw and I'll send you some example code.

2 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.