Technology

How to Reduce the Number of Druid Segments?

We have been using Druid in our project for a while and had shared our experiences during GIDS. It has given us great results as it powers our real-time dashboards, reports on running Ad campaigns and provides real-time data to make quick decisions. But like any other databases there will be times when it needs to be optimized. This is...

by Aseem Bansal
Tag: optimization
15-Dec-2016

Technology

Common Misconceptions About Video Metadata

Before landing you to the Common Misconceptions about Video Metadata, let me first give you a little brief about what Video Metadata actually is. Commonly heard from YouTube and video experts, this can be simply defined as achieving 'data from data'. Yes! When we talk about videos, it becomes a challenge for one to spread the produced...

by Anusha Chhetry
Tag: optimization
06-Oct-2015

Technology

Unbelievable YouTube Success Stories

YouTube was not always YouTube without the unbelievable success stories of its users. Started in 2005, YouTube is becoming more popular as the ultimate website for watching videos. Regular users who would otherwise have kept themselves anonymous are now finding fame by uploading videos, just like the way teen icon Justin Bieber...

by Panchi Baruah
Tag: optimization
22-Sep-2015

Technology

How to Create an Awesome Thumbnail for YouTube

Working on YouTube is fun! Not only limited to video-sharing, YouTube includes video clips, TV clips, music videos, and other content such as video blogging, short videos, and educational videos. Yes, you do the uploading and sharing of your content, but is that all? How is it that you will market your content for the rest of the people?...

by Panchi Baruah
Tag: optimization
29-Jul-2015

Technology

10 Ultimate Ways to Optimize Your Videos on YouTube

  YouTube being the second-largest search engine, it owns the most videos shared and watched within social networks like Facebook and Twitter. YouTube has over 4 billion videos being viewed every single day and has 60 hours of video being uploaded every minute. When it comes to the video market, YouTube is the biggest giant! A...

by Vritika Shrivastava
Tag: optimization
29-Jul-2015

Grails, Technology

When details in principal object of spring security are not sufficient

Sometimes we need to access details of current logged in user but that will be an additional database query. To save that query we can use principal object of Spring security which provides details of logged in user . But by default principal object have few fields like id, username and password. If we need to access user's name /...

by Lovin Saini
Tag: optimization
24-Jul-2015

Grails

Redis: Heavyweight Tags – an awesome use-case for caching with Redis

Redis plugin provides a beautiful way to cache the html tags. Using this plugin we can make big savings on the time taken to render the gsp tags. [java] <redis:memoize key="someKey" expire="3600" > //Some heavy weight tags rendering // Lots of db / network operations. </redis:memoize> ...

by Mohd Farid
Tag: optimization
25-Sep-2012

Grails

A use case of Bitwise AND

Recently, I used bitwise Anding in my grails project. I am sharing the approach that we followed by means of an example. Suppose we have a domain class Person which can have multiple attributes like Smart, Intelligent, Talkative etc. What sort of relationship comes to our mind when we see this? I believe the obvious answer would...

by Mohd Farid
Tag: optimization
15-Apr-2011

Grails

Using Groovy MOP and Closure to prevent expression evaluation in logger.debug()

Generally in our code, we have lots of debug statements that prints the intricate details of the state of the program. Infact, the debug statements are meant for doing this. Sometimes, these debug statements may contain a call to some other method to evaluate what is to be logged. [java] //Logging statement calling some function to...

by Mohd Farid
Tag: optimization
13-Dec-2010