by mrsirduke on 6/18/15, 1:22 PM with 23 comments
by StevePerkins on 6/18/15, 9:34 PM
https://en.wikipedia.org/wiki/Gor
https://www.google.com/search?q=gor&biw=1920&bih=947&source=...
by tmd83 on 6/19/15, 9:02 AM
But what I have always wanted to know how people actually use these properly. There are two problems that I see in replicating production traffic to staging/dev
1. Changes in application structure url/parameter. I think given the change we make per release, we will get a lot of error. How to gracefully handle that?
2. Our application is write heavy so there is a lot of new content. So the majority of the requests will access content s that don't exists in the staging/dev environment. We can't even use live replication of DB either since we usually have a lot of DB changes also.
One solution I can think of is record today's traffic. Take a DB snapshot at the end of the day, replicate DB, run migration and then replay. Still has to deal with app change. Am I missing something or this is really challenging. I can see how this will perfectly work though for infrastructure change like server software or configuration.
On a side note of the blue/green deployment. Theoretically the reversible DB migration/parallel deployments of old-new version sounds good. But how many people can make this possible? Does most app has little DB changes from release to release. I will hazard a guess that if we try to implement such things the cost of such complexity will easily overshadow the actual changes to the app and most likely add severe risk of bug. But people seem to be doing it, again not sure what I'm missing.
by laumars on 6/18/15, 10:44 PM
And previous discussion: https://news.ycombinator.com/item?id=5824387
by atom_enger on 6/19/15, 1:21 AM
Gor is awesome!
by fweespeech on 6/18/15, 8:29 PM
by Thaxll on 6/18/15, 9:11 PM
by needcaffeine on 6/19/15, 12:39 AM
Thanks for this!
by gouggoug on 6/18/15, 8:49 PM
As a side note, however, I would recommend anybody to not blindly apply the "Tuning" section (at the bottom of the readme) to their system. More specifically, net.ipv4.tcp_tw_recycle and net.ipv4.tcp_tw_reuse are notorious for causing problems if mis-used.
by suchitpuri on 6/19/15, 11:15 AM
Gor looks promising
by mrsirduke on 6/19/15, 6:12 AM
If you know of any tools like gor, I'd very much like to know of them.
by LeonidBugaev on 6/19/15, 2:59 AM
by room271 on 6/19/15, 9:00 AM