Opera Talks: Opera Mini and Data Compression
By Anna RohlederAnnaMetro. Thursday, February 9, 2012 12:28:06 PM
One of the things that makes Opera Mini the world's most popular mobile browser is its ability to compress data. Of course, you know that it saves you time and money - but do you know how data compression really works?
As much as we'd like to think it's all done with a wave of a magic software wand, it turns out that data compression is not one single action so much as a set of processes that preps content from the web and makes it faster and easier to consume on your phone.
Martin Nilsson, Solution Architect for Opera Mini, explains how Opera Mini is able to serve up so much internet tastiness.
Martin, when did the idea for data compression in Opera Mini first come about?
The first project Opera worked on that involved compression of mobile data was the Opera Mobile Accelerator (editorial note: launched in 2004, this was a subscription-based service that cost EUR 12 for 3 months of service!). That project was discontinued and we started working on Opera Mini instead. The idea with Opera Mini was to make a browser for (at the time) browserless phones.
How does Opera Mini work today?
Unlike ordinary web browsers, Opera Mini fetches all content through a proxy server that reformats web pages into a format more suitable for small screens. A page is compressed, then delivered to the phone in a markup language called OBML (Opera Binary Markup Language). This compression process makes transfer time about two to three times faster and the pre-processing also increases compatibility with web pages not designed for mobile phones.
What do the servers do in terms of reformatting?
Mobile devices differ in many ways to desktop devices. Given the smaller screen size, different text handling may be used to improve readability. Also between mobile devices there are those with only numeric keyboard, those with QWERTY keyboard, with D-pad, stylus, touch etc. Many things that work on desktop don't work on mobile, especially when there is no mouse pointer to scroll frames or do mouseover actions. To solve these many small usability issues, tweaks need to be made.
What happens when the data gets compressed?
First of all, and this is very important, data compression doesn't actually help very much in terms of speed. What matters is the latency, the time from the user action until the first response is seen. Some of the primary methods for reducing latency include:
- Our own client-server protocol that keeps a connection established for sending requests. There is a 20-30% end user benefit in terms of latency.
- Since we use a single-request - single-response protocol we minimize the usage of the high latency radio network and instead fetch all the inlines, stylesheets etc. from our fast servers.
- We connect directly to some content partners like Facebook and Google, and even have other companies' web servers in our server rooms so that the latency from our transcoders relative to the volume of content is as small as possible.
There are also several different types of compression and data reduction used in Opera Mini.
- The servers keep information about the clients, so this information only needs to be sent from the client to the server once, instead of in every request.
- Cookies are managed entirely on the server side, so that data never have to go back and forth at all.
- Images are scaled to better fit the display size of the device to make them as size efficient as possible while making the resulting web page as good looking as the end user quality settings permit.
Finally, the resulting data is compressed in different ways. Normally we send text first, followed by links, essential layout elements and finally all graphics. We focus also on sending data where the user will start reading before other parts of the page.
Given that all the data has to pass through Opera's servers, what about security issues?
Opera Mini is like a desktop computer. The browser sits in the computer while the user looks at the screen. In Opera Mini the browser sits on our servers while the user is looking at the page in their handset. We know that the success of Opera Mini depends on us being able to run the servers securely. So far we have not had any incidents.
Are Opera Mini servers all in Norway?
There are some in Norway, but we have servers at multiple locations, where it makes sense from an economic and performance perspective. One example is our Iceland data center, which sits right between US and Europe, and benefits from geothermal energy.


1 2 Next »
Coyotee # Thursday, February 9, 2012 3:32:02 PM
Tamil # Thursday, February 9, 2012 3:47:37 PM
d4rkn1ght # Thursday, February 9, 2012 4:08:35 PM
Sam Van den VonderHuRRaCaNe # Thursday, February 9, 2012 4:56:32 PM
Charles SchlossChas4 # Thursday, February 9, 2012 5:10:39 PM
Nimesh nimeshthakkar # Thursday, February 9, 2012 6:04:12 PM
What information is captured from users side?
And what kinds of testing has been done to ensure security of users data?
praetor87 # Thursday, February 9, 2012 6:51:43 PM
Tom RondelloFrlmnk # Thursday, February 9, 2012 7:44:16 PM
Some things are way more difficult than counting jewels.
Sincerely,
One little kid at
Chirpie # Thursday, February 9, 2012 8:52:58 PM
Originally posted by HuRRaCaNe:
That didn't work for Bolt or Skyfire. Both of them tried video compression. Bolt is now gone, and Skyfire charges you if you want to view videos.It's just too expensive to compress videos.
Omorogievapaul02@yahoo.comscoutpaul # Thursday, February 9, 2012 9:52:59 PM
OuttaControlCRO # Friday, February 10, 2012 12:59:55 AM
ZuritaMarduk # Friday, February 10, 2012 1:06:19 AM
Phillip Robert O'Conner wii4little # Friday, February 10, 2012 1:13:49 AM
Pettyngash # Friday, February 10, 2012 1:59:02 AM
Sam Van den VonderHuRRaCaNe # Friday, February 10, 2012 2:14:28 AM
Originally posted by Chirpie:
That's why they need to find a way to make this technically and monetarily possible. They'll be the only one to reliably provide the service. Though it's most likely not practical at all to do this.Alf Redalfredic # Friday, February 10, 2012 4:37:50 AM
akamaru9590 # Friday, February 10, 2012 5:54:32 AM
Daniel BandaChiyembekezo25 # Friday, February 10, 2012 6:51:55 AM
Sami Serolaserola # Friday, February 10, 2012 7:47:23 AM
Sami Serolaserola # Friday, February 10, 2012 7:51:48 AM
Originally posted by akamaru9590:
Go to Opera Mini forum to ask it again and mention what device you have.
http://my.opera.com/community/forums/forum.dml?id=111
Although, I think the problem is with your phone's download manager, not with Opera Mini.
Aleksander AasAleksander # Friday, February 10, 2012 8:27:14 AM
orphinsit # Friday, February 10, 2012 9:33:24 AM
Hayathhayathms # Friday, February 10, 2012 11:16:20 AM
nimbuzz loginnimbuzz-login # Friday, February 10, 2012 11:31:35 AM
Vasilis Ilioglouvas35 # Friday, February 10, 2012 2:48:51 PM
darlene costa barbosadarlenegata # Friday, February 10, 2012 6:22:51 PM
mostafamostafasamka # Sunday, February 12, 2012 1:48:39 AM
NakTT De Malizinaktt # Sunday, February 12, 2012 3:41:40 AM
beckersubecker # Sunday, February 12, 2012 7:13:13 AM
Soumitrasoumitram4u # Sunday, February 12, 2012 8:13:50 AM
darlene costa barbosadarlenegata # Sunday, February 12, 2012 5:47:51 PM
darlene costa barbosadarlenegata # Sunday, February 12, 2012 5:48:58 PM
Thomas o.AddyThoski # Sunday, February 12, 2012 7:55:45 PM
mostafamostafasamka # Sunday, February 12, 2012 11:36:47 PM
The Lodge Shopthelodgeshop # Monday, February 13, 2012 5:25:20 PM
philanimaphila # Wednesday, February 15, 2012 12:16:21 PM
edi temposetempos # Wednesday, February 15, 2012 12:23:02 PM
vidadebandido # Thursday, February 16, 2012 1:45:22 PM
Maria V. Brunojustvalery # Thursday, February 16, 2012 2:16:40 PM
I don't have flash in my phone, if I enter in YouTube on my phone, it's only to remember some name at that moment...
PRAMOD ROHILLApramodrohilla # Thursday, February 16, 2012 3:05:50 PM
alvrtinknzvl # Friday, February 17, 2012 3:13:28 AM
inknzvl
Julianjjsl6 # Friday, February 17, 2012 7:43:36 AM
Originally posted by inknzvl:
And who cares about you foul-mouthed troll? , anybody forces you to use Opera, you're free to give your being to Apple, here there is only place for constructive feedback no for impolite fanboys.
Julianjjsl6 # Friday, February 17, 2012 7:45:11 AM
Originally posted by Aleksander:
Wold be great some articles of the next list:
Well that are all my suggestions, hope this helps.
Julianjjsl6 # Friday, February 17, 2012 7:45:43 AM
Spanish translation published in Opera Español:
http://my.opera.com/espanol/blog/2012/02/17/opera-nos-cuenta-opera-mini-y-la-compresion-de-datosAnna RohlederAnnaMetro # Friday, February 17, 2012 8:12:09 AM
Originally posted by jjsl6:
Gracias, Julian!MD. KAMAL UDDIN HAWLADARmkuh007 # Friday, February 17, 2012 7:19:01 PM
MD. KAMAL UDDIN HAWLADARmkuh007 # Friday, February 17, 2012 7:20:27 PM
Derek Knoppderekknopp # Saturday, February 18, 2012 3:43:03 AM
mangwirothemba # Saturday, February 18, 2012 5:00:55 PM
Tinashe Mazhawidzatinmazh # Sunday, February 19, 2012 2:49:21 PM