forked from mcastilho/marcio.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
170 lines (95 loc) · 5.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<meta name="generator" content="Hugo 0.16" />
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<meta property="og:title" content="rafaelcapucho.com" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://rafaelcapucho.github.io/" />
<title> rafaelcapucho.com </title>
<link href="https://rafaelcapucho.github.io/index.xml" rel="alternate" type="application/rss+xml" title="rafaelcapucho.com" />
<link href="https://rafaelcapucho.github.io/index.xml" rel="feed" type="application/rss+xml" title="rafaelcapucho.com" />
<link rel="stylesheet" href="/css/monokai.css">
<script src="/js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<link rel="stylesheet" href="https://rafaelcapucho.github.io/css/poole.css">
<link rel="stylesheet" href="https://rafaelcapucho.github.io/css/syntax.css">
<link rel="stylesheet" href="https://rafaelcapucho.github.io/css/hyde.css">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="/favicon.ico">
<link href="https://rafaelcapucho.github.io/index.xml" rel="alternate" type="application/rss+xml" title="rafaelcapucho.com" />
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Raleway:400,300' rel='stylesheet' type='text/css'>
<script src="//ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js"></script>
<script>
WebFont.load({
google: {
families: ['Raleway']
}
});
</script>
</head>
<body>
<div class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-about">
<h1 class="brand"><a href="https://rafaelcapucho.github.io">rafaelcapucho.com</a></h1>
<p class="lead">
be welcome
</p>
</div>
<ul class="sidebar-nav">
<li><a href="https://rafaelcapucho.github.io/blog">Posts</a></li>
<li><a href="/about/">About me </a></li>
<br>
<li><small>My main open source project:</small></li>
<li><a href="http://github.com/rafaelcapucho/scrapy-eagle" target="_blank"><i class="fa fa-github-square"></i> Scrapy-Eagle</a></li>
</ul>
<a href="https://linkedin.com/in/rafaelcapucho" target="_blank"><i class="fa fa-linkedin-square"></i></a>
<a href="https://github.com/rafaelcapucho" target="_blank"><i class="fa fa-github-square"></i></a>
<p class="footnote">powered by <a href="http://hugo.spf13.com" target="_blank">Hugo</a> <br><br>
© 2017 Rafael Capucho.<br>All rights reserved.</p>
</div>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-9153202-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');
ga.src = ('https:' == document.location.protocol ? 'https://ssl' :
'http://www') + '.google-analytics.com/ga.js';
ga.setAttribute('async', 'true');
document.documentElement.firstChild.appendChild(ga);
})();
</script>
<div class="content container">
<div class="posts">
<div class="post">
<h1 class="post-title">
<a href="https://rafaelcapucho.github.io/2016/10/enhance-the-quality-of-your-api-calls-with-client-side-throttling/">
Enhance the quality of your API calls with Client-Side Throttling
</a>
</h1>
<span class="post-date">Oct 2, 2016</span>
If you are a backend engineer and work with high load environment you should be familiarized with the old Server-Side Rate Limit, mainly for security concerns. Didn’t you ever heard about Server-Side Rate Limit? It is a technique to limit the amount of requests that the server or API can handle in a defined period of time, and that limit can be set per user or not. Throttling is often used to limiting traffic on the server, mainly as a way to protect against DOS Attack.
<a href="/2016/10/enhance-the-quality-of-your-api-calls-with-client-side-throttling/">Read More…</a>
</div>
<div class="post">
<h1 class="post-title">
<a href="https://rafaelcapucho.github.io/2016/09/speeding-up-your-mongodb-queries-up-to-30-times-with-tornado/">
Speeding up your MongoDB queries up to 30 times with Tornado
</a>
</h1>
<span class="post-date">Sep 5, 2016</span>
Sometime ago, I was facing a problem using MongoDB to perform heavy operations like Aggregations over a considerable amount of documents. Fortunately, most of them were repeating, like when your projects are fetching contents from database to make the same menu structure, it doesn’t change every second. We already know how is the recipe to solve that: Cache it. I was using Tornado and it’s common to use Motor to perform async database operations over MongoDB.
<a href="/2016/09/speeding-up-your-mongodb-queries-up-to-30-times-with-tornado/">Read More…</a>
</div>
</div>
</body>
</html>