Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
golang at m.elcolombiano.com
Search
Juan Felipe Alvarez Saldarriaga
September 03, 2015
Programming
0
51
golang at m.elcolombiano.com
Juan Felipe Alvarez Saldarriaga
September 03, 2015
Tweet
Share
More Decks by Juan Felipe Alvarez Saldarriaga
See All by Juan Felipe Alvarez Saldarriaga
UI Tests con Espresso
nebiros
0
67
Aplicaciones Cocoa Touch con Swift 2
nebiros
1
55
Appcelerator's Titanium, native apps via JavaScript
nebiros
0
51
Apache Cordova or best called PhoneGap
nebiros
0
38
Other Decks in Programming
See All in Programming
SRE、開発、QAが協業して挑んだリリースプロセス改革@SRE Kaigi 2025
nealle
3
4.1k
GitHub Actions × RAGでコードレビューの検証の結果
sho_000
0
240
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
210
ファインディの テックブログ爆誕までの軌跡
starfish719
2
1.1k
Honoとフロントエンドの 型安全性について
yodaka
4
250
知られざるDMMデータエンジニアの生態 〜かつてツチノコと呼ばれし者〜
takaha4k
4
1.3k
ARA Ansible for the teams
kksat
0
150
お前もAI鬼にならないか?👹Bolt & Cursor & Supabase & Vercelで人間をやめるぞ、ジョジョー!👺
taishiyade
5
3.8k
密集、ドキュメントのコロケーション with AWS Lambda
satoshi256kbyte
0
170
自分ひとりから始められる生産性向上の取り組み #でぃーぷらすオオサカ
irof
8
2.6k
ASP. NET CoreにおけるWebAPIの最新情報
tomokusaba
0
360
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
1
170
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
Practical Orchestrator
shlominoach
186
10k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
The Invisible Side of Design
smashingmag
299
50k
Adopting Sorbet at Scale
ufuk
74
9.2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Music & Morning Musume
bryan
46
6.3k
Facilitating Awesome Meetings
lara
51
6.2k
Transcript
golang at m.elcolombiano.com Juan Felipe Alvarez Saldarriaga @nebiros
Software engineer at @ride I'm in the iOS Team, YAY!,
;-)
What is m.elcolombiano.com? A mobile website made in PHP. Reads
RSS feeds. Last month they had like 2.791.914 page views. elcolombiano.com
How it works? A background process run every X time.
This program get feeds from and process each one, also, it saves that information into a DB. The program is made in PHP. elcolombiano.com golang fits in here!
None
Rewriting a PHP program into golang… The PHP program is
OOP. All models and business logic is in PHP too. Project structure is totally different.
SHOW ME THA CODE!
And… voilà! sindyk-feeds-reader
Some stupid numbers…
PHP ✔ ~/Drive/Projects/elcolombiano-mobile-ng/bin [master|✚ 3…1] 08:14 $ APPLICATION_ENV=development time php
worker.php real 54.74 user 0.45 sys 0.19
golang ✘-1 ~/Drive/Projects/GoLang/src/github.com/nebiros/sindyk-feeds-reader [master|…2] 08:33 $ time go run main/sindyk-feeds-reader.go
-dbname elcolombiano-mobile_development real 0m8.783s user 0m2.597s sys 0m0.838s
Simple is better… Dig into other golang projects at github.
Start moving small chunks of code into golang. Stop thinking in OOP. Look first in the standard library. Avoid too much dependencies.
Thank you! Juan Felipe Alvarez Saldarriaga
[email protected]
@nebiros