You are currently browsing the archives for the Websites category


Spontaneous Writing Episode II

The second episode of Spontaneous Writing is now in session continuing from this previous session. For tonight, my iTunes is happily playing songs by Tohpati in his rather old solo album. By the way, from what I’ve been trying to do the past few weeks, it seems that only when I got home will then writing moments will be abundant for my fingers. Can’t seem to do this while at the office.

Since it’s still warm and huggable, the first topic will definitely be about Urbanesia and its unprecedented outcome this past few months. Just got home from a long 2 weeks marathon at the office. I must say the last 2 weeks were one of those times when redefining moments just happen without no specific reasonings. My last piece of spontaneous writing noted December 2010 as one of those times and yet it happened again early this year.

In a more technical way, all of our preparation to ready Urbanesia for 2011 were making results faster and better than what we expected them to be. Since we are migrating every models we had to retrieve data from our newly crafted API, Sofvia our application server were flooded with a high number of locally inbound HTTP requests. Load averages soar high looking from our Munin graphs.

The most obvious reason for this to happen is because we just migrated on of our application server to Biznet’s Cloud Computing platform. We took a spin with the lowest spec available which is a 1 core, 1 GB RAM, 100 GB SAN Storage and 100 Mbps shared International Bandwidth. Freshly installed CentOS and wiped everything not needed due to the resource constraints. We knew it wouldn’t be ideal to make it a full fledged application server so instead we made it to be a full fledged proxy server for our international traffic. Geo targeted DNS with Bind was executed so the local and international is routed accordingly.

With the changes above, Googlebots scour our website like never before. Just 18 days after its premier, our stats show that in January 2011, Googlebots downloaded a whooping 217 GB worth of data from our website. The amazing thing is with nginx in our Biznet cloud server, the load average never even touched 1.0. Memory usage was also amazingly lean with no swap space at all. It’s great to know all those gigabytes of data is served by a tiny server.

With all that traffic, the strain was with Sofvia. We had to optimize a step further. This time we physically separated our CDN with our application server. It’s a bit risky for us because we didn’t have any network shared filesystem implemented yet but again because of needs, we implemented what’s necessary and to our expectations memory usages dropped significantly from Sofvia. Sofvia now has more breathing space for us to optimize. Sofvia is now purely an application server and doing only that. The migration is almost complete for Sofvia.

Enough about technicalities, now the next topic will be family. I come from a Batak family and as with any Batak family, the number one thing we Bataks have in mind is family. As I come home today, I bought my Oma 3 CDs of which she wanted me to get for her to accompany her during the long hours she was on the road everyday. For the record, she is a feisty Oma, 75 years old but never looked like she’s getting any older.

I remembered as a little boy, my Oma and Opung took me and my brothers to Singapore for the new years. Me and my Opung was exhausted after a long walk around Orchard accompanying my Oma. Yes you guessed right, my Oma was not even bothered. She couldn’t care less that we are waiting in front of one of the mall she’s entering. She is still exactly in her late age today. Everytime I got to accompany her into a mall, she will most definitely have the stronger legs! It’s a blessing for all of us that age is not an obstacle for her.

She’s the kind of person who always want to be with family no matter how bad or how destructive you are at any point of your lives. She never gave up on me when I didn’t have any job, only a freelancer and even when I have nothing to give her. An inspiring icon for me and for all of us in this big family. All she wants is for all of us to be happy and I don’t know how but she managed to get the best out of me in any situation, I guess it’s her faith in Him is glowing and automatically shines. She’s an example to follow and boy my Opung was a lucky guy!

Next up is also something close to my heart. I am blessed with great friends with every phase of my life. Wherever I am, there is always a friend I can confide and tell stories vice versa. No different today, I’m surrounded with the best persons in the startup scene. They’re not just colleagues, they are more than that and I put special care and attention to each one. Okay this is about Urbanesia (again), it’s just automatic that everything I am right now is Urbanesia, it’s part of my identity. We worked smart and hard to leverage Urbanesia.

Suffice to say, everyone is supercharged for anything that’s gonna happen next. It’s like we’re starved and the hunger is pushing everyone to the limit. Selina Limman I quote saying this: “Urbanesia is not only a professional matter, it’s personal for all of us“. In my point of view, we have successfully introduced an unlimited amount of fuel which is passion. No matter what your position is, you matter to all of us, without you, we are not complete.

The prove is when night falls. When the sun is still shining, my creativity is hindered by the amount of routinity obliging me to perform everyday. I call it nurturing so when they grow up, I can happily let go each one and empower the growth they are contributing. Coming back to the main point, at night, the usual suspects still at the office will almost certainly be me and Ridhi Mahendra. Some nights, there are others but most of it will be us and beer bottles lol.

Cutting it short, Ridhi is a marketing guy and I’m the technical guy. We discuss and measure everything. With every conclusions, we reacted instantly to respond to what the data is telling us. This I tell you is not an easy thing to do, it’s an art because how dynamic the web is. One day it can conclude to A and another day it will conclude to -A. So the challenge was to be as dynamic as possible while maintaining a high level of consistency with everything we developed.

Thanks to one of the partners at East Ventures, Willson Cuaca, we have managed to scale and metric everything. It all comes down to what you know and what you don’t know. To know what you don’t already know, we’re lucky to have shortcuts like East Ventures. However, the challenge was to experience what you don’t know and excel from it to give lessons of what to do and what not to do. It’s been a roller coaster ride honestly!

The last topic is very personal because it’s about a date I’m having tomorrow :) Since my last relationship, this will be the second date I will have with the same person I might add. Hoping for a great night tomorrow to wrap off a long and fruitful 2 weeks. We’re gonna see The Green Hornet and boy this year will be full of superheroes movies, YEAYYY!!!

Okay am not gonna talk more about this date tomorrow. It’s 1.57 AM and I’m wasted. A good night sleep on a genuine bed is what I’ve been longing. So I’m off now, thanks for reading. I’m gonna wrap things up by quoting one of my own blog post.

You are you’re own StartUP

Thoughts of Grandeur – OOPS

Okay the title is a WTF right? To be honest, this blog post is inspired by one of the earliest episode of Heroes when Nathan and his Mom told Peter that he is having illusions of grandeur. Evidently, Peter became one of the most talented and gifted mutant of them all, he figured out how to gain any power he wants without killing the subject unlike Sylar lol.

Well subjectively I must say that thinking BIG is a blessing. It gives you vision and therefore a purpose in whatever you are trying to achieve in the future. The right sense of purpose can bring you anywhere you want to be at any point in your lives. Everyone’s is welcomed to debate this point anytime :)

Now to put into perspective, building and maintaining Urbanesia almost from scratch is a BIG thing. Grandeur is a requirement for everyone involved and may I say subjectively (again), the kind of thought that our Web Developer team must have. Because of the nature of Urbanesia, it is important for each one of us developers to have a firm grasp of the bigger picture. Some things are just NOT a bargain.

This is why I imposed a new policy which is also one of the principle I withhold: LESS IS MORE! As developers, we all know our biggest enemy, it’s that thirst for doing everything efficiently. The strength of a developer and also the weakest of any. I don’t know, maybe because efficiency is interpreted differently with different developers. For me efficiency means less load and to achieve that, the codebase should be as slim as possible.

We achieved a big performance gain with our new v1.0 by streamlining the MY_Controller part of our Codeigniter Framework to less than 800 lines of codes. We love Object Oriented Programming (OOP) but we hate overusing OOP to a point where it should be abbreviated as OOPS.

For most of mid to advanced developer, OOP is a comfort zone and as with any comfort zone, it’s NOT good in the long run. Now why do I say such a BOLD statement? Because instantiating a class takes a lot of memory and CPU cycles! Codeigniter itself is a giant in disguise, it basically wraps all the MVC into one big object. This is a liability and surely you will notice heavy memory usage.

Now how do Urbanesia solve this dilemma? As I said before, Less is More and therefore make everything as simple as possible. From hundreds of controllers, we slimmed down to only 33 controllers. Why do we optimized the controllers first? That’s the million dollar question. Simple, it’s where all the logic happens, it’s where CPU cycles are heavy and most importantly by slimming down to just 33 controllers, we saved significant amount of overheads by NOT instantiating too many classes.

How about the Views you asked? Well we love views but we also hate views. Views are always generated dynamically and therefore, it’s NOT the most efficient way to display contents. Views also contains iterations and loops to display data. This is a resource hogger too. So what should we do? A lot!

First of all, cache it! Yes we love cache, without cache, Urbanesia won’t be as fast as it is right now. Disk cache is of great importance. We are building static HTML files of every dynamically generated content of Urbanesia. Now you ask why we do this when we have Memcached? Because I’d rather have Disk I/O rather than CPU Cycles. Our servers are already using the fastest SAS Harddrives available, why not make us of it to the max!

Another gem is HTML5. After Google DevFest earlier this month, the team was inspired to built an SVN like mechanism in JavaScript for visitors to fetch increments instead of the whole website. This will be a significant boost towards productivity load-wise. By only serving increments, we are projecting of cutting down more than 30-40% of the entire load. Non-HTML5 browsers are already accounted.

O yea by the way, our team of Superhero Geeks are named Betanesia, follow us @Betanesia. We are always in Beta that’s for sure. Prepping for the next innovation and optimization for Urbanesia. Just recently, we rolled out Panoramic View into Urbanesia. You can view it here.

It is amazing that in the last 3 months, Urbanesia have produced tons of achievements in terms of codes, marketing activities and overall productivity. It’s back to this blog post’s title: Thoughts of Grandeur. Each one of us has a purpose in life, a bigger one I might add and why not experience and achieve it together? Just by supporting as a direct effort to EMPOWER others, just try it, I keep getting amazed by it :p

Well it’s 7:57 AM right now and I’m thirsty for more action, I’m gonna start my Friday with a #FF on Twitter. Thanks for reading, I’m leaving you with a quote.

You’re GREAT! Get used to it!

KanalFOTO.com – Stock Photo Indonesia

This website is aimed as THE portal of Indonesian stock photos. Currently still in the process of piecing it all together. What I can tell you, it’s a purebred of OpenSource magic and Facebook will be its best friend.

A first for me to incorporate Facebook wonders with websites. My first start was Facebook Connect. The Connect feature is already live on the homepage. Although now not 100% yet, it’s a preview of what’s to come. The next step is an application.

Imexindo International

A non-profit organization focused at annihilating violance, substance abuse and drug addiction. They do their work by cooperating with various parties. From the Police, PKK Mothers, Faith Leaders, Teachers and Private Companies. Indonesia is their primary land of objectives. This organization is derrived from the founder’s conviction for what she has endured in the past.

The website was built upon WordPress and the design template was taken from OSWD.org. Please have look at their website at http://www.imexindo-intl.com

Â

www.imexindo-intl.com

www.imexindo-intl.com


photo of Batista Batista R Harahap [email protected]
Jl. Bango II/29C, Pondok Labu
Cilandak , DKI Jakarta , 12450 Indonesia
62817847023

This hCard created with the hCard creator.