30 July 2010

The Ruby Reflector

Topic

Hypertext Transfer Protocol

  Source Favicon
By Hongli Lai of Phusion Corporate Blog 7 hours ago.
Email

…when application processes are being spawned, Phusion Passenger is unable to handle HTTP requests until the processes are done spawning, because Phusion Passenger is holding the lock on the application pool while this is happening. Some websites have apps that need a very long time to spawn (30+ seconds) and this would be a problem for them. This behavior would also cause a "thundering herd" problem: suppose that a traffic spike appears, then the first request will cause Phusion Passenger…

blog.phusion.nl Read
  Source Favicon
Email

Squid now uses this RAM for something else but after some time, the HTTP object gets a hit, so squid needs it back.

First squid needs some RAM, so it may decide to push another HTTP object out to disk (repeat above), then it reads the filesystem file back into RAM, and then it sends the data on the network connections socket.

Did any of that sound like wasted work to you ?

via varnish-cache.org

Hm, instructive.

Permalink | Leave a comment »

axonflux.com Read
  Source Favicon
Email

…coding with call-backs is hard, but if you treat events (from the user, from ajax HTTP, or whatever) as a collection that you can subscribe to, and you can map and filter those collections with anonymous functions, it's easier. We'll have to see. The speaker, Erik Meijer, gave a pretty similar talk at MIX .

Badges, with Ribbons

They took some flak for the ribbon color-text, especially for the desperate perl hackers , but they were pretty good about it. They …

invisibleblocks.wordpress.com Read
  Source Favicon
On Scout ~ The Blog 2 days ago.
Email

Apache and result in 0 Mongo queries. Our tuning will probably always be at the HTTP level. I doubt we will ever even bruise Mongo.

You're not a big shop, and sometimes taking on a newer DB store can be intimidating. How big of a learning curve from a sysadmin's perspective has Mongo been?

John : Mongo is probably one of the easiest databases around to get up and running, as they have pre-built binaries for OSX and several Linux distros . They follow …

scoutapp.com Read
  Source Favicon
By Adam of Transcending Frontiers 4 days ago.
Email

What is AWIA?

From their website:

Formerly Port 80 Inc, the Australian Web Industry Association represents businesses, individuals and students involved in the web industry and aims to:

Further the advancement of the web industry within Australia;

Educate the general public about the role of professionals in the web industry;

Foster greater ties with like-minded organisations.

The Committee

As Managing Director of The Frontier Group, I have nominated to be on the committee in one of the upcoming vacant positions.

thefrontiergroup.com.au Read
  Source Favicon
By Igor Minar of Igor Minar's Blog 4 days ago.
Email

…against your nodes. The /errors.jsp is the ideal target for these healthchecks, because it returns HTTP 200 only if everything is ok with the node.

Hardware (cpu, memory, disk)

When you are making your hardware choices, I suggest you stick with a server that is relatively recent and has decent single-threaded performance, yet offers multicore parallelism. Confluence does relatively a lot of number crunching per http request, so both single-threaded and multi-threaded horse-power are needed …

blog.igorminar.com Read
  Source Favicon
Email

HTTP POST to this URI to transfer funds. HTTP GET to get transactions in that currency.

In addition in the above grocery transaction the funding types elements. Neither the merchant nor the consumer cares about these. They are also extremely specific to PayPal and are likely not of any interest to most other people wanting to implement this, such as banks. They could be modeled into the URIS as well:

http://paypal.com/owp/usd - do whatever default behavior is

http://paypal.com/owp/usd/creditcard …

stakeventures.com Read
  Source Favicon
By Hongli Lai of Phusion Corporate Blog 29 days ago.
Email

…in general don't have a lot of system administration skills or a reasonable understanding of HTTP. Most people were and still are much more familiar with PHP's model, where you tell the web server where your app is and then have the web server take care of the rest for you. It was this confusion that caused all the uproar about sucky Rails deployment back in 2008.

While developing Phusion Passenger for Apache, we decided to follow a PHP-like model because ease of use was …

blog.phusion.nl Read
  Source Favicon
On Effectif Development 1 month ago.
Email

…{replSetGetStatus: 1} command, or check http://localhost:28017/replSetGetStatus?text via HTTP.

Connecting to a replica set

When an application tries to talk to a primary member that has gone down it will get an error (e.g. a socket error), at which point it will then need to try and find out which member it should talk to. Language drivers will be updated to handle this, so application developers shouldn't need to worry about it. mongos will also handle it transparently.

effectif.com Read
  Source Favicon
By techarch of The "Tech. Arch." 1 month ago.
Email

by overriding the route dispatch mechanism and mapping the HTTP verbs such as PUT and DELETE

to the appropriate route controller methods.

RESTstop, a REST plugin for Camping

Matt Zukowski wrote the RESTstop library to easily provide access to REST resources using the underlying Camping route engine and controllers.

The idea was powerful yet simple, as a developer you would create a controller per resource

and specify the REST nature …

blog.monnet-usa.com Read